@alfadocs/ui-kit 1.113.0 → 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 (192) 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-CaZm5wGR.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/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
  17. package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
  18. package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
  19. package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
  20. package/dist/_chunks/{forgot-password-form-YQVzSskq.js → forgot-password-form-Bc_UPax6.js} +2 -2
  21. package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
  22. package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
  23. package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
  24. package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
  25. package/dist/_chunks/{login-dev-card-B6-zCFq3.js → login-dev-card-D7orCfJT.js} +2 -2
  26. package/dist/_chunks/map-view-Bny79cWa.js +856 -0
  27. package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
  28. package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
  29. package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
  30. package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
  31. package/dist/_chunks/{patient-details-RsT3SaYh.js → patient-details-DdtXBNjt.js} +2 -2
  32. package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
  33. package/dist/_chunks/{patient-summary-card-BjZErlbt.js → patient-summary-card-CGHz-Bvm.js} +2 -2
  34. package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
  35. package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
  36. package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
  37. package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
  38. package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
  39. package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
  40. package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
  41. package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
  42. package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
  43. package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
  44. package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
  45. package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
  46. package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
  47. package/dist/_chunks/{registration-form-Cq5_OSIL.js → registration-form-Lw9T7IXr.js} +2 -2
  48. package/dist/_chunks/{reserved.agent-BMkapgom.js → reserved.agent-D2jwJPac.js} +21 -31
  49. package/dist/_chunks/{reset-password-form-BVsL2fOJ.js → reset-password-form-C93SH0Tx.js} +2 -2
  50. package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
  51. package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
  52. package/dist/_chunks/{send-registration-link-form-OgPomrZN.js → send-registration-link-form-DfbTjrEK.js} +2 -2
  53. package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
  54. package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
  55. package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
  56. package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
  57. package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
  58. package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
  59. package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
  60. package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
  61. package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
  62. package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
  63. package/dist/agent-catalog.json +6 -6
  64. package/dist/agent-i18n/en.json +2 -2
  65. package/dist/components/_shared/motion-is-off.d.ts +7 -0
  66. package/dist/components/anamnesis-card/index.js +1 -1
  67. package/dist/components/anamnesis-summary-card/index.js +1 -1
  68. package/dist/components/appointment-details-panel/index.js +1 -1
  69. package/dist/components/bishop-score/index.js +1 -1
  70. package/dist/components/bmi-calculator/index.js +1 -1
  71. package/dist/components/booking/index.js +1 -1
  72. package/dist/components/booking/step-focus.d.ts +0 -6
  73. package/dist/components/card/index.js +1 -1
  74. package/dist/components/clinical-note-card/index.js +1 -1
  75. package/dist/components/connection-status/index.js +1 -1
  76. package/dist/components/contact-card/index.js +1 -1
  77. package/dist/components/contact-profile-card/index.js +1 -1
  78. package/dist/components/cycle-calculator/index.js +1 -1
  79. package/dist/components/document-preview/index.js +1 -1
  80. package/dist/components/due-date-calculator/index.js +2 -2
  81. package/dist/components/entity-summary/index.js +1 -1
  82. package/dist/components/face-scheme/index.js +1 -1
  83. package/dist/components/fetal-weight/index.js +1 -1
  84. package/dist/components/finished-terminal/index.js +1 -1
  85. package/dist/components/gestational-age-calculator/index.js +1 -1
  86. package/dist/components/hcg-doubling/index.js +1 -1
  87. package/dist/components/heatmap/index.js +1 -1
  88. package/dist/components/map-view/index.js +1 -1
  89. package/dist/components/map-view/map-view.d.ts +16 -0
  90. package/dist/components/notes-panel/index.js +1 -1
  91. package/dist/components/operator-hero/index.js +1 -1
  92. package/dist/components/patient-details/index.js +1 -1
  93. package/dist/components/patient-search/index.js +1 -1
  94. package/dist/components/patient-search/patient-search.d.ts +6 -2
  95. package/dist/components/patient-summary-card/index.js +1 -1
  96. package/dist/components/payment-card/index.js +1 -1
  97. package/dist/components/periodontal-chart/index.js +1 -1
  98. package/dist/components/periodontal-chart-card/index.js +1 -1
  99. package/dist/components/periodontal-diagnosis/index.js +1 -1
  100. package/dist/components/periodontal-risk-chart/index.js +1 -1
  101. package/dist/components/practice-profile-hero/index.js +1 -1
  102. package/dist/components/practice-results/index.js +1 -1
  103. package/dist/components/practice-results/practice-results.d.ts +15 -2
  104. package/dist/components/pregnancy-dating/index.js +1 -1
  105. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  106. package/dist/components/public-footer/index.js +1 -1
  107. package/dist/components/public-footer/public-footer.d.ts +23 -0
  108. package/dist/components/public-header/index.js +1 -1
  109. package/dist/components/public-header/public-header.d.ts +7 -0
  110. package/dist/components/reviews-panel/index.js +1 -1
  111. package/dist/components/rich-text-editor/index.js +1 -1
  112. package/dist/components/section-card/index.js +1 -1
  113. package/dist/components/stat/index.js +1 -1
  114. package/dist/components/stat/stat.d.ts +7 -0
  115. package/dist/components/task-card/index.js +1 -1
  116. package/dist/components/task-editor/index.js +1 -1
  117. package/dist/components/task-tray/index.js +1 -1
  118. package/dist/components/tasks-panel/index.js +1 -1
  119. package/dist/components/timeline/index.js +1 -1
  120. package/dist/components/workflow/index.js +1 -1
  121. package/dist/core.css +1 -1
  122. package/dist/host-compat.css +4 -1
  123. package/dist/i18n/locales/ar.d.ts +1 -0
  124. package/dist/i18n/locales/ar.js +2 -1
  125. package/dist/i18n/locales/de.d.ts +1 -0
  126. package/dist/i18n/locales/de.js +2 -1
  127. package/dist/i18n/locales/el.d.ts +1 -0
  128. package/dist/i18n/locales/el.js +2 -1
  129. package/dist/i18n/locales/en.d.ts +1 -0
  130. package/dist/i18n/locales/en.js +1 -0
  131. package/dist/i18n/locales/es.d.ts +1 -0
  132. package/dist/i18n/locales/es.js +2 -1
  133. package/dist/i18n/locales/fr.d.ts +1 -0
  134. package/dist/i18n/locales/fr.js +2 -1
  135. package/dist/i18n/locales/hi.d.ts +1 -0
  136. package/dist/i18n/locales/hi.js +2 -1
  137. package/dist/i18n/locales/it.d.ts +1 -0
  138. package/dist/i18n/locales/it.js +2 -1
  139. package/dist/i18n/locales/ja.d.ts +1 -0
  140. package/dist/i18n/locales/ja.js +2 -1
  141. package/dist/i18n/locales/nl.d.ts +1 -0
  142. package/dist/i18n/locales/nl.js +2 -1
  143. package/dist/i18n/locales/pl.d.ts +1 -0
  144. package/dist/i18n/locales/pl.js +2 -1
  145. package/dist/i18n/locales/pt.d.ts +1 -0
  146. package/dist/i18n/locales/pt.js +2 -1
  147. package/dist/i18n/locales/ro.d.ts +1 -0
  148. package/dist/i18n/locales/ro.js +2 -1
  149. package/dist/i18n/locales/ru.d.ts +1 -0
  150. package/dist/i18n/locales/ru.js +2 -1
  151. package/dist/i18n/locales/sq.d.ts +1 -0
  152. package/dist/i18n/locales/sq.js +2 -1
  153. package/dist/i18n/locales/sv.d.ts +1 -0
  154. package/dist/i18n/locales/sv.js +2 -1
  155. package/dist/i18n/locales/tr.d.ts +1 -0
  156. package/dist/i18n/locales/tr.js +2 -1
  157. package/dist/i18n/locales/zh.d.ts +1 -0
  158. package/dist/i18n/locales/zh.js +2 -1
  159. package/dist/index.js +60 -60
  160. package/dist/locales/ar.json +2 -1
  161. package/dist/locales/de.json +2 -1
  162. package/dist/locales/el.json +2 -1
  163. package/dist/locales/en.json +1 -0
  164. package/dist/locales/es.json +2 -1
  165. package/dist/locales/fr.json +2 -1
  166. package/dist/locales/hi.json +2 -1
  167. package/dist/locales/it.json +2 -1
  168. package/dist/locales/ja.json +2 -1
  169. package/dist/locales/nl.json +2 -1
  170. package/dist/locales/pl.json +2 -1
  171. package/dist/locales/pt.json +2 -1
  172. package/dist/locales/ro.json +2 -1
  173. package/dist/locales/ru.json +2 -1
  174. package/dist/locales/sq.json +2 -1
  175. package/dist/locales/sv.json +2 -1
  176. package/dist/locales/tr.json +2 -1
  177. package/dist/locales/zh.json +2 -1
  178. package/dist/patterns/anamnesis/index.js +1 -1
  179. package/dist/patterns/calendar/index.js +1 -1
  180. package/dist/patterns/forgot-password-form/index.js +1 -1
  181. package/dist/patterns/login-form/index.js +1 -1
  182. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  183. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  184. package/dist/patterns/registration-form/index.js +1 -1
  185. package/dist/patterns/reset-password-form/index.js +1 -1
  186. package/dist/patterns/send-registration-link-form/index.js +1 -1
  187. package/dist/patterns/signed-out-frame/index.js +1 -1
  188. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  189. package/dist/tokens.css +1 -1
  190. package/package.json +1 -1
  191. package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
  192. package/dist/_chunks/practice-results-BByRCIuR.js +0 -1977
