@alfadocs/ui-kit 1.36.1 → 1.37.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 (127) hide show
  1. package/dist/_chunks/appointment-peek-5S4O1VQP.js +115 -0
  2. package/dist/_chunks/appointment-peek.agent-C539tNFM.js +17 -0
  3. package/dist/_chunks/building-2-D33bLCWL.js +24 -0
  4. package/dist/_chunks/calendar-workspace-BqKBj26r.js +9715 -0
  5. package/dist/_chunks/{control-room-rail-Ds45_g4f.js → control-room-rail-DQoHdE1U.js} +2 -2
  6. package/dist/_chunks/editable-description-BOfAeY3T.js +112 -0
  7. package/dist/_chunks/editable-description.agent-Bm_LBV2j.js +21 -0
  8. package/dist/_chunks/{money.agent-Dw55UxUA.js → money-BY-HmKhZ.js} +33 -47
  9. package/dist/_chunks/money.agent-BjJ6gOkx.js +17 -0
  10. package/dist/_chunks/notes-panel-4y5JioWN.js +556 -0
  11. package/dist/_chunks/panel-subview-BNXN8OEL.js +160 -0
  12. package/dist/_chunks/panel-subview.agent-BIBvE-IW.js +17 -0
  13. package/dist/_chunks/{patient-details-f7SSXkTJ.js → patient-details-2cIaL-Zb.js} +2 -2
  14. package/dist/_chunks/{patient-field-row-BQZoP4m2.js → patient-field-row-IHb2VFc2.js} +193 -172
  15. package/dist/_chunks/{patient-summary-card-Bz7KdUin.js → patient-summary-card-BzmJH9a-.js} +2 -2
  16. package/dist/_chunks/{section-card.agent-W18CHEgX.js → section-card-XR2bW1Ie.js} +20 -34
  17. package/dist/_chunks/section-card.agent-Bz1BhM_j.js +17 -0
  18. package/dist/_chunks/smartphone-DaPcFw-X.js +32 -0
  19. package/dist/_chunks/{task-card-BalrLkSz.js → task-card-qTKD1fIT.js} +39 -57
  20. package/dist/_chunks/{task-tray-wl9eti6J.js → task-tray-CQ8UAR2j.js} +2 -2
  21. package/dist/_chunks/{tasks-panel-BDNB7hsZ.js → tasks-panel-CBGMtQ_f.js} +2 -2
  22. package/dist/_chunks/{tool-rail-Bq5eiFMG.js → tool-rail-BP8sjxCw.js} +310 -231
  23. package/dist/_chunks/treatment-receipt-D4kOLXOk.js +94 -0
  24. package/dist/_chunks/treatment-receipt.agent-bpFm2RPH.js +21 -0
  25. package/dist/_chunks/use-presence-transition-cDwWUXV-.js +58 -0
  26. package/dist/_chunks/{workflow-map-D-LEni11.js → workflow-map-CXdsxvUj.js} +140 -156
  27. package/dist/agent-catalog.json +65 -1
  28. package/dist/components/appointment-peek/appointment-peek.agent.d.ts +3 -0
  29. package/dist/components/appointment-peek/appointment-peek.d.ts +45 -0
  30. package/dist/components/appointment-peek/index.d.ts +4 -0
  31. package/dist/components/appointment-peek/index.js +7 -0
  32. package/dist/components/control-room-rail/index.js +1 -1
  33. package/dist/components/editable-description/editable-description.agent.d.ts +3 -0
  34. package/dist/components/editable-description/editable-description.d.ts +20 -0
  35. package/dist/components/editable-description/index.d.ts +4 -0
  36. package/dist/components/editable-description/index.js +7 -0
  37. package/dist/components/index.d.ts +4 -0
  38. package/dist/components/money/index.js +2 -1
  39. package/dist/components/notes-panel/index.js +1 -1
  40. package/dist/components/notes-panel/notes-panel.d.ts +16 -0
  41. package/dist/components/panel-subview/index.d.ts +4 -0
  42. package/dist/components/panel-subview/index.js +7 -0
  43. package/dist/components/panel-subview/panel-subview.agent.d.ts +3 -0
  44. package/dist/components/panel-subview/panel-subview.d.ts +32 -0
  45. package/dist/components/patient-details/index.js +1 -1
  46. package/dist/components/patient-summary-card/index.js +1 -1
  47. package/dist/components/section-card/index.js +4 -3
  48. package/dist/components/task-card/index.js +1 -1
  49. package/dist/components/task-tray/index.js +1 -1
  50. package/dist/components/tasks-panel/index.js +1 -1
  51. package/dist/components/tool-rail/index.js +1 -1
  52. package/dist/components/treatment-receipt/index.d.ts +4 -0
  53. package/dist/components/treatment-receipt/index.js +7 -0
  54. package/dist/components/treatment-receipt/treatment-receipt.agent.d.ts +3 -0
  55. package/dist/components/treatment-receipt/treatment-receipt.d.ts +30 -0
  56. package/dist/components/workflow/index.js +1 -1
  57. package/dist/hooks/index.d.ts +1 -0
  58. package/dist/hooks/index.js +9 -7
  59. package/dist/hooks/use-presence-transition.d.ts +40 -0
  60. package/dist/host-compat.css +7 -1
  61. package/dist/i18n/locales/ar.d.ts +29 -5
  62. package/dist/i18n/locales/ar.js +29 -5
  63. package/dist/i18n/locales/de.d.ts +29 -5
  64. package/dist/i18n/locales/de.js +29 -5
  65. package/dist/i18n/locales/el.d.ts +29 -5
  66. package/dist/i18n/locales/el.js +29 -5
  67. package/dist/i18n/locales/en.d.ts +29 -5
  68. package/dist/i18n/locales/en.js +29 -5
  69. package/dist/i18n/locales/es.d.ts +29 -5
  70. package/dist/i18n/locales/es.js +29 -5
  71. package/dist/i18n/locales/fr.d.ts +29 -5
  72. package/dist/i18n/locales/fr.js +29 -5
  73. package/dist/i18n/locales/hi.d.ts +29 -5
  74. package/dist/i18n/locales/hi.js +29 -5
  75. package/dist/i18n/locales/it.d.ts +29 -5
  76. package/dist/i18n/locales/it.js +29 -5
  77. package/dist/i18n/locales/ja.d.ts +29 -5
  78. package/dist/i18n/locales/ja.js +29 -5
  79. package/dist/i18n/locales/nl.d.ts +29 -5
  80. package/dist/i18n/locales/nl.js +29 -5
  81. package/dist/i18n/locales/pl.d.ts +29 -5
  82. package/dist/i18n/locales/pl.js +29 -5
  83. package/dist/i18n/locales/pt.d.ts +29 -5
  84. package/dist/i18n/locales/pt.js +29 -5
  85. package/dist/i18n/locales/ro.d.ts +29 -5
  86. package/dist/i18n/locales/ro.js +29 -5
  87. package/dist/i18n/locales/ru.d.ts +29 -5
  88. package/dist/i18n/locales/ru.js +29 -5
  89. package/dist/i18n/locales/sq.d.ts +29 -5
  90. package/dist/i18n/locales/sq.js +29 -5
  91. package/dist/i18n/locales/sv.d.ts +29 -5
  92. package/dist/i18n/locales/sv.js +29 -5
  93. package/dist/i18n/locales/tr.d.ts +29 -5
  94. package/dist/i18n/locales/tr.js +29 -5
  95. package/dist/i18n/locales/zh.d.ts +29 -5
  96. package/dist/i18n/locales/zh.js +29 -5
  97. package/dist/index.js +958 -940
  98. package/dist/locales/ar.json +29 -5
  99. package/dist/locales/de.json +29 -5
  100. package/dist/locales/el.json +29 -5
  101. package/dist/locales/en.json +29 -5
  102. package/dist/locales/es.json +29 -5
  103. package/dist/locales/fr.json +29 -5
  104. package/dist/locales/hi.json +29 -5
  105. package/dist/locales/it.json +29 -5
  106. package/dist/locales/ja.json +29 -5
  107. package/dist/locales/nl.json +29 -5
  108. package/dist/locales/pl.json +29 -5
  109. package/dist/locales/pt.json +29 -5
  110. package/dist/locales/ro.json +29 -5
  111. package/dist/locales/ru.json +29 -5
  112. package/dist/locales/sq.json +29 -5
  113. package/dist/locales/sv.json +29 -5
  114. package/dist/locales/tr.json +29 -5
  115. package/dist/locales/zh.json +29 -5
  116. package/dist/patterns/calendar/calendar-appointment-details.d.ts +15 -6
  117. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +23 -23
  118. package/dist/patterns/calendar/calendar-info-hover.d.ts +18 -0
  119. package/dist/patterns/calendar/calendar.journey.d.ts +10 -0
  120. package/dist/patterns/calendar/calendar.sheets.d.ts +2 -2
  121. package/dist/patterns/calendar/index.js +1 -1
  122. package/dist/tokens.css +1 -1
  123. package/package.json +17 -1
  124. package/dist/_chunks/calendar-workspace-BYwQK7fz.js +0 -9478
  125. package/dist/_chunks/hourglass-BEAzW1wE.js +0 -26
  126. package/dist/_chunks/notes-panel-Co8D3uDd.js +0 -469
  127. package/dist/_chunks/smartphone-C0rFF2if.js +0 -15
