@alfadocs/ui-kit 1.128.0 → 1.129.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 (164) hide show
  1. package/dist/_chunks/{appointment-card-0PebvrOS.js → appointment-card-vbUsDh70.js} +49 -72
  2. package/dist/_chunks/{appointment-timeline-Czd4PBkF.js → appointment-timeline-B5pfBl-b.js} +2 -2
  3. package/dist/_chunks/{appointment-tray-B04zKY7g.js → appointment-tray-BhiXetjs.js} +2 -2
  4. package/dist/_chunks/{calendar-_sgjuH3L.js → calendar-DzR-vdJ5.js} +614 -563
  5. package/dist/_chunks/calendar-appointment-editor-dialog-DnPADcj9.js +13438 -0
  6. package/dist/_chunks/{calendar-event-card-DXAYWH6k.js → calendar-event-card-BNEzkjm-.js} +142 -132
  7. package/dist/_chunks/{care-plan-card-bGTIliXc.js → care-plan-card-CwgkImOD.js} +2 -2
  8. package/dist/_chunks/{care-plan-header-k8FslxsU.js → care-plan-header-Dx5OMkc9.js} +2 -2
  9. package/dist/_chunks/{clinical-note-card-DHn5W_bv.js → clinical-note-card-pPaeWWnu.js} +2 -2
  10. package/dist/_chunks/{contact-card-CGpbYuxl.js → contact-card-BSY2YpLZ.js} +2 -2
  11. package/dist/_chunks/{contact-profile-card-CCgf0Ntt.js → contact-profile-card-CsZNMlws.js} +2 -2
  12. package/dist/_chunks/{default-tabs-DOuHEKI5.js → default-tabs-BnB6FUEW.js} +2 -2
  13. package/dist/_chunks/{entity-summary-BanguTa6.js → entity-summary-Dzk54yom.js} +2 -2
  14. package/dist/_chunks/file-pen-line-k4uMBM3h.js +29 -0
  15. package/dist/_chunks/{info-tip-C-MPkShR.js → info-tip-B3cn3fY2.js} +2 -2
  16. package/dist/_chunks/{link-DtCfnLnF.js → link-CeV7FoI6.js} +2 -2
  17. package/dist/_chunks/{nav-grid-D2xVcHTO.js → nav-grid-dEgDAri3.js} +2 -2
  18. package/dist/_chunks/{note-attachment-cnj2JRrg.js → note-attachment-MNTIqdSz.js} +2 -2
  19. package/dist/_chunks/{note-timeline-BrjHBQfx.js → note-timeline-BQeW0VZY.js} +2 -2
  20. package/dist/_chunks/{notes-panel-n1JFNQ5u.js → notes-panel-DIY7eNsq.js} +2 -2
  21. package/dist/_chunks/{patient-details-Cba9HQj_.js → patient-details-DBtEITfE.js} +2 -2
  22. package/dist/_chunks/{patient-field-row-CtDihADs.js → patient-field-row-a5d4QijH.js} +2 -2
  23. package/dist/_chunks/{patient-summary-card-DnLdbtsw.js → patient-summary-card-BUcZ-gaL.js} +3 -3
  24. package/dist/_chunks/{payment-request-card-CEIalOtr.js → payment-request-card-Dv4WbRBe.js} +2 -2
  25. package/dist/_chunks/{product-hub-panel-CqRJlmb7.js → product-hub-panel-a8wdVOUt.js} +2 -2
  26. package/dist/_chunks/{public-footer-C8UIzqLJ.js → public-footer-D0cqScpz.js} +2 -2
  27. package/dist/_chunks/{signature-request-Dzs0jZsd.js → signature-request-DW2PSp66.js} +3 -3
  28. package/dist/_chunks/{signed-out-frame-fUf7tqs3.js → signed-out-frame-Oa2e1yps.js} +2 -2
  29. package/dist/_chunks/task-editor-CVRrDqpe.js +1256 -0
  30. package/dist/_chunks/{treatment-receipt-1VnuinhY.js → treatment-receipt-BZzwvsnY.js} +73 -56
  31. package/dist/_chunks/use-appointment-details-read-n7kycxrm.js +2439 -0
  32. package/dist/_chunks/{whatsapp-button-DV9JFmtq.js → whatsapp-button-XbozeDl_.js} +32 -25
  33. package/dist/agent-catalog.json +49 -16
  34. package/dist/agent-i18n/en.json +5 -5
  35. package/dist/browser-support.js +1 -1
  36. package/dist/components/_shared/patient-picker.d.ts +10 -0
  37. package/dist/components/appointment-card/index.js +2 -2
  38. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +23 -1
  39. package/dist/components/appointment-details-panel/appointment-details-panel.links.d.ts +13 -0
  40. package/dist/components/appointment-details-panel/appointment-details-panel.recurrence.d.ts +9 -0
  41. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +8 -3
  42. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +63 -1
  43. package/dist/components/appointment-details-panel/index.d.ts +2 -1
  44. package/dist/components/appointment-details-panel/index.js +5 -4
  45. package/dist/components/appointment-timeline/index.js +1 -1
  46. package/dist/components/bill-table/index.js +1 -1
  47. package/dist/components/calendar/calendar.d.ts +22 -0
  48. package/dist/components/calendar/index.js +1 -1
  49. package/dist/components/calendar-event-card/calendar-event-card.d.ts +8 -0
  50. package/dist/components/calendar-event-card/index.js +1 -1
  51. package/dist/components/care-plan-card/index.js +1 -1
  52. package/dist/components/care-plan-header/index.js +1 -1
  53. package/dist/components/clinical-note-card/index.js +1 -1
  54. package/dist/components/contact-card/index.js +1 -1
  55. package/dist/components/contact-profile-card/index.js +1 -1
  56. package/dist/components/entity-summary/index.js +1 -1
  57. package/dist/components/info-tip/index.js +1 -1
  58. package/dist/components/link/index.js +1 -1
  59. package/dist/components/nav-grid/index.js +1 -1
  60. package/dist/components/note-timeline/index.js +1 -1
  61. package/dist/components/notes-panel/index.js +1 -1
  62. package/dist/components/patient-details/index.js +1 -1
  63. package/dist/components/patient-summary-card/index.js +1 -1
  64. package/dist/components/payment-card/index.js +1 -1
  65. package/dist/components/product-hub-tray/index.js +1 -1
  66. package/dist/components/public-footer/index.js +1 -1
  67. package/dist/components/task-editor/index.js +1 -1
  68. package/dist/components/treatment-receipt/index.d.ts +2 -2
  69. package/dist/components/treatment-receipt/index.js +2 -1
  70. package/dist/components/treatment-receipt/treatment-receipt.d.ts +11 -1
  71. package/dist/components/whatsapp-button/index.js +1 -1
  72. package/dist/core.css +1 -1
  73. package/dist/fullcalendar.css +5 -1
  74. package/dist/host-compat.css +4 -1
  75. package/dist/i18n/locales/ar.d.ts +111 -4
  76. package/dist/i18n/locales/ar.js +122 -15
  77. package/dist/i18n/locales/de.d.ts +111 -4
  78. package/dist/i18n/locales/de.js +122 -15
  79. package/dist/i18n/locales/el.d.ts +111 -4
  80. package/dist/i18n/locales/el.js +122 -15
  81. package/dist/i18n/locales/en.d.ts +111 -4
  82. package/dist/i18n/locales/en.js +114 -10
  83. package/dist/i18n/locales/es.d.ts +111 -4
  84. package/dist/i18n/locales/es.js +122 -15
  85. package/dist/i18n/locales/fr.d.ts +111 -4
  86. package/dist/i18n/locales/fr.js +122 -15
  87. package/dist/i18n/locales/hi.d.ts +111 -4
  88. package/dist/i18n/locales/hi.js +122 -15
  89. package/dist/i18n/locales/it.d.ts +111 -4
  90. package/dist/i18n/locales/it.js +122 -15
  91. package/dist/i18n/locales/ja.d.ts +111 -4
  92. package/dist/i18n/locales/ja.js +122 -15
  93. package/dist/i18n/locales/nl.d.ts +111 -4
  94. package/dist/i18n/locales/nl.js +122 -15
  95. package/dist/i18n/locales/pl.d.ts +111 -4
  96. package/dist/i18n/locales/pl.js +122 -15
  97. package/dist/i18n/locales/pt.d.ts +111 -4
  98. package/dist/i18n/locales/pt.js +122 -15
  99. package/dist/i18n/locales/ro.d.ts +111 -4
  100. package/dist/i18n/locales/ro.js +122 -15
  101. package/dist/i18n/locales/ru.d.ts +111 -4
  102. package/dist/i18n/locales/ru.js +122 -15
  103. package/dist/i18n/locales/sq.d.ts +111 -4
  104. package/dist/i18n/locales/sq.js +122 -15
  105. package/dist/i18n/locales/sv.d.ts +111 -4
  106. package/dist/i18n/locales/sv.js +122 -15
  107. package/dist/i18n/locales/tr.d.ts +111 -4
  108. package/dist/i18n/locales/tr.js +122 -15
  109. package/dist/i18n/locales/zh.d.ts +111 -4
  110. package/dist/i18n/locales/zh.js +122 -15
  111. package/dist/index.js +1112 -1107
  112. package/dist/locales/ar.json +122 -15
  113. package/dist/locales/de.json +122 -15
  114. package/dist/locales/el.json +122 -15
  115. package/dist/locales/en.json +114 -7
  116. package/dist/locales/es.json +122 -15
  117. package/dist/locales/fr.json +122 -15
  118. package/dist/locales/hi.json +122 -15
  119. package/dist/locales/it.json +122 -15
  120. package/dist/locales/ja.json +122 -15
  121. package/dist/locales/nl.json +122 -15
  122. package/dist/locales/pl.json +122 -15
  123. package/dist/locales/pt.json +122 -15
  124. package/dist/locales/ro.json +122 -15
  125. package/dist/locales/ru.json +122 -15
  126. package/dist/locales/sq.json +122 -15
  127. package/dist/locales/sv.json +122 -15
  128. package/dist/locales/tr.json +122 -15
  129. package/dist/locales/zh.json +122 -15
  130. package/dist/patterns/calendar/calendar-appointment-details.d.ts +74 -2
  131. package/dist/patterns/calendar/calendar-archive.d.ts +12 -0
  132. package/dist/patterns/calendar/calendar-care-rules.d.ts +19 -23
  133. package/dist/patterns/calendar/calendar-delete-confirm.d.ts +18 -0
  134. package/dist/patterns/calendar/calendar-document-scope-confirm.d.ts +12 -0
  135. package/dist/patterns/calendar/calendar-editor-guard.d.ts +12 -0
  136. package/dist/patterns/calendar/calendar-editor-hydration.d.ts +13 -2
  137. package/dist/patterns/calendar/calendar-load-error.d.ts +11 -0
  138. package/dist/patterns/calendar/calendar-patient-locked.d.ts +13 -0
  139. package/dist/patterns/calendar/calendar-patient-picker.d.ts +6 -1
  140. package/dist/patterns/calendar/calendar-prompts.d.ts +11 -0
  141. package/dist/patterns/calendar/calendar-settings-ical.d.ts +11 -0
  142. package/dist/patterns/calendar/calendar-settings-overlay.d.ts +73 -0
  143. package/dist/patterns/calendar/calendar-settings-panel.d.ts +62 -0
  144. package/dist/patterns/calendar/calendar-settings-practice.d.ts +20 -0
  145. package/dist/patterns/calendar/calendar-status-colours.d.ts +18 -0
  146. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +17 -2
  147. package/dist/patterns/calendar/calendar-workspace.d.ts +258 -6
  148. package/dist/patterns/calendar/calendar-workspace.model.d.ts +98 -11
  149. package/dist/patterns/calendar/calendar.data.d.ts +9 -3
  150. package/dist/patterns/calendar/calendar.journey.d.ts +69 -5
  151. package/dist/patterns/calendar/calendar.model.d.ts +72 -14
  152. package/dist/patterns/calendar/calendar.preferences.d.ts +4 -0
  153. package/dist/patterns/calendar/calendar.sheets.d.ts +85 -17
  154. package/dist/patterns/calendar/calendar.surface.d.ts +64 -6
  155. package/dist/patterns/calendar/calendar.types.d.ts +223 -6
  156. package/dist/patterns/calendar/index.d.ts +9 -6
  157. package/dist/patterns/calendar/index.js +18 -15
  158. package/dist/patterns/signature-request/index.js +1 -1
  159. package/dist/patterns/signed-out-frame/index.js +1 -1
  160. package/dist/tokens.css +5 -1
  161. package/package.json +1 -1
  162. package/dist/_chunks/calendar-appointment-editor-dialog-CGDDGMdo.js +0 -10974
  163. package/dist/_chunks/task-editor-C05yx7JJ.js +0 -1218
  164. package/dist/_chunks/use-appointment-details-read-Bm408XzX.js +0 -2198