@@ -5,7 +5,7 @@ import { c as p } from "./index-D2ZczOXr.js";
5
5
  import { A as q } from "./app-frame-DUPEwu4E.js";
6
6
  import { A as F } from "./avatar-Dp5apm1d.js";
7
7
  import { A as be } from "./alert-C4WKViaS.js";
8
- import { C as U } from "./card-C85_Ndhb.js";
8
+ import { C as U } from "./card-DVO3x8E-.js";
9
9
  import { D as u } from "./dropdown-menu-CqxBthww.js";
10
10
  import { T as ke } from "./tab-bar-C_pggqVr.js";
11
11
  import { a as Y, H as we, g as Ne, f as G, e as ye, c as Se, d as Ce } from "./header-l_B8MV0g.js";
@@ -656,4 +656,4 @@ export {
656
656
  na as M,
657
657
  y as P
658
658
  };
659
- //# sourceMappingURL=marketplace-app-shell-C-4QF6mp.js.map
659
+ //# sourceMappingURL=marketplace-app-shell-CPNVBVLH.js.map
@@ -0,0 +1,15 @@
1
+ function n(e) {
2
+ if (typeof window > "u") return !1;
3
+ if (typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches)
4
+ return !0;
5
+ if (!e) return !1;
6
+ if (e.closest(".theme-accessible")) return !0;
7
+ const t = getComputedStyle(e).getPropertyValue(
8
+ "--animation-duration"
9
+ );
10
+ return t.trim() !== "" && parseFloat(t) === 0;
11
+ }
12
+ export {
13
+ n as m
14
+ };
15
+ //# sourceMappingURL=motion-is-off-BvAuNV5O.js.map
@@ -4,7 +4,7 @@ import { c as Et } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as kn } from "react-i18next";
5
5
  import { g as mt, h as Rt } from "./handled-rejection-6gqCf5vt.js";
