@alfadocs/ui-kit 1.7.0 → 1.8.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 (138) hide show
  1. package/dist/_chunks/{anamnesis-summary-rows-F-cCmFAn.js → anamnesis-summary-rows-d44s_whc.js} +2 -2
  2. package/dist/_chunks/{antenatal-schedule-timeline-BjlF2rTz.js → antenatal-schedule-timeline-B1k8QkA6.js} +3 -3
  3. package/dist/_chunks/{appointment-card-BhcPJpXh.js → appointment-card-Dzr3GeVz.js} +73 -90
  4. package/dist/_chunks/{appointment-timeline-CMPvzlGZ.js → appointment-timeline-0mwtpErq.js} +3 -3
  5. package/dist/_chunks/{appointment-tray-3c_FLxXJ.js → appointment-tray-4FUu_5NX.js} +2 -2
  6. package/dist/_chunks/armchair-BaLDW6Hz.js +23 -0
  7. package/dist/_chunks/{booking-CQMJUFG-.js → booking-DHkKcUIl.js} +4 -4
  8. package/dist/_chunks/{calendar-4dXTvsCz.js → calendar-B4Gnyu1C.js} +553 -437
  9. package/dist/_chunks/calendar-event-card-Bjdbik8G.js +425 -0
  10. package/dist/_chunks/{care-plan-card-DQjVRDxO.js → care-plan-card-aDN4oem9.js} +3 -3
  11. package/dist/_chunks/{care-plan-entry-card-CMpoeNkb.js → care-plan-entry-card-BEhANdBE.js} +2 -2
  12. package/dist/_chunks/{care-plan-header-CxYoq23f.js → care-plan-header-CkpPyQqG.js} +2 -2
  13. package/dist/_chunks/{color-picker-D-tUwxxT.js → color-picker-oZ6zYks8.js} +164 -151
  14. package/dist/_chunks/control-room-rail-Cj2iX9h_.js +337 -0
  15. package/dist/_chunks/{cycle-calculator-DzgO1vzP.js → cycle-calculator-DmtYGhqq.js} +3 -3
  16. package/dist/_chunks/{date-picker-Bp64zk2p.js → date-picker-CepI_oI2.js} +77 -74
  17. package/dist/_chunks/{date-picker-variants-pKAJfnWr.js → date-picker-variants-DfuooXEK.js} +7 -2
  18. package/dist/_chunks/{date-range-picker-CDrZ8Zh0.js → date-range-picker-BD8P_rJq.js} +46 -45
  19. package/dist/_chunks/{date-time-picker-DVETwpzc.js → date-time-picker-3I2vVKGV.js} +2 -2
  20. package/dist/_chunks/{due-date-calculator-wK8Tajzz.js → due-date-calculator-BF_Ikofx.js} +4 -4
  21. package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-DmrgYSEX.js} +4 -4
  22. package/dist/_chunks/{gestational-age-calculator-C_uDAeP_.js → gestational-age-calculator-CxZelpu2.js} +5 -5
  23. package/dist/_chunks/{hcg-doubling-BaXkJhT-.js → hcg-doubling-CpU7H5rQ.js} +3 -3
  24. package/dist/_chunks/{link-cell-renderer-DH4JYpKU.js → link-cell-renderer-BZQtsuFz.js} +2 -2
  25. package/dist/_chunks/{notes-panel-DlnENphf.js → notes-panel-e9cJWVRg.js} +2 -2
  26. package/dist/_chunks/{operator-hero-CCDnIa1S.js → operator-hero-BnFv-Uef.js} +2 -2
  27. package/dist/_chunks/{parse-JqixfsU0.js → parse-MN9bGkrY.js} +2 -2
  28. package/dist/_chunks/{patient-details-qnsqYBGQ.js → patient-details-xrqe13az.js} +160 -159
  29. package/dist/_chunks/{patient-table-DwshfVsQ.js → patient-table-BqYomX50.js} +2 -2
  30. package/dist/_chunks/{payment-automation-upsell-BBIG7NFL.js → payment-automation-upsell-DwQW2fRp.js} +52 -63
  31. package/dist/_chunks/{payment-request-card-BjjBMdsp.js → payment-request-card-YVCcCZ25.js} +2 -2
  32. package/dist/_chunks/{pregnancy-dating-BVS_9YU2.js → pregnancy-dating-DtToyMyc.js} +5 -5
  33. package/dist/_chunks/{radiograph-panel.agent-CiHwgISa.js → radiograph-panel.agent-C3trfWqB.js} +3 -3
  34. package/dist/_chunks/repeat-CvQa5rZt.js +17 -0
  35. package/dist/_chunks/resource-chip-DYTG0IQQ.js +83 -0
  36. package/dist/_chunks/{rich-text-editor-DARnq_6N.js → rich-text-editor-BDfFtK4H.js} +2 -2
  37. package/dist/_chunks/subDays-BLl3y3pd.js +8 -0
  38. package/dist/agent-catalog.json +2 -2
  39. package/dist/components/appointment-card/index.js +2 -2
  40. package/dist/components/appointment-timeline/index.js +1 -1
  41. package/dist/components/booking/index.js +1 -1
  42. package/dist/components/calendar/calendar.d.ts +138 -12
  43. package/dist/components/calendar/index.js +1 -1
  44. package/dist/components/calendar-event-card/calendar-event-card.d.ts +48 -11
  45. package/dist/components/calendar-event-card/index.js +1 -1
  46. package/dist/components/care-plan-card/index.js +1 -1
  47. package/dist/components/care-plan-entry-card/index.js +1 -1
  48. package/dist/components/care-plan-header/index.js +1 -1
  49. package/dist/components/color-picker/index.d.ts +1 -1
  50. package/dist/components/color-picker/index.js +4 -3
  51. package/dist/components/color-picker/palettes.d.ts +10 -0
  52. package/dist/components/control-room-rail/control-room-rail.d.ts +9 -0
  53. package/dist/components/control-room-rail/index.js +1 -1
  54. package/dist/components/cycle-calculator/index.js +1 -1
  55. package/dist/components/data-table/index.js +1 -1
  56. package/dist/components/date-picker/date-picker.d.ts +11 -0
  57. package/dist/components/date-picker/index.js +1 -1
  58. package/dist/components/date-range-picker/index.js +1 -1
  59. package/dist/components/date-time-picker/index.js +1 -1
  60. package/dist/components/due-date-calculator/index.js +2 -2
  61. package/dist/components/gestational-age-calculator/index.js +1 -1
  62. package/dist/components/hcg-doubling/index.js +1 -1
  63. package/dist/components/index.d.ts +1 -0
  64. package/dist/components/notes-panel/index.js +1 -1
  65. package/dist/components/operator-hero/index.js +1 -1
  66. package/dist/components/patient-details/index.js +1 -1
  67. package/dist/components/patient-details/patient-details.d.ts +8 -0
  68. package/dist/components/patient-table/index.js +1 -1
  69. package/dist/components/payment-card/index.js +1 -1
  70. package/dist/components/pregnancy-dating/index.js +1 -1
  71. package/dist/components/radiograph-panel/index.js +1 -1
  72. package/dist/components/resource-chip/index.d.ts +3 -0
  73. package/dist/components/resource-chip/index.js +5 -0
  74. package/dist/components/resource-chip/resource-chip.d.ts +26 -0
  75. package/dist/components/rich-text-editor/index.js +1 -1
  76. package/dist/host-compat.css +7 -1
  77. package/dist/i18n/locales/ar.d.ts +4 -0
  78. package/dist/i18n/locales/ar.js +4 -0
  79. package/dist/i18n/locales/de.d.ts +4 -0
  80. package/dist/i18n/locales/de.js +4 -0
  81. package/dist/i18n/locales/el.d.ts +4 -0
  82. package/dist/i18n/locales/el.js +4 -0
  83. package/dist/i18n/locales/en.d.ts +4 -0
  84. package/dist/i18n/locales/en.js +4 -0
  85. package/dist/i18n/locales/es.d.ts +4 -0
  86. package/dist/i18n/locales/es.js +4 -0
  87. package/dist/i18n/locales/fr.d.ts +4 -0
  88. package/dist/i18n/locales/fr.js +4 -0
  89. package/dist/i18n/locales/hi.d.ts +4 -0
  90. package/dist/i18n/locales/hi.js +4 -0
  91. package/dist/i18n/locales/it.d.ts +4 -0
  92. package/dist/i18n/locales/it.js +4 -0
  93. package/dist/i18n/locales/ja.d.ts +4 -0
  94. package/dist/i18n/locales/ja.js +4 -0
  95. package/dist/i18n/locales/nl.d.ts +4 -0
  96. package/dist/i18n/locales/nl.js +4 -0
  97. package/dist/i18n/locales/pl.d.ts +4 -0
  98. package/dist/i18n/locales/pl.js +4 -0
  99. package/dist/i18n/locales/pt.d.ts +4 -0
  100. package/dist/i18n/locales/pt.js +4 -0
  101. package/dist/i18n/locales/ro.d.ts +4 -0
  102. package/dist/i18n/locales/ro.js +4 -0
  103. package/dist/i18n/locales/ru.d.ts +4 -0
  104. package/dist/i18n/locales/ru.js +4 -0
  105. package/dist/i18n/locales/sq.d.ts +4 -0
  106. package/dist/i18n/locales/sq.js +4 -0
  107. package/dist/i18n/locales/sv.d.ts +4 -0
  108. package/dist/i18n/locales/sv.js +4 -0
  109. package/dist/i18n/locales/tr.d.ts +4 -0
  110. package/dist/i18n/locales/tr.js +4 -0
  111. package/dist/i18n/locales/zh.d.ts +4 -0
  112. package/dist/i18n/locales/zh.js +4 -0
  113. package/dist/index.js +961 -958
  114. package/dist/locales/ar.json +4 -0
  115. package/dist/locales/de.json +4 -0
  116. package/dist/locales/el.json +4 -0
  117. package/dist/locales/en.json +4 -0
  118. package/dist/locales/es.json +4 -0
  119. package/dist/locales/fr.json +4 -0
  120. package/dist/locales/hi.json +4 -0
  121. package/dist/locales/it.json +4 -0
  122. package/dist/locales/ja.json +4 -0
  123. package/dist/locales/nl.json +4 -0
  124. package/dist/locales/pl.json +4 -0
  125. package/dist/locales/pt.json +4 -0
  126. package/dist/locales/ro.json +4 -0
  127. package/dist/locales/ru.json +4 -0
  128. package/dist/locales/sq.json +4 -0
  129. package/dist/locales/sv.json +4 -0
  130. package/dist/locales/tr.json +4 -0
  131. package/dist/locales/zh.json +4 -0
  132. package/dist/patterns/anamnesis/index.js +1 -1
  133. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  134. package/dist/tokens.css +40 -24
  135. package/package.json +5 -1
  136. package/dist/_chunks/calendar-event-card-C6qGtywL.js +0 -257
  137. package/dist/_chunks/control-room-rail-IH1eBjrK.js +0 -333
  138. package/dist/_chunks/subDays-CAUv47M1.js +0 -8