@@ -1,20 +1,20 @@
1
- import { jsx as a, jsxs as p, Fragment as C } from "react/jsx-runtime";
2
- import { forwardRef as ne } from "react";
3
- import { useTranslation as ae } from "react-i18next";
1
+ import { jsx as a, jsxs as f, Fragment as K } from "react/jsx-runtime";
2
+ import { forwardRef as re } from "react";
3
+ import { useTranslation as de } from "react-i18next";
4
4
  import { c as s } from "./index-D2ZczOXr.js";
5
- import { U as re, B as de, T as se } from "./user-x-DYszNtIg.js";
6
- import { C as te } from "./check-DrFSN__t.js";
7
- import { S as ie } from "./stethoscope-sZXGC43m.js";
8
- import { C as le } from "./clock-Drd4Wtis.js";
9
- import { T as ce } from "./triangle-alert-CBnO6nq_.js";
10
- import { H as oe } from "./heart-pulse-BCppJyN2.js";
11
- import { E as ve } from "./euro-Dsuz4ixO.js";
12
- import { G as me } from "./globe-sHBW1JN5.js";
13
- import { V as he } from "./video-BheNGvsu.js";
14
- import { R as pe } from "./repeat-CvQa5rZt.js";
15
- import { C as fe } from "./clipboard-check-BeAGxDVT.js";
16
- import { E as ue } from "./eye-off-C_4xkbRP.js";
17
- function ge(t) {
5
+ import { U as se, B as te, T as ie } from "./user-x-DYszNtIg.js";
6
+ import { C as le } from "./check-DrFSN__t.js";
7
+ import { S as ce } from "./stethoscope-sZXGC43m.js";
8
+ import { C as oe } from "./clock-Drd4Wtis.js";
9
+ import { T as ve } from "./triangle-alert-CBnO6nq_.js";
10
+ import { H as me } from "./heart-pulse-BCppJyN2.js";
11
+ import { E as he } from "./euro-Dsuz4ixO.js";
12
+ import { G as pe } from "./globe-sHBW1JN5.js";
13
+ import { V as fe } from "./video-BheNGvsu.js";
14
+ import { R as ge } from "./repeat-CvQa5rZt.js";
15
+ import { C as ue } from "./clipboard-check-BeAGxDVT.js";
16
+ import { E as we } from "./eye-off-C_4xkbRP.js";
17
+ function be(t) {
18
18
  if (typeof t != "string") return null;
19
19
  const d = t.trim();
20
20
  if (!d.startsWith("#")) return null;
@@ -30,82 +30,82 @@ function ge(t) {
30
30
  return null;
31
31
  return [e / 255, i / 255, l / 255];
32
32
  }
33
- function we([t, d, n]) {
33
+ function xe([t, d, n]) {
34
34
  const e = (i) => i <= 0.03928 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
35
35
  return 0.2126 * e(t) + 0.7152 * e(d) + 0.0722 * e(n);
36
36
  }
37
- function dn(t, d, n) {
37
+ function tn(t, d, n) {
38
38
  }
39
- function be(t) {
40
- const d = ge(t);
41
- return d ? we(d) > 0.1791 ? "on-light" : "on-dark" : null;
39
+ function ye(t) {
40
+ const d = be(t);
41
+ return d ? xe(d) > 0.1791 ? "on-light" : "on-dark" : null;
42
42
  }
43
- const xe = {
44
- confirmed: se,
45
- waiting: le,
46
- in_care: ie,
47
- done: te,
48
- cancelled: de,
49
- absent: re
50
- }, ye = "ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--card)] ds:border ds:border-[color:var(--border)] ds:shadow-[var(--shadow-sm)]", ke = "ds:inline-block ds:h-3 ds:w-[6ch] ds:align-middle ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)] ds:animate-[skeleton-pulse_calc(var(--animation-duration)*8)_ease-in-out_infinite] ds:motion-reduce:animate-none ds:forced-colors:bg-[GrayText] ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText] ds:forced-colors:animate-none", _e = {
43
+ const ke = {
44
+ confirmed: ie,
45
+ waiting: oe,
46
+ in_care: ce,
47
+ done: le,
48
+ cancelled: te,
49
+ absent: se
50
+ }, _e = "ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--card)] ds:border ds:border-[color:var(--border)] ds:shadow-[var(--shadow-sm)]", Se = "ds:inline-block ds:h-3 ds:w-[6ch] ds:align-middle ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)] ds:animate-[skeleton-pulse_calc(var(--animation-duration)*8)_ease-in-out_infinite] ds:motion-reduce:animate-none ds:forced-colors:bg-[GrayText] ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText] ds:forced-colors:animate-none", Ne = {
51
51
  success: "ds:text-[color:var(--success-foreground)]",
52
52
  info: "ds:text-[color:var(--info-foreground)]",
53
53
  warning: "ds:text-[color:var(--warning-foreground)]",
54
54
  error: "ds:text-[color:var(--error-foreground)]",
55
55
  // Same AA-clearing accent mix Badge's accentSoft uses for its ink.
56
56
  accent: "ds:text-[color:color-mix(in_srgb,var(--accent)_40%,var(--foreground))]"
57
- }, Se = {
57
+ }, Ie = {
58
58
  confirmed: "success",
59
59
  waiting: "info",
60
60
  in_care: "accent",
61
61
  done: "success",
62
62
  cancelled: "error",
63
63
  absent: "warning"
64
- }, K = {
64
+ }, O = {
65
65
  confirmed: "calendar.status.confirmed",
66
66
  waiting: "calendar.status.waiting",
67
67
  in_care: "calendar.status.inCare",
68
68
  done: "calendar.status.done",
69
69
  cancelled: "calendar.status.cancelled",
70
70
  absent: "calendar.status.absent"
71
- }, Ne = [
71
+ }, ze = [
72
72
  {
73
73
  field: "hasUnassignedPatient",
74
- Icon: ce,
74
+ Icon: ve,
75
75
  labelKey: "calendarWorkspace.details.indicators.unassignedPatient",
76
76
  tone: "warning"
77
77
  },
78
78
  {
79
79
  field: "hasHighlightedAnamnesis",
80
- Icon: oe,
80
+ Icon: me,
81
81
  labelKey: "calendarWorkspace.details.indicators.anamnesis",
82
82
  tone: "accent"
83
83
  },
84
84
  {
85
85
  field: "hasBillableAmount",
86
- Icon: ve,
86
+ Icon: he,
87
87
  labelKey: "calendarWorkspace.details.indicators.billable",
88
88
  tone: "warning"
89
89
  },
90
90
  {
91
91
  field: "isBookedOnline",
92
- Icon: me,
92
+ Icon: pe,
93
93
  labelKey: "calendarWorkspace.details.indicators.bookedOnline",
94
94
  tone: "info"
95
95
  },
96
96
  {
97
97
  field: "isTelehealth",
98
- Icon: he,
98
+ Icon: fe,
99
99
  labelKey: "calendarWorkspace.details.indicators.telehealth",
100
100
  tone: "info"
101
101
  },
102
102
  {
103
103
  field: "isRecurring",
104
- Icon: pe,
104
+ Icon: ge,
105
105
  labelKey: "calendarWorkspace.details.indicators.recurring",
106
106
  tone: "info"
107
107
  }
108
- ], Ie = s(
108
+ ], je = s(
109
109
  [
110
110
  // FullCalendar supplies the box. The card is the `eventcard` size
111
111
  // container: the `ds:eventcard-*` tier variants (declared in
@@ -224,6 +224,15 @@ const xe = {
224
224
  "ds:[--calendar-event-bg:color-mix(in_srgb,var(--calendar-event-accent,var(--primary))_12%,var(--card))]",
225
225
  "ds:[--calendar-event-text:var(--foreground)]",
226
226
  "ds:[--calendar-event-border:var(--calendar-event-accent,var(--primary))]"
227
+ ].join(" "),
228
+ // Faded: a lighter tint than `tinted` with muted text, for a card
229
+ // that stays visible but steps back (a shown cancelled
230
+ // appointment). Colour, never opacity, so the text keeps its AA
231
+ // ratio. Same custom-property-only rule as `tinted`.
232
+ faded: [
233
+ "ds:[--calendar-event-bg:color-mix(in_srgb,var(--calendar-event-accent,var(--primary))_5%,var(--card))]",
234
+ "ds:[--calendar-event-text:var(--muted-foreground)]",
235
+ "ds:[--calendar-event-border:color-mix(in_srgb,var(--calendar-event-accent,var(--primary))_45%,var(--card))]"
227
236
  ].join(" ")
228
237
  }
229
238
  },
@@ -235,7 +244,7 @@ const xe = {
235
244
  colorStyle: "solid"
236
245
  }
237
246
  }
238
- ), ze = [
247
+ ), Ee = [
239
248
  "event-card-content ds:grid ds:grid-cols-[minmax(0,1fr)_auto] ds:items-start",
240
249
  "ds:gap-x-[var(--spacing-2xs)] ds:leading-[var(--calendar-event-line-height)]",
241
250
  // Stretch, so a secondary line is as wide as the card and a long word
@@ -243,11 +252,11 @@ const xe = {
243
252
  "ds:eventcard-narrow:flex ds:eventcard-narrow:flex-col ds:eventcard-narrow:items-stretch",
244
253
  // A 15-minute compact tile: the meta size on a tight line.
245
254
  "ds:eventcard-tiny:text-[length:var(--type-meta-size)] ds:eventcard-tiny:leading-[var(--calendar-event-compact-line-height)]"
246
- ].join(" "), Ee = [
255
+ ].join(" "), Ae = [
247
256
  "event-card-heading ds:flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ds:min-w-0",
248
257
  "ds:eventcard-narrow:w-full",
249
258
  "ds:eventcard-narrow-tall:flex-col ds:eventcard-narrow-tall:items-stretch ds:eventcard-narrow-tall:gap-0"
250
- ].join(" "), je = s(
259
+ ].join(" "), Re = s(
251
260
  [
252
261
  "event-card-name ds:min-w-0 ds:flex-1 ds:font-[var(--font-weight-semibold)]",
253
262
  // Wrap at spaces first; break inside a word only when it cannot fit.
@@ -278,11 +287,11 @@ const xe = {
278
287
  }
279
288
  }
280
289
  }
281
- ), Ae = s("event-card-full-title", {
290
+ ), Ce = s("event-card-full-title", {
282
291
  variants: {
283
292
  hasShortTitle: { true: "ds:eventcard-sliver:hidden", false: "" }
284
293
  }
285
- }), O = "event-card-kind-icon ds:inline ds:size-[1em] ds:me-[var(--spacing-2xs)] ds:align-text-bottom", Re = s(
294
+ }), L = "event-card-kind-icon ds:inline ds:size-[1em] ds:me-[var(--spacing-2xs)] ds:align-text-bottom", Ke = s(
286
295
  "event-card-time ds:hidden ds:shrink-0 ds:whitespace-nowrap ds:text-[length:var(--type-meta-size)]",
287
296
  {
288
297
  variants: {
@@ -295,7 +304,7 @@ const xe = {
295
304
  }
296
305
  }
297
306
  }
298
- ), Ce = s("event-card-start", {
307
+ ), Oe = s("event-card-start", {
299
308
  variants: {
300
309
  layout: {
301
310
  grid: "ds:eventcard-w256:hidden",
@@ -303,7 +312,7 @@ const xe = {
303
312
  flow: "ds:eventcard-w256:hidden"
304
313
  }
305
314
  }
306
- }), Ke = s("event-card-range", {
315
+ }), Le = s("event-card-range", {
307
316
  variants: {
308
317
  layout: {
309
318
  grid: "ds:hidden ds:eventcard-w256:inline",
@@ -311,7 +320,7 @@ const xe = {
311
320
  flow: "ds:hidden ds:eventcard-w256:inline"
312
321
  }
313
322
  }
314
- }), L = "ds:col-span-full ds:overflow-hidden ds:text-[length:var(--type-meta-size)] ds:wrap-break-word", Oe = s(`event-card-suffix ${L}`, {
323
+ }), B = "ds:col-span-full ds:overflow-hidden ds:text-[length:var(--type-meta-size)] ds:wrap-break-word", Te = s(`event-card-suffix ${B}`, {
315
324
  variants: {
316
325
  layout: {
317
326
  grid: [
@@ -323,7 +332,7 @@ const xe = {
323
332
  flow: "ds:line-clamp-1 ds:eventcard-narrow:order-2"
324
333
  }
325
334
  }
326
- }), Te = s(`event-card-context ${L}`, {
335
+ }), Be = s(`event-card-context ${B}`, {
327
336
  variants: {
328
337
  layout: {
329
338
  grid: "ds:hidden ds:eventcard-narrow:order-3 ds:eventcard-context:line-clamp-1",
@@ -331,7 +340,7 @@ const xe = {
331
340
  flow: "ds:hidden"
332
341
  }
333
342
  }
334
- }), T = "ds:eventcard-narrow:absolute ds:eventcard-narrow:end-0 ds:eventcard-narrow:[inset-block-end:0] ds:eventcard-narrow:gap-0", Le = s(
343
+ }), T = "ds:eventcard-narrow:absolute ds:eventcard-narrow:end-0 ds:eventcard-narrow:[inset-block-end:0] ds:eventcard-narrow:gap-0", Ve = s(
335
344
  "event-card-markers ds:flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:col-[2] ds:row-[1]",
336
345
  {
337
346
  variants: {
@@ -350,8 +359,8 @@ const xe = {
350
359
  }
351
360
  }
352
361
  }
353
- ), Be = s(
354
- `event-card-marker ${ye} ds:size-[1em] ds:[&_svg]:size-[0.75em] ds:eventcard-narrow:size-[0.75em] ds:eventcard-narrow-h2:size-[1em]`,
362
+ ), We = s(
363
+ `event-card-marker ${_e} ds:size-[1em] ds:[&_svg]:size-[0.75em] ds:eventcard-narrow:size-[0.75em] ds:eventcard-narrow-h2:size-[1em]`,
355
364
  {
356
365
  variants: {
357
366
  rank: {
@@ -380,7 +389,7 @@ const xe = {
380
389
  }
381
390
  ]
382
391
  }
383
- ), Ve = ["first", "second", "third"], We = s(
392
+ ), He = ["first", "second", "third"], Me = s(
384
393
  "event-card-more ds:text-[length:var(--type-meta-size)] ds:whitespace-nowrap",
385
394
  {
386
395
  variants: {
@@ -420,7 +429,7 @@ const xe = {
420
429
  }
421
430
  ]
422
431
  }
423
- ), He = s(
432
+ ), Ue = s(
424
433
  "event-card-sliver-cue ds:hidden ds:items-center ds:text-[length:var(--type-meta-size)]",
425
434
  {
426
435
  variants: {
@@ -431,7 +440,7 @@ const xe = {
431
440
  }
432
441
  }
433
442
  }
434
- ), Me = ne(
443
+ ), Ge = re(
435
444
  ({
436
445
  title: t,
437
446
  shortTitle: d,
@@ -439,49 +448,50 @@ const xe = {
439
448
  layout: e = "grid",
440
449
  contextLabel: i,
441
450
  contextName: l,
442
- suffix: w,
443
- rangeText: f,
444
- showTime: B = !0,
445
- allDay: V = !1,
451
+ suffix: b,
452
+ rangeText: g,
453
+ showTime: V = !0,
454
+ allDay: W = !1,
446
455
  status: c,
447
456
  backgroundColor: o,
448
457
  textColor: h,
449
- borderColor: b,
458
+ borderColor: x,
450
459
  isBookedOnline: I = !1,
451
- hasUnassignedPatient: W,
452
- hasHighlightedAnamnesis: H,
453
- hasBillableAmount: M,
454
- isTelehealth: U,
455
- isRecurring: D,
456
- isTask: u = !1,
457
- isDraft: x = !1,
460
+ hasUnassignedPatient: H,
461
+ hasHighlightedAnamnesis: M,
462
+ hasBillableAmount: U,
463
+ isTelehealth: G,
464
+ isRecurring: $,
465
+ isTask: p = !1,
466
+ isDraft: u = !1,
458
467
  detailsPending: y = !1,
459
- colorStyle: G = "solid",
460
- resourceLabel: $,
468
+ colorStyle: D = "solid",
469
+ faded: F = !1,
470
+ resourceLabel: P,
461
471
  privacyMasked: z = !1,
462
- eventId: F,
463
- className: P,
464
- style: E,
465
- "aria-label": Y,
466
- ...q
467
- }, X) => {
468
- const { t: v } = ae("ui"), m = [
472
+ eventId: Y,
473
+ className: q,
474
+ style: j,
475
+ "aria-label": X,
476
+ ...J
477
+ }, Q) => {
478
+ const { t: v } = de("ui"), m = [
469
479
  ...c ? [
470
480
  {
471
481
  id: "status",
472
- Icon: xe[c],
473
- label: v(K[c]),
474
- tone: Se[c]
482
+ Icon: ke[c],
483
+ label: v(O[c]),
484
+ tone: Ie[c]
475
485
  }
476
486
  ] : [],
477
- ...Ne.filter(
487
+ ...ze.filter(
478
488
  ({ field: r }) => !!{
479
- hasUnassignedPatient: W,
480
- hasHighlightedAnamnesis: H,
481
- hasBillableAmount: M,
489
+ hasUnassignedPatient: H,
490
+ hasHighlightedAnamnesis: M,
491
+ hasBillableAmount: U,
482
492
  isBookedOnline: I,
483
- isTelehealth: U,
484
- isRecurring: D
493
+ isTelehealth: G,
494
+ isRecurring: $
485
495
  }[r]
486
496
  ).map(({ field: r, Icon: _, labelKey: S, tone: N }) => ({
487
497
  id: r,
@@ -489,85 +499,85 @@ const xe = {
489
499
  label: v(S),
490
500
  tone: N
491
501
  }))
492
- ], J = c ? v(K[c]) : void 0, Q = y ? v("calendar.eventKind.pendingDetails") : x ? v("calendar.eventKind.draft") : u ? v("calendar.eventKind.task") : void 0, Z = Y ?? [
502
+ ], Z = c ? v(O[c]) : void 0, ee = y ? v("calendar.eventKind.pendingDetails") : u ? v("calendar.eventKind.draft") : p ? v("calendar.eventKind.task") : void 0, ne = X ?? [
493
503
  t,
494
- f,
495
- w,
496
- $,
504
+ g,
505
+ b,
506
+ P,
497
507
  // A blank name falls back to the visible label rather than
498
508
  // silencing the context altogether.
499
509
  l != null && l.trim() ? l : i,
500
- J,
501
- Q,
510
+ Z,
511
+ ee,
502
512
  ...m.filter((r) => r.id !== "status").map((r) => r.label)
503
- ].filter(Boolean).join(", "), j = y ? "pending-details" : x ? "draft" : u ? "task" : "appointment", g = !u && !x && G === "tinted", k = !g && !h && o ? be(o) : null, A = g ? o ? { "--calendar-event-accent": o } : void 0 : o || h || b ? {
513
+ ].filter(Boolean).join(", "), E = y ? "pending-details" : u ? "draft" : p ? "task" : "appointment", A = !p && !u && F, w = !p && !u && (D === "tinted" || A), k = !w && !h && o ? ye(o) : null, R = w ? o ? { "--calendar-event-accent": o } : void 0 : o || h || x ? {
504
514
  ...o ? { "--calendar-event-bg": o } : {},
505
515
  ...h ? { "--calendar-event-text": h } : k === "on-light" ? { "--calendar-event-text": "var(--event-ink-on-light)" } : k === "on-dark" ? { "--calendar-event-text": "var(--event-ink-on-dark)" } : {},
506
- ...b ? { "--calendar-event-border": b } : {}
507
- } : void 0, ee = E || A ? { ...E, ...A } : void 0, R = !!(!z && (d != null && d.trim()) && d !== t);
516
+ ...x ? { "--calendar-event-border": x } : {}
517
+ } : void 0, ae = j || R ? { ...j, ...R } : void 0, C = !!(!z && (d != null && d.trim()) && d !== t);
508
518
  return /* @__PURE__ */ a(
509
519
  "div",
510
520
  {
511
- ref: X,
521
+ ref: Q,
512
522
  role: "group",
513
- ...q,
514
- className: Ie({
523
+ ...J,
524
+ className: je({
515
525
  layout: e,
516
526
  status: c ?? "none",
517
527
  bookedOnline: I,
518
- kind: j,
519
- colorStyle: g ? "tinted" : "solid",
520
- className: P
528
+ kind: E,
529
+ colorStyle: A ? "faded" : w ? "tinted" : "solid",
530
+ className: q
521
531
  }),
522
- style: ee,
523
- "aria-label": Z,
532
+ style: ae,
533
+ "aria-label": ne,
524
534
  "data-component": "calendar-event-card",
525
- "data-event-id": F,
526
- "data-kind": j,
535
+ "data-event-id": Y,
536
+ "data-kind": E,
527
537
  "data-status": c ?? "none",
528
- "data-contrast": g ? "tinted" : h ? "custom" : k ?? "default",
529
- children: /* @__PURE__ */ p("span", { className: ze, "aria-hidden": "true", children: [
530
- /* @__PURE__ */ p("span", { className: Ee, children: [
538
+ "data-contrast": w ? "tinted" : h ? "custom" : k ?? "default",
539
+ children: /* @__PURE__ */ f("span", { className: Ee, "aria-hidden": "true", children: [
540
+ /* @__PURE__ */ f("span", { className: Ae, children: [
531
541
  /* @__PURE__ */ a(
532
542
  "span",
533
543
  {
534
- className: je({
544
+ className: Re({
535
545
  layout: e,
536
546
  hiddenMarkers: m.length > 1
537
547
  }),
538
- children: y ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: ke }) : /* @__PURE__ */ p(C, { children: [
539
- u ? /* @__PURE__ */ a(fe, { className: O }) : null,
540
- z ? /* @__PURE__ */ a(ue, { className: O }) : null,
548
+ children: y ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: Se }) : /* @__PURE__ */ f(K, { children: [
549
+ p ? /* @__PURE__ */ a(ue, { className: L }) : null,
550
+ z ? /* @__PURE__ */ a(we, { className: L }) : null,
541
551
  /* @__PURE__ */ a(
542
552
  "span",
543
553
  {
544
- className: Ae({
545
- hasShortTitle: R
554
+ className: Ce({
555
+ hasShortTitle: C
546
556
  }),
547
557
  children: t
548
558
  }
549
559
  ),
550
- R ? /* @__PURE__ */ a("span", { className: "event-card-short-title ds:hidden ds:eventcard-sliver:inline", children: d }) : null
560
+ C ? /* @__PURE__ */ a("span", { className: "event-card-short-title ds:hidden ds:eventcard-sliver:inline", children: d }) : null
551
561
  ] })
552
562
  }
553
563
  ),
554
- B && !V && f ? /* @__PURE__ */ a("span", { className: Re({ layout: e }), children: n ? /* @__PURE__ */ p(C, { children: [
555
- /* @__PURE__ */ a("span", { className: Ce({ layout: e }), children: n }),
556
- /* @__PURE__ */ a("span", { className: Ke({ layout: e }), children: f })
557
- ] }) : f }) : null
564
+ V && !W && g ? /* @__PURE__ */ a("span", { className: Ke({ layout: e }), children: n ? /* @__PURE__ */ f(K, { children: [
565
+ /* @__PURE__ */ a("span", { className: Oe({ layout: e }), children: n }),
566
+ /* @__PURE__ */ a("span", { className: Le({ layout: e }), children: g })
567
+ ] }) : g }) : null
558
568
  ] }),
559
- w ? /* @__PURE__ */ a("span", { className: Oe({ layout: e }), children: w }) : null,
560
- i ? /* @__PURE__ */ a("span", { className: Te({ layout: e }), children: i }) : null,
561
- m.length > 0 ? /* @__PURE__ */ p("span", { className: Le({ layout: e }), children: [
569
+ b ? /* @__PURE__ */ a("span", { className: Te({ layout: e }), children: b }) : null,
570
+ i ? /* @__PURE__ */ a("span", { className: Be({ layout: e }), children: i }) : null,
571
+ m.length > 0 ? /* @__PURE__ */ f("span", { className: Ve({ layout: e }), children: [
562
572
  m.map(({ id: r, Icon: _, tone: S }, N) => /* @__PURE__ */ a(
563
573
  "span",
564
574
  {
565
575
  "data-marker": r,
566
576
  "aria-hidden": "true",
567
- className: Be({
568
- rank: Ve[N] ?? "rest",
577
+ className: We({
578
+ rank: He[N] ?? "rest",
569
579
  layout: e,
570
- className: _e[S]
580
+ className: Ne[S]
571
581
  }),
572
582
  children: /* @__PURE__ */ a(_, { "aria-hidden": "true" })
573
583
  },
@@ -577,7 +587,7 @@ const xe = {
577
587
  (r) => m.length > r ? /* @__PURE__ */ a(
578
588
  "span",
579
589
  {
580
- className: We({ capacity: r, layout: e }),
590
+ className: Me({ capacity: r, layout: e }),
581
591
  children: v("calendar.card.more", {
582
592
  number: m.length - r
583
593
  })
@@ -585,19 +595,19 @@ const xe = {
585
595
  r
586
596
  ) : null
587
597
  ),
588
- m.length > 1 && e !== "month" ? /* @__PURE__ */ a("span", { className: He({ layout: e }), children: "·" }) : null
598
+ m.length > 1 && e !== "month" ? /* @__PURE__ */ a("span", { className: Ue({ layout: e }), children: "·" }) : null
589
599
  ] }) : null
590
600
  ] })
591
601
  }
592
602
  );
593
603
  }
594
604
  );
595
- Me.displayName = "CalendarEventCard";
605
+ Ge.displayName = "CalendarEventCard";
596
606
  export {
597
- Me as C,
598
- Ne as E,
599
- xe as S,
600
- K as a,
601
- dn as w
607
+ Ge as C,
608
+ ze as E,
609
+ ke as S,
610
+ O as a,
611
+ tn as w
602
612
  };
603
- //# sourceMappingURL=calendar-event-card-DXAYWH6k.js.map
613
+ //# sourceMappingURL=calendar-event-card-BNEzkjm-.js.map
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  import { forwardRef as H, useId as P } from "react";
3
3
  import { useTranslation as M } from "react-i18next";
4
4
  import { B as N } from "./badge-BUk4RjTS.js";
5
- import { L as F } from "./link-DtCfnLnF.js";
5
+ import { L as F } from "./link-CeV7FoI6.js";
6
6
  import { P as A } from "./progress-D_g_Sl2g.js";
7
7
  import { T as C } from "./timestamp-DPLDWdxA.js";
8
8
  import { T as L } from "./transaction-chip-CkYd-3ky.js";
@@ -253,4 +253,4 @@ export {
253
253
  de as C,
254
254
  Z as c
255
255
  };
256
- //# sourceMappingURL=care-plan-card-bGTIliXc.js.map
256
+ //# sourceMappingURL=care-plan-card-CwgkImOD.js.map
@@ -3,7 +3,7 @@ import { forwardRef as F, useId as M } from "react";
3
3
  import { useTranslation as U } from "react-i18next";
4
4
  import { B as P } from "./badge-BUk4RjTS.js";
5
5
  import { a as G } from "./key-value-pair-DOTl68_U.js";
6
- import { L as O } from "./link-DtCfnLnF.js";
6
+ import { L as O } from "./link-CeV7FoI6.js";
7
7
  import { S as $ } from "./separator-Bdc9bqoJ.js";
8
8
  import { T as A } from "./timestamp-DPLDWdxA.js";
9
9
  import { u as q } from "./registry-DvAUVLHh.js";
@@ -195,4 +195,4 @@ export {
195
195
  ee as C,
196
196
  X as c
197
197
  };
198
- //# sourceMappingURL=care-plan-header-k8FslxsU.js.map
198
+ //# sourceMappingURL=care-plan-header-Dx5OMkc9.js.map
@@ -7,7 +7,7 @@ import { B as b } from "./badge-BUk4RjTS.js";
7
7
  import { C as S } from "./card-n6W6LW-N.js";
8
8
  import { T as B } from "./timestamp-DPLDWdxA.js";
9
9
  import { SafeHtml as ie } from "../safe-html/index.js";
10
- import { n as te, P as I, F as O, N as re } from "./note-attachment-cnj2JRrg.js";
10
+ import { n as te, P as I, F as O, N as re } from "./note-attachment-MNTIqdSz.js";
11
11
  import { u as de } from "./use-clamp-overflow-DQE2kwZ9.js";
12
12
  import { u as ne } from "./registry-DvAUVLHh.js";
13
13
  const oe = {
@@ -337,4 +337,4 @@ export {
337
337
  ue as C,
338
338
  oe as c
339
339
  };
340
- //# sourceMappingURL=clinical-note-card-DHn5W_bv.js.map
340
+ //# sourceMappingURL=clinical-note-card-pPaeWWnu.js.map
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as r, Fragment as b } from "react";
3
3
  import { useTranslation as k } from "react-i18next";
4
4
  import { C as o } from "./card-n6W6LW-N.js";
5
- import { L as p } from "./link-DtCfnLnF.js";
5
+ import { L as p } from "./link-CeV7FoI6.js";
6
6
  import { M as v } from "./map-pin-BaY37-Km.js";
7
7
  function L(s) {
8
8
  return `tel:${s.replace(/\(0\)/g, "").replace(/[^\d+]/g, "")}`;
@@ -118,4 +118,4 @@ const M = Object.assign(f, {
118
118
  export {
119
119
  M as C
120
120
  };
121
- //# sourceMappingURL=contact-card-CGpbYuxl.js.map
121
+ //# sourceMappingURL=contact-card-BSY2YpLZ.js.map
@@ -5,7 +5,7 @@ import { useTranslation as ve } from "react-i18next";
5
5
  import { B as w } from "./badge-BUk4RjTS.js";
6
6
  import { C as V } from "./card-n6W6LW-N.js";
7
7
  import { K as be, a as z, S as Ce } from "./key-value-pair-DOTl68_U.js";
8
- import { L as d } from "./link-DtCfnLnF.js";
8
+ import { L as d } from "./link-CeV7FoI6.js";
9
9
  import { S as xe } from "./specialty-list-BzalHR8_.js";
10
10
  import { b as Pe } from "./format-price-CIX0YJZn.js";
11
11
  import { formatPhoneForDisplay as E } from "../format-phone/index.js";
@@ -382,4 +382,4 @@ export {
382
382
  Te as b,
383
383
  Me as c
384
384
  };
385
- //# sourceMappingURL=contact-profile-card-CCgf0Ntt.js.map
385
+ //# sourceMappingURL=contact-profile-card-CsZNMlws.js.map
@@ -12,7 +12,7 @@ import { V as Ee } from "./visually-hidden-BHxEUGyT.js";
12
12
  import { B as Lt } from "./badge-BUk4RjTS.js";
13
13
  import { B as Ot } from "./button-DohK_Ak_.js";
14
14
  import { I as At } from "./icon-button-S8_weU3g.js";
15
- import { I as _t } from "./info-tip-C-MPkShR.js";
15
+ import { I as _t } from "./info-tip-B3cn3fY2.js";
16
16
  import { M as oe } from "./money-OE6_oDPH.js";
17
17
  import { P as F } from "./popover-CN5IsOeS.js";
18
18
  import { a as Dt } from "./format-number-DdzqwMs1.js";
@@ -2211,4 +2211,4 @@ export {
2211
2211
  ii as m,
2212
2212
  Ka as u
2213
2213
  };
2214
- //# sourceMappingURL=default-tabs-DOuHEKI5.js.map
2214
+ //# sourceMappingURL=default-tabs-BnB6FUEW.js.map
@@ -6,7 +6,7 @@ import { A as H } from "./avatar-Dp5apm1d.js";
6
6
  import { B as $ } from "./button-DohK_Ak_.js";
7
7
  import { I as O } from "./icon-button-S8_weU3g.js";
8
8
  import { C } from "./card-n6W6LW-N.js";
9
- import { L as F } from "./link-DtCfnLnF.js";
9
+ import { L as F } from "./link-CeV7FoI6.js";
10
10
  import { P as G } from "./panel-header-CbtlTe85.js";
11
11
  import { T as W } from "./timestamp-DPLDWdxA.js";
12
12
  import { u as X } from "./registry-DvAUVLHh.js";
@@ -274,4 +274,4 @@ function ae({ section: t }) {
274
274
  export {
275
275
  be as E
276
276
  };
277
- //# sourceMappingURL=entity-summary-BanguTa6.js.map
277
+ //# sourceMappingURL=entity-summary-Dzk54yom.js.map
@@ -0,0 +1,29 @@
1
+ import { c as a } from "./createLucideIcon-DhHxpK9K.js";
2
+ /**
3
+ * @license lucide-react v1.22.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [
9
+ [
10
+ "path",
11
+ {
12
+ d: "M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z",
13
+ key: "ukzhwg"
14
+ }
15
+ ],
16
+ ["path", { d: "M14.487 7.858A1 1 0 0 1 14 7V2", key: "1klhew" }],
17
+ [
18
+ "path",
19
+ {
20
+ d: "M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516",
21
+ key: "rxaxab"
22
+ }
23
+ ],
24
+ ["path", { d: "M8 18h1", key: "13wk12" }]
25
+ ], h = a("file-pen-line", e);
26
+ export {
27
+ h as F
28
+ };
29
+ //# sourceMappingURL=file-pen-line-k4uMBM3h.js.map