6
6
  import { u as zn } from "./registry-DvAUVLHh.js";
7
- import { C as Hn } from "./clinical-note-card-BVkxGiGl.js";
7
+ import { C as Hn } from "./clinical-note-card-Zz5_GEz-.js";
8
8
  import { R as Mn } from "./rich-text-editor-BLS2cK-u.js";
9
9
  import { T as Wn } from "./text-area-COMVJ1yE.js";
10
10
  import { A as j } from "./alert-C4WKViaS.js";
@@ -12,7 +12,7 @@ import { B as te } from "./button-DohK_Ak_.js";
12
12
  import { I as vt } from "./icon-button-S8_weU3g.js";
13
13
  import { S as $n } from "./switch-DO6uC4HJ.js";
14
14
  import { T as Bn } from "./tooltip-uEBdD1-5.js";
15
- import { C as yt } from "./card-C85_Ndhb.js";
15
+ import { C as yt } from "./card-DVO3x8E-.js";
16
16
  import { C as Kn, S as ve } from "./skeleton-tTWJpvAq.js";
17
17
  import { D as L } from "./dialog-BTjSQjdY.js";
18
18
  import { P as In } from "./panel-header-CbtlTe85.js";
@@ -1109,4 +1109,4 @@ const jr = qn(
1109
1109
  export {
1110
1110
  jr as N
1111
1111
  };
1112
- //# sourceMappingURL=notes-panel-Cz621DWV.js.map
1112
+ //# sourceMappingURL=notes-panel-DXMTObBv.js.map
@@ -4,12 +4,12 @@ import { c as I } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as T } from "react-i18next";
5
5
  import { A as V } from "./avatar-Dp5apm1d.js";