@@ -16,7 +16,7 @@ import { T as Q } from "./tabs-CBb2AidH.js";
16
16
  import { T as sn } from "./text-area-Bt3p7Pt0.js";
17
17
  import { T as ne } from "./text-input-CUvCb6ST.js";
18
18
  import { T as Ye } from "./timestamp-BV2lC-wV.js";
19
- import { D as ri } from "./date-picker-Bp64zk2p.js";
19
+ import { D as ri } from "./date-picker-CepI_oI2.js";
20
20
  import { A as Ge } from "./alert-CiJT540z.js";
21
21
  import { D as _ } from "./description-list-CjJqR8WK.js";
22
22
  import { c as Za } from "./index-D2ZczOXr.js";
@@ -9410,4 +9410,4 @@ export {
9410
9410
  Vt as t,
9411
9411
  ql as u
9412
9412
  };
9413
- //# sourceMappingURL=anamnesis-summary-rows-F-cCmFAn.js.map
9413
+ //# sourceMappingURL=anamnesis-summary-rows-d44s_whc.js.map
@@ -1,5 +1,5 @@
1
- import { a as y } from "./date-picker-variants-pKAJfnWr.js";
2
- import { s as p } from "./subDays-CAUv47M1.js";
1
+ import { a as y } from "./date-picker-variants-DfuooXEK.js";
2
+ import { s as p } from "./subDays-BLl3y3pd.js";
3
3
  import { d as N } from "./format-4HNwNGrN.js";