@@ -14,7 +14,7 @@ import { T as Ke } from "./transaction-chip-Dth1nThY.js";
14
14
  import { T as je } from "./tooltip-Cp-PLePW.js";
15
15
  import { H as G } from "./hover-card-Bcku1GQu.js";
16
16
  import { i as de } from "./is-safe-url-DkETxeHz.js";
17
- import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-BQZoP4m2.js";
17
+ import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-IHb2VFc2.js";
18
18
  import { u as Oe } from "./registry-DvAUVLHh.js";
19
19
  import { M as ea } from "./mail-BqXVF2zH.js";
20
20
  import { P as aa } from "./phone-FceYcIFQ.js";
@@ -530,4 +530,4 @@ export {
530
530
  Ca as P,
531
531
  ma as p
532
532
  };
533
- //# sourceMappingURL=patient-summary-card-Bz7KdUin.js.map
533
+ //# sourceMappingURL=patient-summary-card-BzmJH9a-.js.map
@@ -1,7 +1,7 @@
1
- import { jsx as s, jsxs as d } from "react/jsx-runtime";
1
+ import { jsx as s, jsxs as r } from "react/jsx-runtime";
2
2
  import { forwardRef as f } from "react";
3
3
  import { c as u } from "./index-D2ZczOXr.js";