6
6
  import { B } from "./badge-BUk4RjTS.js";
7
- import { C as K } from "./card-C85_Ndhb.js";
7
+ import { C as K } from "./card-DVO3x8E-.js";
8
8
  import { R as S } from "./rating-CGYpg5dj.js";
9
- import { f as E } from "./format-number-DdzqwMs1.js";
10
- import { u as M } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
- import { u as W } from "./registry-DvAUVLHh.js";
12
- import { c as $ } from "./entity-card-fpm-KUKc.js";
9
+ import { f as $ } from "./format-number-DdzqwMs1.js";
10
+ import { u as E } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
11
+ import { u as M } from "./registry-DvAUVLHh.js";
12
+ import { c as W } from "./entity-card-fpm-KUKc.js";
13
13
  const q = {
14
14
  id: "operator-hero",
15
15
  // Purely observable hero region — no interactive affordances and no
@@ -22,13 +22,13 @@ const q = {
22
22
  type: "string",
23
23
  descriptionKey: "ui.agent.operatorHero.state.name",
24
24
  description: "Operator display name currently rendered.",
25
- read: (o) => o.getName()
25
+ read: (r) => r.getName()
26
26
  },
27
27
  hasColor: {
28
28
  type: "boolean",
29
29
  descriptionKey: "ui.agent.operatorHero.state.hasColor",
30
30
  description: "Whether a calendar-colour identity dot is rendered. Structural flag only — never the colour id or any PHI.",
31
- read: (o) => o.getHasColor()
31
+ read: (r) => r.getHasColor()
32
32
  }
33
33
  },
34
34
  actions: {},
@@ -67,85 +67,94 @@ const q = {
67
67
  }