4
4
  import { jsx as u, jsxs as f } from "react/jsx-runtime";
5
5
  import { useMemo as M } from "react";
@@ -411,4 +411,4 @@ export {
411
411
  pt as r,
412
412
  w as t
413
413
  };
414
- //# sourceMappingURL=antenatal-schedule-timeline-BjlF2rTz.js.map
414
+ //# sourceMappingURL=antenatal-schedule-timeline-B1k8QkA6.js.map
@@ -1,45 +1,28 @@
1
1
  import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
- import { forwardRef as F } from "react";
2
+ import { forwardRef as H } from "react";
3
3
  import { c as W } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Y } from "react-i18next";
5
- import { A as P } from "./avatar-BNQNhoyL.js";
5
+ import { A as _ } from "./avatar-BNQNhoyL.js";
6
6
  import { B as i } from "./badge-sTusUqZD.js";
7
- import { T as J } from "./tag-3wgkwwDB.js";
8
- import { T as Q } from "./timestamp-BV2lC-wV.js";
9
- import { T as X } from "./transaction-chip-DJCstquX.js";
10
- import { i as Z } from "./is-safe-url-DkETxeHz.js";
11
- import { V as aa } from "./video-BheNGvsu.js";
12
- import { M as ra } from "./map-pin-BaY37-Km.js";
13
- import { a as ea, b as sa, c as oa } from "./entity-card-9_62gY7l.js";
14
- import { S as na } from "./star-Bf9L2Uot.js";
15
- import { c as E } from "./createLucideIcon-DhHxpK9K.js";
16
- import { G as ta } from "./globe-sHBW1JN5.js";
17
- import { C as da } from "./chevron-right-I9AeSxH2.js";
7
+ import { T as q } from "./tag-3wgkwwDB.js";
8
+ import { T as J } from "./timestamp-BV2lC-wV.js";
9
+ import { T as Q } from "./transaction-chip-DJCstquX.js";
10
+ import { i as X } from "./is-safe-url-DkETxeHz.js";
11
+ import { V as Z } from "./video-BheNGvsu.js";
12
+ import { M as aa } from "./map-pin-BaY37-Km.js";
13
+ import { c as ra, a as sa, b as ea } from "./entity-card-DmrgYSEX.js";
14
+ import { S as oa } from "./star-Bf9L2Uot.js";
15
+ import { c as na } from "./createLucideIcon-DhHxpK9K.js";
16
+ import { A as ta } from "./armchair-BaLDW6Hz.js";
17
+ import { G as da } from "./globe-sHBW1JN5.js";
18
+ import { C as ia } from "./chevron-right-I9AeSxH2.js";
18
19
  /**
19
20
  * @license lucide-react v1.22.0 - ISC
20
21
  *
21
22
  * This source code is licensed under the ISC license.
22
23
  * See the LICENSE file in the root directory of this source tree.
23
24
  */