4
- import { C as n } from "./card-DPmk26CL.js";
4
+ import { C as e } from "./card-DPmk26CL.js";
5
5
  const v = u("ds:flex ds:flex-col", {
6
6
  variants: {
7
7
  gap: {
@@ -14,30 +14,30 @@ const v = u("ds:flex ds:flex-col", {
14
14
  }), x = f(
15
15
  ({
16
16
  title: a,
17
- headingId: t,
18
- headingLevel: r = 3,
19
- headerAction: e,
20
- variant: o = "elevated",
21
- gap: i,
17
+ headingId: n,
18
+ headingLevel: l = 3,
19
+ headerAction: d,
20
+ variant: m = "elevated",
21
+ gap: o,
22
22
  className: c,
23
- children: l,
24
- ...m
23
+ children: i,
24
+ ...t
25
25
  }, p) => {
26
- const g = `h${r}`;
26
+ const g = `h${l}`;
27
27
  return /* @__PURE__ */ s(
28
- n,
28
+ e,
29
29
  {
30
30
  ref: p,
31
- variant: o,
31
+ variant: m,
32
32
  "data-component": "section-card",
33
33
  className: c,
34
- ...m,
35
- children: /* @__PURE__ */ d(n.Body, { className: v({ gap: i }), children: [
36
- a != null || e != null ? /* @__PURE__ */ d("div", { className: "ds:flex ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
34
+ ...t,
35
+ children: /* @__PURE__ */ r(e.Body, { className: v({ gap: o }), children: [
36
+ a != null || d != null ? /* @__PURE__ */ r("div", { className: "ds:flex ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
37
37
  a != null ? /* @__PURE__ */ s(
38
38
  g,
39
39
  {
40
- id: t,
40
+ id: n,
41
41
  className: "ds:m-0 ds:min-w-0 type-label ds:text-[color:var(--muted-foreground)]",
42
42
  children: a
43
43
  }
@@ -45,30 +45,16 @@ const v = u("ds:flex ds:flex-col", {
45
45
  // Keeps the action on the inline end when there is no heading.
46
46
  /* @__PURE__ */ s("span", {})
47
47
  ),
48
- e
48
+ d
49
49
  ] }) : null,
50
- l
50
+ i
51
51
  ] })
52
52
  }
53
53
  );
54
54
  }
55
55
  );
56
56
  x.displayName = "SectionCard";
57
- const w = {
58
- id: "section-card",
59
- capabilities: [],
60
- state: {},
61
- actions: {},
62
- domHooks: {
63
- root: {
64
- attr: "data-component",
65
- value: "section-card",
66
- description: "Marks the element as a kit SectionCard."
67
- }
68
- }
69
- };
70
57
  export {
71
- x as S,
72
- w as s
58
+ x as S
73
59
  };
74
- //# sourceMappingURL=section-card.agent-W18CHEgX.js.map
60
+ //# sourceMappingURL=section-card-XR2bW1Ie.js.map
@@ -0,0 +1,17 @@
1
+ const t = {
2
+ id: "section-card",
3
+ capabilities: [],
4
+ state: {},
5
+ actions: {},
6
+ domHooks: {
7
+ root: {
8
+ attr: "data-component",
9
+ value: "section-card",
10
+ description: "Marks the element as a kit SectionCard."
11
+ }
12
+ }
13
+ };
14
+ export {
15
+ t as s
16
+ };
17
+ //# sourceMappingURL=section-card.agent-Bz1BhM_j.js.map
@@ -0,0 +1,32 @@
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
+ ["path", { d: "M10.1 2.182a10 10 0 0 1 3.8 0", key: "5ilxe3" }],
10
+ ["path", { d: "M13.9 21.818a10 10 0 0 1-3.8 0", key: "11zvb9" }],
11
+ ["path", { d: "M17.609 3.721a10 10 0 0 1 2.69 2.7", key: "1iw5b2" }],
12
+ ["path", { d: "M2.182 13.9a10 10 0 0 1 0-3.8", key: "c0bmvh" }],
13
+ ["path", { d: "M20.279 17.609a10 10 0 0 1-2.7 2.69", key: "1ruxm7" }],
14
+ ["path", { d: "M21.818 10.1a10 10 0 0 1 0 3.8", key: "qkgqxc" }],
15
+ ["path", { d: "M3.721 6.391a10 10 0 0 1 2.7-2.69", key: "1mcia2" }],
16
+ ["path", { d: "M6.391 20.279a10 10 0 0 1-2.69-2.7", key: "1fvljs" }]
17
+ ], c = a("circle-dashed", e);
18
+ /**
19
+ * @license lucide-react v1.22.0 - ISC
20
+ *
21
+ * This source code is licensed under the ISC license.
22
+ * See the LICENSE file in the root directory of this source tree.
23
+ */
24
+ const t = [
25
+ ["rect", { width: "14", height: "20", x: "5", y: "2", rx: "2", ry: "2", key: "1yt0o3" }],
26
+ ["path", { d: "M12 18h.01", key: "mhygvu" }]
27
+ ], d = a("smartphone", t);
28
+ export {
29
+ c as C,
30
+ d as S
31
+ };
32
+ //# sourceMappingURL=smartphone-DaPcFw-X.js.map
@@ -1,47 +1,29 @@
1
1
  import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
- import { forwardRef as L } from "react";
3
- import { c as w } from "./index-D2ZczOXr.js";
4
- import { useTranslation as T } from "react-i18next";
2
+ import { forwardRef as C } from "react";
3
+ import { c as L } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as w } from "react-i18next";
5
5
  import { V as f } from "./visually-hidden-BHxEUGyT.js";
6
- import { c as m } from "./createLucideIcon-DhHxpK9K.js";
7
- import { U as g } from "./user-B12p7bVF.js";
8
- import { C as z } from "./chevron-right-I9AeSxH2.js";
6
+ import { c as T } from "./createLucideIcon-DhHxpK9K.js";
7
+ import { B as z } from "./building-2-D33bLCWL.js";
8
+ import { U as h } from "./user-B12p7bVF.js";
9
+ import { C as S } from "./chevron-right-I9AeSxH2.js";
9
10
  import { S as V } from "./square-check-big-dj0o8yA3.js";
10
- import { C as M } from "./circle-alert-rGDZ73Wh.js";
11
- import { S } from "./square-DASBRZ0U.js";
11
+ import { C as j } from "./circle-alert-rGDZ73Wh.js";
12
+ import { S as I } from "./square-DASBRZ0U.js";
12
13
  /**
13
14
  * @license lucide-react v1.22.0 - ISC
14
15
  *
15
16
  * This source code is licensed under the ISC license.
16
17
  * See the LICENSE file in the root directory of this source tree.
17
18
  */
18
- const _ = [
19
+ const $ = [
19
20
  ["path", { d: "M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16", key: "jecpp" }],
20
21
  ["rect", { width: "20", height: "14", x: "2", y: "6", rx: "2", key: "i6l2r4" }]
21
- ], $ = m("briefcase", _);
22
- /**
23
- * @license lucide-react v1.22.0 - ISC
24
- *
25
- * This source code is licensed under the ISC license.
26
- * See the LICENSE file in the root directory of this source tree.
27
- */
28
- const j = [
29
- ["path", { d: "M10 12h4", key: "a56b0p" }],
30
- ["path", { d: "M10 8h4", key: "1sr2af" }],
31
- ["path", { d: "M14 21v-3a2 2 0 0 0-4 0v3", key: "1rgiei" }],
32
- [
33
- "path",
34
- {
35
- d: "M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",
36
- key: "secmi2"
37
- }
38
- ],
39
- ["path", { d: "M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16", key: "16ra0t" }]
40
- ], I = m("building-2", j), K = {
41
- patient: g,
42
- company: I,
43
- operator: $
44
- }, U = w(
22
+ ], B = T("briefcase", $), K = {
23
+ patient: h,
24
+ company: z,
25
+ operator: B
26
+ }, U = L(
45
27
  [
46
28
  "ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
47
29
  // Same corner as the elevated Card the note and appointment rows use.
@@ -69,7 +51,7 @@ const j = [
69
51
  interactive: !1
70
52
  }
71
53
  }
72
- ), h = [
54
+ ), m = [
73
55
  "ds:focus-visible:outline-none",
74
56
  "ds:after:content-[''] ds:after:absolute ds:after:inset-0 ds:after:rounded-[var(--radius-lg)]",
75
57
  "ds:after:pointer-events-auto",
@@ -79,66 +61,66 @@ const j = [
79
61
  "ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
80
62
  "ds:forced-colors:focus-visible:after:outline-[CanvasText]"
81
63
  ].join(" ");
82
- function B(s) {
64
+ function _(s) {
83
65
  return /^(https?:\/\/(?!\/)|\/(?!\/)|#)/.test(s);
84
66
  }
85
67
  function R({
86
68
  status: s,
87
- priority: t
69
+ priority: n
88
70
  }) {
89
- const a = t === "high" ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]";
90
- return s === "done" ? /* @__PURE__ */ e(V, { "aria-hidden": "true", className: `ds:size-4 ${a}` }) : t === "high" ? /* @__PURE__ */ e(M, { "aria-hidden": "true", className: `ds:size-4 ${a}` }) : /* @__PURE__ */ e(S, { "aria-hidden": "true", className: `ds:size-4 ${a}` });
71
+ const a = n === "high" ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]";
72
+ return s === "done" ? /* @__PURE__ */ e(V, { "aria-hidden": "true", className: `ds:size-4 ${a}` }) : n === "high" ? /* @__PURE__ */ e(j, { "aria-hidden": "true", className: `ds:size-4 ${a}` }) : /* @__PURE__ */ e(I, { "aria-hidden": "true", className: `ds:size-4 ${a}` });
91
73
  }
92
- const q = L(
93
- ({ item: s, size: t = "sm", onActivate: a, actions: c, leading: v, className: k, ...b }, y) => {
94
- const { t: r } = T(), n = !!a, x = !!s.url && B(s.url), p = r("taskCard.itemLabel", {
74
+ const q = C(
75
+ ({ item: s, size: n = "sm", onActivate: a, actions: c, leading: g, className: v, ...b }, k) => {
76
+ const { t: r } = w(), t = !!a, x = !!s.url && _(s.url), p = r("taskCard.itemLabel", {
95
77
  title: s.title,
96
78
  due: s.dueLabel ?? "",
97
79
  defaultValue: '{{title}}{{due, prepend, " · "}}'
98
- }), N = {
80
+ }), y = {
99
81
  patient: r("taskCard.link.patient"),
100
82
  company: r("taskCard.link.company"),
101
83
  operator: r("taskCard.link.operator")
102
- }, u = s.linkType ? K[s.linkType] : null, C = !!s.linkType && !!s.linkedLabel || !!s.assigneeLabel, l = /* @__PURE__ */ e("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm ds:text-[color:var(--foreground)]", children: s.title });
84
+ }, u = s.linkType ? K[s.linkType] : null, N = !!s.linkType && !!s.linkedLabel || !!s.assigneeLabel, l = /* @__PURE__ */ e("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm ds:text-[color:var(--foreground)]", children: s.title });
103
85
  let o;
104
- return n && x ? o = /* @__PURE__ */ e(
86
+ return t && x ? o = /* @__PURE__ */ e(
105
87
  "a",
106
88
  {
107
89
  href: s.url,
108
90
  "aria-label": p,
109
- className: h + " ds:contents",
91
+ className: m + " ds:contents",
110
92
  onClick: (i) => {
111
93
  i.defaultPrevented || i.metaKey || i.ctrlKey || i.shiftKey || a == null || a(s);
112
94
  },
113
95
  children: l
114
96
  }
115
- ) : n ? o = /* @__PURE__ */ e(
97
+ ) : t ? o = /* @__PURE__ */ e(
116
98
  "button",
117
99
  {
118
100
  type: "button",
119
101
  "aria-label": p,
120
- className: h + " ds:contents ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
102
+ className: m + " ds:contents ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
121
103
  onClick: () => a == null ? void 0 : a(s),
122
104
  children: l
123
105
  }
124
106
  ) : o = l, /* @__PURE__ */ d(
125
107
  "div",
126
108
  {
127
- ref: y,
109
+ ref: k,
128
110
  role: "listitem",
129
111
  "data-component": "task-card",
130
112
  "data-component-id": s.id,
131
113
  "data-status": s.status ?? "open",
132
114
  "data-priority": s.priority ?? "normal",
133
- className: U({ size: t, interactive: n, className: k }),
115
+ className: U({ size: n, interactive: t, className: v }),
134
116
  ...b,
135
117
  children: [
136
- /* @__PURE__ */ e("span", { className: "ds:relative ds:z-[1] ds:mt-[var(--spacing-2xs)] ds:shrink-0", children: v ?? /* @__PURE__ */ e(R, { status: s.status, priority: s.priority }) }),
118
+ /* @__PURE__ */ e("span", { className: "ds:relative ds:z-[1] ds:mt-[var(--spacing-2xs)] ds:shrink-0", children: g ?? /* @__PURE__ */ e(R, { status: s.status, priority: s.priority }) }),
137
119
  /* @__PURE__ */ d("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
138
120
  o,
139
121
  s.description ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:truncate", children: s.description }) : null,
140
122
  s.note ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:line-clamp-2", children: s.note }) : null,
141
- C ? (
123
+ N ? (
142
124
  // `type-meta` (not `type-eyebrow`): these chips carry proper-noun
143
125
  // values (patient / company / operator name, assignee) that must
144
126
  // not be uppercased. Icons are decorative; the type word is exposed
@@ -153,11 +135,11 @@ const q = L(
153
135
  className: "ds:size-3 ds:shrink-0"
154
136
  }
155
137
  ),
156
- /* @__PURE__ */ e(f, { children: `${N[s.linkType]}: ` }),
138
+ /* @__PURE__ */ e(f, { children: `${y[s.linkType]}: ` }),
157
139
  /* @__PURE__ */ e("span", { className: "ds:truncate", children: s.linkedLabel })
158
140
  ] }) : null,
159
141
  s.assigneeLabel ? /* @__PURE__ */ d("span", { className: "ds:inline-flex ds:min-w-0 ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
160
- /* @__PURE__ */ e(g, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
142
+ /* @__PURE__ */ e(h, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
161
143
  /* @__PURE__ */ e(f, { children: `${r("taskCard.assignee")}: ` }),
162
144
  /* @__PURE__ */ e("span", { className: "ds:truncate", children: s.assigneeLabel })
163
145
  ] }) : null
@@ -170,8 +152,8 @@ const q = L(
170
152
  // Above the stretched-link overlay so the buttons stay clickable.
171
153
  /* @__PURE__ */ e("span", { className: "ds:relative ds:z-[1] ds:flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:shrink-0", children: c })
172
154
  ) : null,
173
- n ? /* @__PURE__ */ e(
174
- z,
155
+ t ? /* @__PURE__ */ e(
156
+ S,
175
157
  {
176
158
  "aria-hidden": "true",
177
159
  className: "ds:mt-[var(--spacing-2xs)] ds:size-4 ds:shrink-0 ds:text-[color:var(--muted-foreground)] ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:group-focus-within:opacity-100 ds:rtl:rotate-180"
@@ -185,6 +167,6 @@ const q = L(
185
167
  q.displayName = "TaskCard";
186
168
  export {
187
169
  q as T,
188
- B as i
170
+ _ as i
189
171
  };
190
- //# sourceMappingURL=task-card-BalrLkSz.js.map
172
+ //# sourceMappingURL=task-card-qTKD1fIT.js.map
@@ -5,7 +5,7 @@ import { useTranslation as M } from "react-i18next";
5
5
  import { I as A } from "./icon-button-8xqRnkdG.js";
6
6
  import { S as V } from "./skeleton-CZbwyJAA.js";
7
7
  import { E as F } from "./empty-state-X0sVPfVo.js";
8
- import { T as G } from "./task-card-BalrLkSz.js";
8
+ import { T as G } from "./task-card-qTKD1fIT.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-wl9eti6J.js.map
239
+ //# sourceMappingURL=task-tray-CQ8UAR2j.js.map
@@ -11,7 +11,7 @@ import { S as Ne } from "./select-CLSUnKjF.js";
11
11
  import { S as Tt } from "./switch-OILsBLWo.js";
12
12
  import { S as St } from "./skeleton-CZbwyJAA.js";
13
13
  import { E as re } from "./empty-state-X0sVPfVo.js";
14
- import { T as zt } from "./task-card-BalrLkSz.js";
14
+ import { T as zt } from "./task-card-qTKD1fIT.js";
15
15
  import { u as Et } from "./use-check-animation--I3cS00X.js";
16
16
  import { a as It, u as _e, R as Re } from "./use-list-reflow-Cw43nxw5.js";
17
17
  import { u as jt } from "./use-theme-CAuo6EYT.js";
@@ -841,4 +841,4 @@ export {
841
841
  ns as T,
842
842
  Gt as t
843
843
  };
844
- //# sourceMappingURL=tasks-panel-BDNB7hsZ.js.map
844
+ //# sourceMappingURL=tasks-panel-CBGMtQ_f.js.map