68
68
  }), F = P(
69
69
  ({
70
- name: o,
71
- colorId: l,
72
- tagline: p,
73
- imageUrl: x,
74
- imageAlt: b,
70
+ name: r,
71
+ colorId: d,
72
+ tagline: m,
73
+ imageUrl: b,
74
+ imageAlt: y,
75
75
  rating: a,
76
76
  badges: i,
77
- actionSlot: m,
78
- density: r = "comfortable",
79
- surface: f = "elevated",
80
- "aria-label": y,
77
+ actionSlot: f,
78
+ density: o = "comfortable",
79
+ surface: u = "elevated",
80
+ "aria-label": N,
81
81
  id: n,
82
- className: N,
83
- ...H
84
- }, w) => {
85
- const { t: c, i18n: C } = T("ui"), u = z(), k = y ?? c("operatorHero.regionLabel"), d = l != null, v = j(null);
86
- W(
82
+ className: H,
83
+ ...w
84
+ }, C) => {
85
+ const { t: c, i18n: k } = T("ui"), p = z(), R = N ?? c("operatorHero.regionLabel"), l = d != null, v = j(null);
86
+ M(
87
87
  q,
88
- { getName: () => o, getHasColor: () => d },
88
+ { getName: () => r, getHasColor: () => l },
89
89
  n
90
- ), M(() => {
90
+ ), E(() => {
91
91
  const s = v.current;
92
- s && (d ? s.style.setProperty("--operator-hero-color", $(l)) : s.style.removeProperty("--operator-hero-color"));
93
- }, [d, l]);
94
- const h = a ? E(a.value, C.language) : void 0, R = a ? c("operatorHero.ratingLabel", {
92
+ s && (l ? s.style.setProperty("--operator-hero-color", W(d)) : s.style.removeProperty("--operator-hero-color"));
93
+ }, [l, d]);
94
+ const h = a ? $(a.value, k.language) : void 0, L = a ? c("operatorHero.ratingLabel", {
95
95
  value: h,
96
96
  count: a.count
97
- }) : void 0, L = r === "comfortable" ? "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", A = r === "comfortable" ? "2xl" : "xl", O = r === "comfortable" ? "type-title-page" : "type-title-card", g = /* @__PURE__ */ t(
97
+ }) : void 0, A = o === "comfortable" ? "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", O = o === "comfortable" ? "2xl" : "xl", g = o === "comfortable" ? "type-title-page" : "type-title-card", x = /* @__PURE__ */ t(
98
98
  "div",
99
99
  {
100
100
  className: [
101
101
  "ds:flex ds:items-start ds:gap-[var(--spacing-lg)]",
102
- L,
102
+ A,
103
103
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
104
104
  ].join(" "),
105
105
  children: [
106
106
  /* @__PURE__ */ e(
107
107
  V,
108
108
  {
109
- size: A,
109
+ size: O,
110
110
  shape: "rounded",
111
111
  ratio: "3:4",
112
- width: r === "comfortable" ? 96 : 48,
113
- height: r === "comfortable" ? 128 : 64,
114
- name: o,
115
- src: x,
116
- alt: b,
112
+ width: o === "comfortable" ? 96 : 48,
113
+ height: o === "comfortable" ? 128 : 64,
114
+ name: r,
115
+ src: b,
116
+ alt: y,
117
117
  className: "ds:shrink-0"
118
118
  }
119
119
  ),
120
120
  /* @__PURE__ */ t("div", { className: "ds:@container/ohero ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
121
121
  /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)] ds:@[480px]/ohero:flex-row ds:@[480px]/ohero:flex-nowrap ds:@[480px]/ohero:gap-[var(--spacing-md)]", children: [
122
- /* @__PURE__ */ t(
122
+ l ? /* @__PURE__ */ t("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:@[480px]/ohero:min-w-0 ds:@[480px]/ohero:flex-1", children: [
123
+ /* @__PURE__ */ e(
124
+ "span",
125
+ {
126
+ ref: v,
127
+ role: "img",
128
+ "aria-label": c("operatorHero.colorLabel", "Calendar colour"),
129
+ className: "ds:inline-block ds:size-[var(--spacing-sm)] ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[var(--operator-hero-color)]"
130
+ }
131
+ ),
132
+ /* @__PURE__ */ e(
133
+ "h1",
134
+ {
135
+ id: p,
136
+ dir: "auto",
137
+ className: `${g} ds:m-0 ds:min-w-0 ds:text-[color:var(--foreground)]`,
138
+ children: r
139
+ }
140
+ )
141
+ ] }) : /* @__PURE__ */ e(
123
142
  "h1",
124
143
  {
125
- id: u,
126
- className: `${O} ds:m-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--foreground)] ds:@[480px]/ohero:min-w-0 ds:@[480px]/ohero:flex-1`,
127
- children: [
128
- d ? /* @__PURE__ */ e(
129
- "span",
130
- {
131
- ref: v,
132
- role: "img",
133
- "aria-label": c("operatorHero.colorLabel", "Calendar colour"),
134
- className: "ds:inline-block ds:size-[var(--spacing-sm)] ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[var(--operator-hero-color)]"
135
- }
136
- ) : null,
137
- /* @__PURE__ */ e("span", { dir: "auto", children: o })
138
- ]
144
+ id: p,
145
+ dir: "auto",
146
+ className: `${g} ds:m-0 ds:text-[color:var(--foreground)] ds:@[480px]/ohero:min-w-0`,
147
+ children: r
139
148
  }
140
149
  ),
141
- m ? /* @__PURE__ */ e("div", { className: "ds:order-first ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:@[480px]/ohero:order-none ds:@[480px]/ohero:ms-auto ds:@[480px]/ohero:min-w-0 ds:@[480px]/ohero:max-w-[50%] ds:@[480px]/ohero:shrink", children: m }) : null
150
+ f ? /* @__PURE__ */ e("div", { className: "ds:order-first ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)] ds:@[480px]/ohero:order-none ds:@[480px]/ohero:ms-auto ds:@[480px]/ohero:min-w-0 ds:@[480px]/ohero:max-w-[50%]", children: f }) : null
142
151
  ] }),
143
- p ? /* @__PURE__ */ e(
152
+ m ? /* @__PURE__ */ e(
144
153
  "p",
145
154
  {
146
155
  dir: "auto",
147
156
  className: "type-body ds:m-0 ds:text-[color:var(--foreground)]",
148
- children: p
157
+ children: m
149
158
  }
150
159
  ) : null,
151
160
  a ? (
@@ -157,14 +166,14 @@ const q = {
157
166
  {
158
167
  role: "img",
159
168
  className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
160
- "aria-label": R,
169
+ "aria-label": L,
161
170
  children: [
162
171
  /* @__PURE__ */ e(
163
172
  S,
164
173
  {
165
174
  value: a.value,
166
175
  max: 5,
167
- size: r === "comfortable" ? "md" : "sm",
176
+ size: o === "comfortable" ? "md" : "sm",
168
177
  decorative: !0
169
178
  }
170
179
  ),
@@ -200,17 +209,17 @@ const q = {
200
209
  return /* @__PURE__ */ e(
201
210
  "div",
202
211
  {
203
- ref: w,
212
+ ref: C,
204
213
  role: "region",
205
- "aria-label": k,
206
- "aria-labelledby": u,
214
+ "aria-label": R,
215
+ "aria-labelledby": p,
207
216
  "data-component": "operator-hero",
208
217
  "data-component-id": n,
209
- "data-density": r,
218
+ "data-density": o,
210
219
  id: n,
211
- className: D({ surface: f, density: r, className: N }),
212
- ...H,
213
- children: f === "elevated" ? /* @__PURE__ */ e(K, { variant: "elevated", children: g }) : g
220
+ className: D({ surface: u, density: o, className: H }),
221
+ ...w,
222
+ children: u === "elevated" ? /* @__PURE__ */ e(K, { variant: "elevated", children: x }) : x
214
223
  }
215
224
  );
216
225
  }
@@ -220,4 +229,4 @@ export {
220
229
  F as O,
221
230
  q as o
222
231
  };
223
- //# sourceMappingURL=operator-hero-BELhrv9o.js.map
232
+ //# sourceMappingURL=operator-hero-BWayX73x.js.map
@@ -3,7 +3,7 @@ import { forwardRef as X, useId as T, useMemo as Z, Fragment as $ } from "react"
3
3
  import { c as j } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
5
  import { A as ee } from "./avatar-Dp5apm1d.js";
6
- import { C as f } from "./card-C85_Ndhb.js";
6
+ import { C as f } from "./card-DVO3x8E-.js";
7
7
  import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
8
8
  import { D as ae } from "./description-list-BxzDN9o2.js";
9
9
  import { P as de } from "./panel-header-CbtlTe85.js";
@@ -368,4 +368,4 @@ export {
368
368
  ue as P,
369
369
  me as p
370
370
  };
371
- //# sourceMappingURL=patient-details-RsT3SaYh.js.map
371
+ //# sourceMappingURL=patient-details-DdtXBNjt.js.map