24
- const ia = [
25
- ["path", { d: "M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3", key: "irtipd" }],
26
- [
27
- "path",
28
- {
29
- d: "M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",
30
- key: "1qyhux"
31
- }
32
- ],
33
- ["path", { d: "M5 18v2", key: "ppbyun" }],
34
- ["path", { d: "M19 18v2", key: "gy7782" }]
35
- ], la = E("armchair", ia);
36
- /**
37
- * @license lucide-react v1.22.0 - ISC
38
- *
39
- * This source code is licensed under the ISC license.
40
- * See the LICENSE file in the root directory of this source tree.
41
- */
42
- const ca = [
25
+ const la = [
43
26
  ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
44
27
  [
45
28
  "path",
@@ -50,7 +33,7 @@ const ca = [
50
33
  ],
51
34
  ["path", { d: "M9 14h6", key: "159ibu" }],
52
35
  ["path", { d: "M12 17v-6", key: "1y8rbf" }]
53
- ], pa = E("clipboard-plus", ca), ma = {
36
+ ], ca = na("clipboard-plus", la), pa = {
54
37
  "var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
55
38
  "var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
56
39
  "var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
@@ -63,10 +46,10 @@ const ca = [
63
46
  "var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
64
47
  "var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
65
48
  };
66
- function ua(a) {
67
- return ma[oa(a)] ?? "ds:bg-[var(--color-grey-700)]";
49
+ function ma(a) {
50
+ return pa[ea(a)] ?? "ds:bg-[var(--color-grey-700)]";
68
51
  }
69
- const fa = W(
52
+ const ua = W(
70
53
  [
71
54
  "ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
72
55
  "ds:rounded-[var(--radius-md)]",
@@ -112,35 +95,35 @@ const fa = W(
112
95
  "ds:focus-visible:after:outline-[color:var(--ring)]",
113
96
  "ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
114
97
  "ds:forced-colors:focus-visible:after:outline-[CanvasText]"
115
- ].join(" "), va = {
116
- inPractice: ra,
117
- telehealth: aa
118
- }, ga = F(
98
+ ].join(" "), fa = {
99
+ inPractice: aa,
100
+ telehealth: Z
101
+ }, ga = H(
119
102
  ({
120
103
  item: a,
121
- size: v = "sm",
122
- surface: U = "flat",
123
- locale: g,
124
- currency: $ = "EUR",
104
+ size: g = "sm",
105
+ surface: A = "flat",
106
+ locale: v,
107
+ currency: E = "EUR",
125
108
  showPatient: d = !0,
126
109
  onActivate: n,
127
- className: A,
110
+ className: U,
128
111
  ...D
129
- }, B) => {
130
- var C, k, T, w, z, R, M, S, V, I, L, _, O;
131
- const { t: e } = Y(), l = !!n, G = !!a.url && Z(a.url), p = ((C = a.patient) == null ? void 0 : C.name) ?? e("appointmentCard.noPatient"), t = (k = a.operator) == null ? void 0 : k.name, m = e(`appointmentCard.state.${a.state}`), h = v === "md" ? "md" : "sm", K = va[a.type], b = d ? p : t ?? e("appointmentCard.appointment"), y = d ? e("appointmentCard.itemLabel", {
112
+ }, $) => {
113
+ var C, k, T, w, z, R, S, I, L, V, O, P, M;
114
+ const { t: s } = Y(), l = !!n, B = !!a.url && X(a.url), p = ((C = a.patient) == null ? void 0 : C.name) ?? s("appointmentCard.noPatient"), t = (k = a.operator) == null ? void 0 : k.name, m = s(`appointmentCard.state.${a.state}`), h = g === "md" ? "md" : "sm", G = fa[a.type], b = d ? p : t ?? s("appointmentCard.appointment"), y = d ? s("appointmentCard.itemLabel", {
132
115
  patient: p,
133
116
  state: m
134
- }) : e("appointmentCard.itemLabelGeneric", { title: b, state: m }), u = /* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate type-title-item ds:text-[color:var(--foreground)]", children: b });
117
+ }) : s("appointmentCard.itemLabelGeneric", { title: b, state: m }), u = /* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate type-title-item ds:text-[color:var(--foreground)]", children: b });
135
118
  let c;
136
- l && G ? c = /* @__PURE__ */ r(
119
+ l && B ? c = /* @__PURE__ */ r(
137
120
  "a",
138
121
  {
139
122
  href: a.url,
140
123
  "aria-label": y,
141
124
  className: j + " ds:contents",
142
- onClick: (s) => {
143
- s.defaultPrevented || s.metaKey || s.ctrlKey || s.shiftKey || n == null || n(a);
125
+ onClick: (e) => {
126
+ e.defaultPrevented || e.metaKey || e.ctrlKey || e.shiftKey || n == null || n(a);
144
127
  },
145
128
  children: u
146
129
  }
@@ -154,64 +137,64 @@ const fa = W(
154
137
  children: u
155
138
  }
156
139
  ) : c = u;
157
- const x = (a.treatments ?? []).map((s, H) => {
158
- const q = s.elements && s.elements.length > 0 ? e("appointmentCard.treatmentWithElements", {
159
- care: s.careName,
160
- elements: s.elements.join(", ")
161
- }) : s.careName;
140
+ const x = (a.treatments ?? []).map((e, K) => {
141
+ const F = e.elements && e.elements.length > 0 ? s("appointmentCard.treatmentWithElements", {
142
+ care: e.careName,
143
+ elements: e.elements.join(", ")
144
+ }) : e.careName;
162
145
  return /* @__PURE__ */ r(
163
- J,
146
+ q,
164
147
  {
165
- label: q,
148
+ label: F,
166
149
  variant: "neutral",
167
150
  fill: "outline",
168
151
  size: "sm",
169
152
  maxInlineSize: "12rem"
170
153
  },
171
- `${s.careName}-${H}`
154
+ `${e.careName}-${K}`
172
155
  );
173
156
  }), f = (T = a.bookingReason) == null ? void 0 : T.advanceAmountCents, N = typeof f == "number" && f > 0;
174
157
  return /* @__PURE__ */ o(
175
158
  "div",
176
159
  {
177
- ref: B,
160
+ ref: $,
178
161
  role: "listitem",
179
162
  "data-component": "appointment-card",
180
163
  "data-component-id": a.id,
181
164
  "data-state": a.state,
182
165
  "data-type": a.type,
183
- className: fa({
184
- size: v,
166
+ className: ua({
167
+ size: g,
185
168
  interactive: l,
186
- surface: U,
187
- className: A
169
+ surface: A,
170
+ className: U
188
171
  }),
189
172
  ...D,
190
173
  children: [
191
174
  /* @__PURE__ */ o("span", { className: "ds:flex ds:w-16 ds:shrink-0 ds:flex-col ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
192
175
  /* @__PURE__ */ o("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: [
193
- /* @__PURE__ */ r(K, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
194
- /* @__PURE__ */ r("span", { className: "ds:sr-only", children: e(`appointmentCard.type.${a.type}`) }),
176
+ /* @__PURE__ */ r(G, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
177
+ /* @__PURE__ */ r("span", { className: "ds:sr-only", children: s(`appointmentCard.type.${a.type}`) }),
195
178
  /* @__PURE__ */ r(
196
- Q,
179
+ J,
197
180
  {
198
181
  value: a.startIso,
199
182
  format: "absolute",
200
183
  shape: "bare",
201
- locale: g,
184
+ locale: v,
202
185
  absoluteFormat: { hour: "numeric", minute: "2-digit" },
203
186
  className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
204
187
  }
205
188
  )
206
189
  ] }),
207
- /* @__PURE__ */ r("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: e("appointmentCard.duration", { count: a.durationMin }) })
190
+ /* @__PURE__ */ r("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s("appointmentCard.duration", { count: a.durationMin }) })
208
191
  ] }),
209
192
  t ? /* @__PURE__ */ o("span", { className: "ds:relative ds:shrink-0", children: [
210
193
  /* @__PURE__ */ r(
211
- P,
194
+ _,
212
195
  {
213
196
  name: t,
214
- color: ea((w = a.operator) == null ? void 0 : w.colorId),
197
+ color: ra((w = a.operator) == null ? void 0 : w.colorId),
215
198
  size: h,
216
199
  "aria-hidden": "true",
217
200
  role: "presentation",
@@ -222,7 +205,7 @@ const fa = W(
222
205
  "span",
223
206
  {
224
207
  "aria-hidden": "true",
225
- className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " + ua((z = a.operator) == null ? void 0 : z.colorId)
208
+ className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " + ma((z = a.operator) == null ? void 0 : z.colorId)
226
209
  }
227
210
  )
228
211
  ] }) : null,
@@ -230,7 +213,7 @@ const fa = W(
230
213
  /* @__PURE__ */ o("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]", children: [
231
214
  /* @__PURE__ */ o("div", { className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
232
215
  d && ((R = a.patient) != null && R.avatarUrl) ? /* @__PURE__ */ r(
233
- P,
216
+ _,
234
217
  {
235
218
  name: p,
236
219
  src: a.patient.avatarUrl,
@@ -254,38 +237,38 @@ const fa = W(
254
237
  }
255
238
  )
256
239
  ] }),
257
- d && t || (M = a.bookingReason) != null && M.specialty || a.firstVisit === "yes" ? /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
240
+ d && t || (S = a.bookingReason) != null && S.specialty || a.firstVisit === "yes" ? /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
258
241
  d && t ? /* @__PURE__ */ r("span", { children: t }) : null,
259
- (S = a.bookingReason) != null && S.specialty ? /* @__PURE__ */ r("span", { children: a.bookingReason.specialty }) : null,
242
+ (I = a.bookingReason) != null && I.specialty ? /* @__PURE__ */ r("span", { children: a.bookingReason.specialty }) : null,
260
243
  a.firstVisit === "yes" ? /* @__PURE__ */ o("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
261
- /* @__PURE__ */ r(na, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
262
- e("appointmentCard.firstVisit")
244
+ /* @__PURE__ */ r(oa, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
245
+ s("appointmentCard.firstVisit")
263
246
  ] }) : null
264
247
  ] }) : null,
265
- (V = a.bookingReason) != null && V.description ? /* @__PURE__ */ r("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
248
+ (L = a.bookingReason) != null && L.description ? /* @__PURE__ */ r("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
266
249
  x.length > 0 ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: x }) : null,
267
- a.carePlan || a.chair || (I = a.flags) != null && I.bookedOnline || (L = a.flags) != null && L.highlightedAnamnesis || N ? /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
250
+ a.carePlan || a.chair || (V = a.flags) != null && V.bookedOnline || (O = a.flags) != null && O.highlightedAnamnesis || N ? /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
268
251
  a.carePlan ? /* @__PURE__ */ r(
269
252
  i,
270
253
  {
271
254
  variant: "accentSoft",
272
255
  size: "sm",
273
- leading: /* @__PURE__ */ r(pa, {}),
274
- children: e("appointmentCard.carePlan", {
256
+ leading: /* @__PURE__ */ r(ca, {}),
257
+ children: s("appointmentCard.carePlan", {
275
258
  number: a.carePlan.number
276
259
  })
277
260
  }
278
261
  ) : null,
279
- a.chair ? /* @__PURE__ */ r(i, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ r(la, {}), children: e("appointmentCard.chair", { chair: a.chair }) }) : null,
280
- (_ = a.flags) != null && _.bookedOnline ? /* @__PURE__ */ r(i, { variant: "info", size: "sm", leading: /* @__PURE__ */ r(ta, {}), children: e("appointmentCard.flag.bookedOnline") }) : null,
281
- (O = a.flags) != null && O.highlightedAnamnesis ? /* @__PURE__ */ r(i, { variant: "warning", size: "sm", withDot: !0, children: e("appointmentCard.flag.highlightedAnamnesis") }) : null,
262
+ a.chair ? /* @__PURE__ */ r(i, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ r(ta, {}), children: s("appointmentCard.chair", { chair: a.chair }) }) : null,
263
+ (P = a.flags) != null && P.bookedOnline ? /* @__PURE__ */ r(i, { variant: "info", size: "sm", leading: /* @__PURE__ */ r(da, {}), children: s("appointmentCard.flag.bookedOnline") }) : null,
264
+ (M = a.flags) != null && M.highlightedAnamnesis ? /* @__PURE__ */ r(i, { variant: "warning", size: "sm", withDot: !0, children: s("appointmentCard.flag.highlightedAnamnesis") }) : null,
282
265
  N ? /* @__PURE__ */ r(
283
- X,
266
+ Q,
284
267
  {
285
268
  state: "to-invoice",
286
269
  amount: f / 100,
287
- currency: $,
288
- locale: g,
270
+ currency: E,
271
+ locale: v,
289
272
  size: "sm",
290
273
  showLabel: !0
291
274
  }
@@ -293,7 +276,7 @@ const fa = W(
293
276
  ] }) : null
294
277
  ] }),
295
278
  l ? /* @__PURE__ */ r(
296
- da,
279
+ ia,
297
280
  {
298
281
  "aria-hidden": "true",
299
282
  className: "ds:size-4 ds:shrink-0 ds:self-center 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"
@@ -308,4 +291,4 @@ ga.displayName = "AppointmentCard";
308
291
  export {
309
292
  ga as A
310
293
  };
311
- //# sourceMappingURL=appointment-card-BhcPJpXh.js.map
294
+ //# sourceMappingURL=appointment-card-Dzr3GeVz.js.map
@@ -2,10 +2,10 @@ import { jsxs as C, jsx as o, Fragment as ve } from "react/jsx-runtime";
2
2
  import { forwardRef as ke, useId as be, useMemo as M, useRef as T, useState as X, useCallback as x, useImperativeHandle as Te } from "react";
3
3
  import { c as xe } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as De } from "react-i18next";
5
- import { A as we } from "./appointment-card-BhcPJpXh.js";
5
+ import { A as we } from "./appointment-card-Dzr3GeVz.js";
6
6
  import { B as K } from "./button-nJaPh_HC.js";
7
7
  import { B as Re } from "./button-group-CaxRJsNG.js";
8
- import { D as Ie } from "./date-picker-Bp64zk2p.js";
8
+ import { D as Ie } from "./date-picker-CepI_oI2.js";
9
9
  import { P as Se } from "./panel-header-D313n_9-.js";
10
10
  import { S as je } from "./skeleton-CZbwyJAA.js";
11
11
  import { E as Ce } from "./empty-state-X0sVPfVo.js";
@@ -385,4 +385,4 @@ export {
385
385
  Ke as A,
386
386
  Ne as a
387
387
  };
388
- //# sourceMappingURL=appointment-timeline-CMPvzlGZ.js.map
388
+ //# sourceMappingURL=appointment-timeline-0mwtpErq.js.map
@@ -5,7 +5,7 @@ import { useTranslation as H } from "react-i18next";
5
5
  import { I as M } from "./icon-button-DA2CAGHZ.js";
6
6
  import { S as q } from "./skeleton-CZbwyJAA.js";
7
7
  import { E as K } from "./empty-state-X0sVPfVo.js";
8
- import { A as V } from "./appointment-card-BhcPJpXh.js";
8
+ import { A as V } from "./appointment-card-Dzr3GeVz.js";
9
9
  import { u as _ } from "./registry-DvAUVLHh.js";
10
10
  import { C as B } from "./calendar-days-BGWklvE-.js";
11
11
  import { P as D } from "./plus-DzMQ_c6b.js";
@@ -190,4 +190,4 @@ export {
190
190
  ae as a,
191
191
  L as b
192
192
  };
193
- //# sourceMappingURL=appointment-tray-3c_FLxXJ.js.map
193
+ //# sourceMappingURL=appointment-tray-4FUu_5NX.js.map
@@ -0,0 +1,23 @@
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 t = [
9
+ ["path", { d: "M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3", key: "irtipd" }],
10
+ [
11
+ "path",
12
+ {
13
+ d: "M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",
14
+ key: "1qyhux"
15
+ }
16
+ ],
17
+ ["path", { d: "M5 18v2", key: "ppbyun" }],
18
+ ["path", { d: "M19 18v2", key: "gy7782" }]
19
+ ], e = a("armchair", t);
20
+ export {
21
+ e as A
22
+ };
23
+ //# sourceMappingURL=armchair-BaLDW6Hz.js.map
@@ -7,7 +7,7 @@ import { A as j } from "./alert-CiJT540z.js";
7
7
  import { B as ne } from "./button-nJaPh_HC.js";
8
8
  import { C as Ke } from "./checkbox-BuZ1u__2.js";
9
9
  import { C as Et } from "./checkbox-group-CfqMv57d.js";
10
- import { D as Lt } from "./date-picker-Bp64zk2p.js";
10
+ import { D as Lt } from "./date-picker-CepI_oI2.js";
11
11
  import { E as Rt } from "./email-input-Dpe63k0K.js";
12
12
  import { F as W } from "./form-field-CahJzTxp.js";
13
13
  import { P as Vt } from "./phone-input-BsZIoE36.js";
@@ -25,8 +25,8 @@ import { S as Kt } from "./stepper-progress-Bv0njx4g.js";
25
25
  import { S as jt } from "./slot-grid-BuZOKfcd.js";
26
26
  import { p as $ } from "./parseISO-fOGpHKXm.js";
27
27
  import { l as le, f as Te, b as at } from "./format-4HNwNGrN.js";
28
- import { w as lt, c as ce, a as je, i as qt, s as ye, l as Ht, x as De } from "./date-picker-variants-pKAJfnWr.js";
29
- import { s as Gt } from "./subDays-CAUv47M1.js";
28
+ import { w as lt, c as ce, a as je, i as qt, s as ye, l as Ht, x as De } from "./date-picker-variants-DfuooXEK.js";
29
+ import { s as Gt } from "./subDays-BLl3y3pd.js";
30
30
  import { C as Ut } from "./chevron-left-B8cOyH-V.js";
31
31
  import { C as Yt } from "./chevron-right-I9AeSxH2.js";
32
32
  import { c as z } from "./createLucideIcon-DhHxpK9K.js";
@@ -2710,4 +2710,4 @@ export {
2710
2710
  Q as O,
2711
2711
  Da as b
2712
2712
  };
2713
- //# sourceMappingURL=booking-CQMJUFG-.js.map
2713
+ //# sourceMappingURL=booking-DHkKcUIl.js.map