@alfadocs/ui-kit 0.66.0 → 0.67.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 (153) hide show
  1. package/dist/_chunks/{agenda-card-Bl-SBiCh.js → agenda-card-BxSFkqgY.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-Bh1KfEOG.js → agenda-tray-T-BumlGZ.js} +2 -2
  3. package/dist/_chunks/{ai-consent-banner-Btzmk8OH.js → ai-consent-banner-Dxtx_WAh.js} +2 -2
  4. package/dist/_chunks/{ai-tools-rail-DAfaW8eA.js → ai-tools-rail-DfmewPUN.js} +57 -50
  5. package/dist/_chunks/{alia-sidebar-CN8pA6c-.js → alia-sidebar-Ckv0yCKi.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-qeLYRG79.js → anamnesis-card-N8pIKWuS.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-BfzFjEyb.js → antenatal-schedule-timeline-35ebkcZT.js} +2 -2
  8. package/dist/_chunks/{appointment-tray-BQnJEora.js → appointment-tray-CQJ3Nbi5.js} +4 -4
  9. package/dist/_chunks/{badge-zsf5i5bH.js → badge-CqGsX32l.js} +46 -42
  10. package/dist/_chunks/{bishop-score-DPN4Ched.js → bishop-score-CjsB9bM-.js} +2 -2
  11. package/dist/_chunks/{bmi-calculator-DuUneHuZ.js → bmi-calculator-n-823_1V.js} +2 -2
  12. package/dist/_chunks/{care-plan-card-D42WD4-T.js → care-plan-card-CJei-nl9.js} +4 -4
  13. package/dist/_chunks/{care-plan-entry-card-BukNI7Uy.js → care-plan-entry-card-EmfrbHu8.js} +4 -4
  14. package/dist/_chunks/{clinical-note-card-BYo437dU.js → clinical-note-card-gtrxv6zn.js} +2 -2
  15. package/dist/_chunks/{color-picker-9tL7pz5y.js → color-picker-B7xsn6tX.js} +186 -167
  16. package/dist/_chunks/{contact-profile-card-CCeJmjbd.js → contact-profile-card-7BMB85T6.js} +2 -2
  17. package/dist/_chunks/{cycle-calculator-D6LTmtQt.js → cycle-calculator-BF0ointe.js} +2 -2
  18. package/dist/_chunks/{dependent-selector-CRWgieHm.js → dependent-selector-DpzGtr_J.js} +2 -2
  19. package/dist/_chunks/{document-scanner-biBS_f6c.js → document-scanner-D2qehl3-.js} +53 -53
  20. package/dist/_chunks/{due-date-calculator-CIG194vq.js → due-date-calculator-DU9AEWNy.js} +3 -3
  21. package/dist/_chunks/{editable-currency-cell-renderer-f3d0Rhue.js → editable-currency-cell-renderer-BVJ04DkB.js} +956 -897
  22. package/dist/_chunks/{fetal-weight-Xf8-ZoDy.js → fetal-weight-BVSzOhuR.js} +2 -2
  23. package/dist/_chunks/{gestational-age-calculator-BGsZaWXW.js → gestational-age-calculator-DBlFdoiP.js} +3 -3
  24. package/dist/_chunks/{hcg-doubling-LH5i6oM7.js → hcg-doubling-if4Q8aSX.js} +2 -2
  25. package/dist/_chunks/{marketplace-app-shell-Cou6XnMJ.js → marketplace-app-shell-Bu-HD3fy.js} +3 -3
  26. package/dist/_chunks/{message-card-Bgcvfj6-.js → message-card-Bx4GmLvf.js} +9 -9
  27. package/dist/_chunks/{message-tray-saAVMeHP.js → message-tray-CVyJajVJ.js} +2 -2
  28. package/dist/_chunks/{operator-hero-CM8949Hd.js → operator-hero-f_KaRhw5.js} +2 -2
  29. package/dist/_chunks/{patient-search-Bw9ONucF.js → patient-search-DR9XUYRQ.js} +2 -2
  30. package/dist/_chunks/{patient-shell-Tgpv0HND.js → patient-shell-DrV_iekt.js} +2 -2
  31. package/dist/_chunks/{patient-summary-card-Bgso0p_l.js → patient-summary-card-ByfIU8N0.js} +4 -4
  32. package/dist/_chunks/{payment-request-card-DBz3hVDz.js → payment-request-card-yTjzKQCU.js} +3 -3
  33. package/dist/_chunks/{periodontal-chart-card-AYyHtU9K.js → periodontal-chart-card-Dh3KgvYG.js} +2 -2
  34. package/dist/_chunks/{practice-results-CVAgY2RZ.js → practice-results-DND2SAt7.js} +2 -2
  35. package/dist/_chunks/{pregnancy-dating-f9aJbiAk.js → pregnancy-dating-QY-sqpvj.js} +3 -3
  36. package/dist/_chunks/{pregnancy-weight-gain-BMRBeA8V.js → pregnancy-weight-gain-DOJXXNYP.js} +2 -2
  37. package/dist/_chunks/rich-text-editor-BOQr5lHx.js +1970 -0
  38. package/dist/_chunks/{scroll-area-BWqCkEGz.js → scroll-area-eccd_Uf-.js} +38 -28
  39. package/dist/_chunks/{sidebar-BFwbx74W.js → sidebar-CGjIk_FQ.js} +25 -22
  40. package/dist/_chunks/{suggestion-chip-C4kxWUIs.js → suggestion-chip-Bk4PmYTg.js} +30 -30
  41. package/dist/_chunks/{tab-bar-Xetknddo.js → tab-bar-B1ovILzh.js} +2 -2
  42. package/dist/_chunks/{tag-CdA0s_VV.js → tag-BQXwuJq1.js} +41 -38
  43. package/dist/_chunks/{transaction-chip-BZCa6XDn.js → transaction-chip-BrW8P50O.js} +19 -19
  44. package/dist/_chunks/{workflow-map-Bt4Of5dT.js → workflow-map-JAZryZJr.js} +2 -2
  45. package/dist/agent-catalog.json +1 -1
  46. package/dist/components/agenda-card/index.js +1 -1
  47. package/dist/components/agenda-tray/index.js +1 -1
  48. package/dist/components/ai-consent-banner/index.js +1 -1
  49. package/dist/components/ai-tools-rail/index.js +1 -1
  50. package/dist/components/anamnesis-card/index.js +1 -1
  51. package/dist/components/appointment-card/index.js +1 -1
  52. package/dist/components/badge/index.js +1 -1
  53. package/dist/components/bishop-score/index.js +1 -1
  54. package/dist/components/bmi-calculator/index.js +1 -1
  55. package/dist/components/care-plan-card/index.js +1 -1
  56. package/dist/components/care-plan-entry-card/index.js +1 -1
  57. package/dist/components/clinical-note-card/index.js +1 -1
  58. package/dist/components/color-picker/index.js +1 -1
  59. package/dist/components/contact-profile-card/index.js +1 -1
  60. package/dist/components/cycle-calculator/index.js +1 -1
  61. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +16 -0
  62. package/dist/components/data-table/cell-renderers/tooth-cell-renderer.d.ts +12 -0
  63. package/dist/components/data-table/data-table.d.ts +1 -1
  64. package/dist/components/data-table/index.d.ts +2 -0
  65. package/dist/components/data-table/index.js +13 -12
  66. package/dist/components/data-table/toolbar.d.ts +5 -1
  67. package/dist/components/dependent-selector/index.js +1 -1
  68. package/dist/components/document-scanner/index.js +1 -1
  69. package/dist/components/due-date-calculator/index.js +2 -2
  70. package/dist/components/fetal-weight/index.js +1 -1
  71. package/dist/components/gestational-age-calculator/index.js +1 -1
  72. package/dist/components/hcg-doubling/index.js +1 -1
  73. package/dist/components/message-card/index.js +1 -1
  74. package/dist/components/message-tray/index.js +1 -1
  75. package/dist/components/operator-hero/index.js +1 -1
  76. package/dist/components/patient-search/index.js +1 -1
  77. package/dist/components/patient-summary-card/index.js +1 -1
  78. package/dist/components/payment-card/index.js +1 -1
  79. package/dist/components/periodontal-chart-card/index.js +1 -1
  80. package/dist/components/practice-results/index.js +1 -1
  81. package/dist/components/pregnancy-dating/index.js +1 -1
  82. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  83. package/dist/components/rich-text-editor/editor-toolbar.d.ts +25 -1
  84. package/dist/components/rich-text-editor/index.js +1 -1
  85. package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
  86. package/dist/components/scroll-area/index.js +1 -1
  87. package/dist/components/sidebar/index.js +1 -1
  88. package/dist/components/suggestion-chip/index.js +1 -1
  89. package/dist/components/tab-bar/index.js +1 -1
  90. package/dist/components/tag/index.js +1 -1
  91. package/dist/components/transaction-chip/index.js +1 -1
  92. package/dist/components/workflow/index.js +1 -1
  93. package/dist/i18n/locales/ar.d.ts +10 -0
  94. package/dist/i18n/locales/ar.js +11 -1
  95. package/dist/i18n/locales/de.d.ts +10 -0
  96. package/dist/i18n/locales/de.js +11 -1
  97. package/dist/i18n/locales/el.d.ts +10 -0
  98. package/dist/i18n/locales/el.js +11 -1
  99. package/dist/i18n/locales/en.d.ts +10 -0
  100. package/dist/i18n/locales/en.js +11 -1
  101. package/dist/i18n/locales/es.d.ts +10 -0
  102. package/dist/i18n/locales/es.js +11 -1
  103. package/dist/i18n/locales/fr.d.ts +10 -0
  104. package/dist/i18n/locales/fr.js +11 -1
  105. package/dist/i18n/locales/hi.d.ts +10 -0
  106. package/dist/i18n/locales/hi.js +11 -1
  107. package/dist/i18n/locales/it.d.ts +10 -0
  108. package/dist/i18n/locales/it.js +11 -1
  109. package/dist/i18n/locales/ja.d.ts +10 -0
  110. package/dist/i18n/locales/ja.js +11 -1
  111. package/dist/i18n/locales/nl.d.ts +10 -0
  112. package/dist/i18n/locales/nl.js +9 -1
  113. package/dist/i18n/locales/pl.d.ts +10 -0
  114. package/dist/i18n/locales/pl.js +11 -1
  115. package/dist/i18n/locales/pt.d.ts +10 -0
  116. package/dist/i18n/locales/pt.js +11 -1
  117. package/dist/i18n/locales/ro.d.ts +10 -0
  118. package/dist/i18n/locales/ro.js +11 -1
  119. package/dist/i18n/locales/ru.d.ts +10 -0
  120. package/dist/i18n/locales/ru.js +11 -1
  121. package/dist/i18n/locales/sq.d.ts +10 -0
  122. package/dist/i18n/locales/sq.js +11 -1
  123. package/dist/i18n/locales/sv.d.ts +10 -0
  124. package/dist/i18n/locales/sv.js +9 -1
  125. package/dist/i18n/locales/tr.d.ts +10 -0
  126. package/dist/i18n/locales/tr.js +11 -1
  127. package/dist/i18n/locales/zh.d.ts +10 -0
  128. package/dist/i18n/locales/zh.js +9 -1
  129. package/dist/index.js +508 -507
  130. package/dist/locales/ar.json +11 -1
  131. package/dist/locales/de.json +11 -1
  132. package/dist/locales/el.json +11 -1
  133. package/dist/locales/en.json +11 -1
  134. package/dist/locales/es.json +11 -1
  135. package/dist/locales/fr.json +11 -1
  136. package/dist/locales/hi.json +11 -1
  137. package/dist/locales/it.json +11 -1
  138. package/dist/locales/ja.json +11 -1
  139. package/dist/locales/nl.json +11 -1
  140. package/dist/locales/pl.json +11 -1
  141. package/dist/locales/pt.json +11 -1
  142. package/dist/locales/ro.json +11 -1
  143. package/dist/locales/ru.json +11 -1
  144. package/dist/locales/sq.json +11 -1
  145. package/dist/locales/sv.json +11 -1
  146. package/dist/locales/tr.json +11 -1
  147. package/dist/locales/zh.json +11 -1
  148. package/dist/patterns/alia-assistant/index.js +1 -1
  149. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  150. package/dist/patterns/patient-shell/index.js +1 -1
  151. package/dist/tokens.css +6 -3
  152. package/package.json +1 -1
  153. package/dist/_chunks/rich-text-editor-B5XQNxe8.js +0 -1586
@@ -1,9 +1,9 @@
1
- import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
- import { forwardRef as q, useRef as F, useState as E, useEffect as G } from "react";
1
+ import { jsx as e, jsxs as f } from "react/jsx-runtime";
2
+ import { forwardRef as X, useRef as q, useState as E, useEffect as F } from "react";
3
3
  import { c as B } from "./index-D2ZczOXr.js";
4
- import { useTranslation as H } from "react-i18next";
4
+ import { useTranslation as G } from "react-i18next";
5
5
  import { T as v } from "./tooltip-DvmfrNvB.js";
6
- import { X as J } from "./x-CCcI3eJp.js";
6
+ import { X as H } from "./x-CCcI3eJp.js";
7
7
  const V = B(
8
8
  [
9
9
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
@@ -26,7 +26,10 @@ const V = B(
26
26
  brand: ""
27
27
  },
28
28
  fill: {
29
- solid: "",
29
+ // Solid chips carry a subtle, theme-aware border (a low-opacity
30
+ // foreground mix) so they read as a defined chip on any surface, not a
31
+ // floating fill — works across every colour variant, light and dark.
32
+ solid: "ds:border ds:border-[color:color-mix(in_srgb,var(--foreground)_15%,transparent)]",
30
33
  outline: "ds:border ds:border-[color:var(--border)] ds:bg-transparent"
31
34
  },
32
35
  size: {
@@ -43,7 +46,7 @@ const V = B(
43
46
  {
44
47
  fill: "solid",
45
48
  variant: "neutral",
46
- className: "ds:bg-muted/20 ds:text-muted-foreground"
49
+ className: "ds:bg-muted/20 ds:text-muted-foreground ds:border-[color:var(--border)]"
47
50
  },
48
51
  {
49
52
  fill: "solid",
@@ -74,7 +77,7 @@ const V = B(
74
77
  {
75
78
  fill: "outline",
76
79
  variant: "neutral",
77
- className: "ds:border-muted ds:text-muted-foreground"
80
+ className: "ds:border-[color:var(--border)] ds:text-muted-foreground"
78
81
  },
79
82
  {
80
83
  fill: "outline",
@@ -108,7 +111,7 @@ const V = B(
108
111
  size: "md"
109
112
  }
110
113
  }
111
- ), L = B(
114
+ ), J = B(
112
115
  [
113
116
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0 ds:rounded-full",
114
117
  // Negative end margin keeps the button flush with the pill edge
@@ -129,48 +132,48 @@ const V = B(
129
132
  },
130
133
  defaultVariants: { size: "md" }
131
134
  }
132
- ), M = q(
135
+ ), L = X(
133
136
  ({
134
137
  label: o,
135
138
  variant: g = "neutral",
136
139
  fill: p = "solid",
137
- size: a = "md",
140
+ size: t = "md",
138
141
  leading: m,
139
- onRemove: t,
142
+ onRemove: a,
140
143
  onClick: b,
141
- disabled: e = !1,
144
+ disabled: r = !1,
142
145
  maxInlineSize: n = "none",
143
146
  className: h
144
147
  }, i) => {
145
- const { t: w } = H(), y = F(null), [D, C] = E(!1), [O, R] = E("");
146
- G(() => {
148
+ const { t: w } = G(), y = q(null), [D, C] = E(!1), [O, R] = E("");
149
+ F(() => {
147
150
  const s = y.current;
148
151
  if (!s || n === "none") return;
149
152
  const z = () => C(s.scrollWidth > s.clientWidth), j = new ResizeObserver(z);
150
153
  return j.observe(s), z(), () => j.disconnect();
151
154
  }, [n]);
152
155
  const W = (s) => {
153
- (s.key === "Backspace" || s.key === "Delete") && t && !e && (s.preventDefault(), x(), setTimeout(t, 100));
156
+ (s.key === "Backspace" || s.key === "Delete") && a && !r && (s.preventDefault(), x(), setTimeout(a, 100));
154
157
  }, x = () => {
155
158
  R(w("tag.removed", { label: o }));
156
159
  }, K = () => {
157
- !e && t && (x(), setTimeout(t, 100));
158
- }, d = !!t, N = !!b && !d, T = V({
160
+ !r && a && (x(), setTimeout(a, 100));
161
+ }, d = !!a, N = !!b && !d, T = V({
159
162
  variant: g,
160
163
  fill: p,
161
- size: a,
164
+ size: t,
162
165
  className: [
163
- N && !e ? "ds:hover:brightness-90 ds:cursor-pointer" : "",
166
+ N && !r ? "ds:hover:brightness-90 ds:cursor-pointer" : "",
164
167
  h ?? ""
165
168
  ].filter(Boolean).join(" ")
166
- }), l = m ? /* @__PURE__ */ r(
169
+ }), l = m ? /* @__PURE__ */ e(
167
170
  "span",
168
171
  {
169
172
  "aria-hidden": "true",
170
173
  className: "ds:shrink-0 ds:inline-flex ds:items-center ds:[&>svg]:size-3.5",
171
174
  children: m
172
175
  }
173
- ) : null, c = /* @__PURE__ */ r(
176
+ ) : null, c = /* @__PURE__ */ e(
174
177
  "span",
175
178
  {
176
179
  ref: y,
@@ -178,16 +181,16 @@ const V = B(
178
181
  style: n !== "none" ? { maxInlineSize: n } : void 0,
179
182
  children: o
180
183
  }
181
- ), A = /* @__PURE__ */ r("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: O }), X = d ? /* @__PURE__ */ r(
184
+ ), _ = /* @__PURE__ */ e("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: O }), A = d ? /* @__PURE__ */ e(
182
185
  "button",
183
186
  {
184
187
  type: "button",
185
188
  "aria-label": w("tag.remove", { label: o }),
186
189
  onClick: K,
187
- disabled: e,
190
+ disabled: r,
188
191
  tabIndex: -1,
189
- className: L({ size: a }),
190
- children: /* @__PURE__ */ r(J, { "aria-hidden": "true" })
192
+ className: J({ size: t }),
193
+ children: /* @__PURE__ */ e(H, { "aria-hidden": "true" })
191
194
  }
192
195
  ) : null, u = n !== "none" && D;
193
196
  if (N) {
@@ -196,8 +199,8 @@ const V = B(
196
199
  {
197
200
  ref: i,
198
201
  type: "button",
199
- onClick: e ? void 0 : b,
200
- disabled: e,
202
+ onClick: r ? void 0 : b,
203
+ disabled: r,
201
204
  "data-component": "tag",
202
205
  className: T,
203
206
  children: [
@@ -206,7 +209,7 @@ const V = B(
206
209
  ]
207
210
  }
208
211
  );
209
- return u ? /* @__PURE__ */ r(v, { label: o, children: s }) : s;
212
+ return u ? /* @__PURE__ */ e(v, { label: o, children: s }) : s;
210
213
  }
211
214
  if (d) {
212
215
  const s = (
@@ -217,39 +220,39 @@ const V = B(
217
220
  ref: i,
218
221
  role: "group",
219
222
  "aria-label": o,
220
- tabIndex: e ? -1 : 0,
221
- "aria-disabled": e || void 0,
223
+ tabIndex: r ? -1 : 0,
224
+ "aria-disabled": r || void 0,
222
225
  onKeyDown: W,
223
226
  "data-component": "tag",
224
227
  className: T,
225
228
  children: [
226
- A,
229
+ _,
227
230
  l,
228
231
  c,
229
- X
232
+ A
230
233
  ]
231
234
  }
232
235
  )
233
236
  );
234
- return u ? /* @__PURE__ */ r(v, { label: o, children: s }) : s;
237
+ return u ? /* @__PURE__ */ e(v, { label: o, children: s }) : s;
235
238
  }
236
239
  const k = /* @__PURE__ */ f(
237
240
  "span",
238
241
  {
239
242
  ref: i,
240
243
  "data-component": "tag",
241
- className: V({ variant: g, fill: p, size: a, className: h }),
244
+ className: V({ variant: g, fill: p, size: t, className: h }),
242
245
  children: [
243
246
  l,
244
247
  c
245
248
  ]
246
249
  }
247
250
  );
248
- return u ? /* @__PURE__ */ r(v, { label: o, children: k }) : k;
251
+ return u ? /* @__PURE__ */ e(v, { label: o, children: k }) : k;
249
252
  }
250
253
  );
251
- M.displayName = "Tag";
254
+ L.displayName = "Tag";
252
255
  export {
253
- M as T
256
+ L as T
254
257
  };
255
- //# sourceMappingURL=tag-CdA0s_VV.js.map
258
+ //# sourceMappingURL=tag-BQXwuJq1.js.map
@@ -65,15 +65,15 @@ const L = [
65
65
  // Text uses the deeper `*-foreground` token (matching Badge / Tag) so
66
66
  // small chip text clears WCAG AA (4.5:1) against the 10% tinted
67
67
  // background. The surface and border use the lighter alias.
68
- debt: "ds:bg-destructive/10 ds:text-[color:var(--error-foreground)] ds:border-destructive/20",
69
- credit: "ds:bg-success/10 ds:text-[color:var(--success-foreground)] ds:border-success/20",
68
+ debt: "ds:bg-destructive/10 ds:text-[color:var(--error-foreground)] ds:border-[color:var(--error-foreground)]",
69
+ credit: "ds:bg-success/10 ds:text-[color:var(--success-foreground)] ds:border-[color:var(--success-foreground)]",
70
70
  // The orange "to-invoice" tint has no kit-wide semantic alias — see
71
71
  // src/tokens/index.css §Transaction-chip-scoped tokens. The component
72
72
  // owns the alias because the customer-anchored "Da fatturare" orange
73
73
  // is distinct from `--warning` (yellow) and from `--destructive`.
74
- "to-invoice": "ds:bg-transaction-chip-to-invoice/10 ds:text-[color:var(--transaction-chip-to-invoice-foreground)] ds:border-transaction-chip-to-invoice/20",
75
- "to-deliver": "ds:bg-info/10 ds:text-[color:var(--info-foreground)] ds:border-info/20",
76
- settled: "ds:bg-muted/30 ds:text-muted-foreground ds:border-muted/40"
74
+ "to-invoice": "ds:bg-transaction-chip-to-invoice/10 ds:text-[color:var(--transaction-chip-to-invoice-foreground)] ds:border-[color:var(--transaction-chip-to-invoice-foreground)]",
75
+ "to-deliver": "ds:bg-info/10 ds:text-[color:var(--info-foreground)] ds:border-[color:var(--info-foreground)]",
76
+ settled: "ds:bg-muted/30 ds:text-muted-foreground ds:border-[color:var(--border)]"
77
77
  },
78
78
  size: {
79
79
  // Heights tuned for table-cell density (sm), default app surfaces (md),
@@ -116,24 +116,24 @@ const L = [
116
116
  ), G = T(
117
117
  ({
118
118
  state: e,
119
- amount: m,
120
- currency: t = D,
121
- locale: v,
122
- size: r = "md",
119
+ amount: v,
120
+ currency: r = D,
121
+ locale: m,
122
+ size: t = "md",
123
123
  showLabel: f = !1,
124
- className: p,
125
- "aria-label": u,
124
+ className: u,
125
+ "aria-label": p,
126
126
  ...g
127
127
  }, b) => {
128
- const { t: o, i18n: h } = C(), a = v ?? h.language ?? "en", x = F[e], i = M[e], n = Math.abs(m), y = new Intl.NumberFormat(a, {
128
+ const { t: o, i18n: h } = C(), a = m ?? h.language ?? "en", x = F[e], i = M[e], n = Math.abs(v), y = new Intl.NumberFormat(a, {
129
129
  style: "currency",
130
- currency: t,
130
+ currency: r,
131
131
  signDisplay: "never"
132
132
  }).format(n), d = o(`financial.state.${S[e]}`), w = new Intl.NumberFormat(a, {
133
133
  style: "currency",
134
- currency: t,
134
+ currency: r,
135
135
  signDisplay: e === "debt" ? "always" : "auto"
136
- }).format(n * V[e]), z = u ?? o("financial.aria.label", {
136
+ }).format(n * V[e]), z = p ?? o("financial.aria.label", {
137
137
  state: d,
138
138
  amount: w
139
139
  });
@@ -147,13 +147,13 @@ const L = [
147
147
  "data-state": e,
148
148
  className: U({
149
149
  state: e,
150
- size: r,
150
+ size: t,
151
151
  bold: e !== "settled",
152
- className: p
152
+ className: u
153
153
  }),
154
154
  ...g,
155
155
  children: [
156
- /* @__PURE__ */ s("span", { "aria-hidden": "true", className: j({ size: r }), children: /* @__PURE__ */ s(x, {}) }),
156
+ /* @__PURE__ */ s("span", { "aria-hidden": "true", className: j({ size: t }), children: /* @__PURE__ */ s(x, {}) }),
157
157
  f && /* @__PURE__ */ s("span", { "aria-hidden": "true", className: "type-eyebrow", children: d }),
158
158
  i && /* @__PURE__ */ s(
159
159
  "span",
@@ -182,4 +182,4 @@ export {
182
182
  G as T,
183
183
  R as a
184
184
  };
185
- //# sourceMappingURL=transaction-chip-BZCa6XDn.js.map
185
+ //# sourceMappingURL=transaction-chip-BrW8P50O.js.map
@@ -3,7 +3,7 @@ import { forwardRef as H, useMemo as q, useRef as z, useCallback as F, useState
3
3
  import { c as D } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as M } from "react-i18next";
5
5
  import { C } from "./card-DPmk26CL.js";
6
- import { B as ye } from "./badge-zsf5i5bH.js";
6
+ import { B as ye } from "./badge-CqGsX32l.js";
7
7
  import { a as Z } from "./key-value-pair-BrgbMfbF.js";
8
8
  import { T as xe } from "./timestamp-BV2lC-wV.js";
9
9
  import { I as S } from "./icon-button-LqoiKcUN.js";
@@ -1354,4 +1354,4 @@ export {
1354
1354
  ee as r,
1355
1355
  L as w
1356
1356
  };
1357
- //# sourceMappingURL=workflow-map-Bt4Of5dT.js.map
1357
+ //# sourceMappingURL=workflow-map-JAZryZJr.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.66.0",
3
+ "packageVersion": "0.67.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,4 +1,4 @@
1
- import { A as e } from "../../_chunks/agenda-card-Bl-SBiCh.js";
1
+ import { A as e } from "../../_chunks/agenda-card-BxSFkqgY.js";
2
2
  import { a as d } from "../../_chunks/agenda-card.agent-B_R47-c9.js";
3
3
  import { i as g } from "../../_chunks/is-safe-url-DkETxeHz.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { A as r, a as g } from "../../_chunks/agenda-tray-Bh1KfEOG.js";
1
+ import { A as r, a as g } from "../../_chunks/agenda-tray-T-BumlGZ.js";
2
2
  export {
3
3
  r as AgendaTray,
4
4
  g as agendaTrayAgent
@@ -1,4 +1,4 @@
1
- import { A as e, a as o } from "../../_chunks/ai-consent-banner-Btzmk8OH.js";
1
+ import { A as e, a as o } from "../../_chunks/ai-consent-banner-Dxtx_WAh.js";
2
2
  export {
3
3
  e as AiConsentBanner,
4
4
  o as aiConsentBannerAgent
@@ -1,4 +1,4 @@
1
- import { A as i, a as l } from "../../_chunks/ai-tools-rail-DAfaW8eA.js";
1
+ import { A as i, a as l } from "../../_chunks/ai-tools-rail-DfmewPUN.js";
2
2
  export {
3
3
  i as AiToolsRail,
4
4
  l as aiToolsRailAgent
@@ -1,4 +1,4 @@
1
- import { A as s } from "../../_chunks/anamnesis-card-qeLYRG79.js";
1
+ import { A as s } from "../../_chunks/anamnesis-card-N8pIKWuS.js";
2
2
  export {
3
3
  s as AnamnesisCard
4
4
  };
@@ -1,4 +1,4 @@
1
- import { A as n, a as p, b as e, c as o } from "../../_chunks/appointment-tray-BQnJEora.js";
1
+ import { A as n, a as p, b as e, c as o } from "../../_chunks/appointment-tray-CQJ3Nbi5.js";
2
2
  import { i } from "../../_chunks/is-safe-url-DkETxeHz.js";
3
3
  export {
4
4
  n as AppointmentCard,
@@ -1,4 +1,4 @@
1
- import { B as o } from "../../_chunks/badge-zsf5i5bH.js";
1
+ import { B as o } from "../../_chunks/badge-CqGsX32l.js";
2
2
  export {
3
3
  o as Badge
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as O, a as S, b as o, c as B, d as P, e } from "../../_chunks/bishop-score-DPN4Ched.js";
1
+ import { B as O, a as S, b as o, c as B, d as P, e } from "../../_chunks/bishop-score-CjsB9bM-.js";
2
2
  export {
3
3
  O as BISHOP_COMPONENTS,
4
4
  S as BISHOP_MAX_SCORE,
@@ -1,4 +1,4 @@
1
- import { B as m } from "../../_chunks/bmi-calculator-DuUneHuZ.js";
1
+ import { B as m } from "../../_chunks/bmi-calculator-n-823_1V.js";
2
2
  import { b as e, a as t, c as r, d as T, e as c, f as i, i as b, k as n, l as f } from "../../_chunks/bmi-BxD-tFzU.js";
3
3
  export {
4
4
  m as BmiCalculator,
@@ -1,4 +1,4 @@
1
- import { C as e, c as C } from "../../_chunks/care-plan-card-D42WD4-T.js";
1
+ import { C as e, c as C } from "../../_chunks/care-plan-card-CJei-nl9.js";
2
2
  export {
3
3
  e as CarePlanCard,
4
4
  C as carePlanCardAgent
@@ -1,4 +1,4 @@
1
- import { C as n, c as e } from "../../_chunks/care-plan-entry-card-BukNI7Uy.js";
1
+ import { C as n, c as e } from "../../_chunks/care-plan-entry-card-EmfrbHu8.js";
2
2
  export {
3
3
  n as CarePlanEntryCard,
4
4
  e as carePlanEntryCardAgent
@@ -1,4 +1,4 @@
1
- import { C as e, c as i } from "../../_chunks/clinical-note-card-BYo437dU.js";
1
+ import { C as e, c as i } from "../../_chunks/clinical-note-card-gtrxv6zn.js";
2
2
  export {
3
3
  e as ClinicalNoteCard,
4
4
  i as clinicalNoteCardAgent
@@ -1,4 +1,4 @@
1
- import { A as E, B as P, C as o } from "../../_chunks/color-picker-9tL7pz5y.js";
1
+ import { A as E, B as P, C as o } from "../../_chunks/color-picker-B7xsn6tX.js";
2
2
  export {
3
3
  E as APPOINTMENT_PALETTE,
4
4
  P as BRAND_PALETTE,
@@ -1,4 +1,4 @@
1
- import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-CCeJmjbd.js";
1
+ import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-7BMB85T6.js";
2
2
  export {
3
3
  _ as CONTACT_PROFILE_CARD_ROW_ICONS,
4
4
  O as CONTACT_PROFILE_CARD_ROW_KEYS,
@@ -1,4 +1,4 @@
1
- import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-D6LTmtQt.js";
1
+ import { C as e, L as l, p as r } from "../../_chunks/cycle-calculator-BF0ointe.js";
2
2
  export {
3
3
  e as CycleCalculator,
4
4
  l as LUTEAL_PHASE_DAYS,
@@ -18,6 +18,22 @@ export interface ActionDef<TData = unknown> {
18
18
  }
19
19
  export interface ActionsCellRendererParams<TData = unknown> {
20
20
  actions: ActionDef<TData>[];
21
+ /** Intent of the inline buttons / the collapsed trigger (default `ghost`). */
22
+ intent?: 'ghost' | 'outline';
23
+ /**
24
+ * Render the inline buttons as a connected `IconButtonGroup` (a segmented
25
+ * control) rather than a loose row. Requires `label` for the group name.
26
+ */
27
+ group?: boolean;
28
+ /** Accessible name for the group and the collapsed overflow trigger. */
29
+ label?: string;
30
+ /**
31
+ * Collapse the actions into a single "…" overflow menu instead of inline
32
+ * buttons. Pass a getter to flip it at runtime — call
33
+ * `api.refreshCells({ force: true })` after the underlying value changes so
34
+ * the cells re-read it (this preserves column state, unlike rebuilding defs).
35
+ */
36
+ collapsed?: boolean | (() => boolean);
21
37
  }
22
38
  export declare function ActionsCellRenderer<TData = unknown>(props: CustomCellRendererProps<TData> & ActionsCellRendererParams<TData>): import("react/jsx-runtime").JSX.Element | null;
23
39
  //# sourceMappingURL=actions-cell-renderer.d.ts.map
@@ -0,0 +1,12 @@
1
+ import type { CustomCellRendererProps } from 'ag-grid-react';
2
+ export interface ToothCellRendererParams {
3
+ /** Max inline size of the chip before its label truncates (with a tooltip). */
4
+ maxInlineSize?: string;
5
+ }
6
+ /**
7
+ * Renders an array of tooth ids (FDI notation) as a single outlined Tag — the
8
+ * teeth comma-separated and prefixed with a tooth glyph, so dentition reads at
9
+ * a glance instead of as bare numbers.
10
+ */
11
+ export declare function ToothCellRenderer(props: CustomCellRendererProps<unknown, string[]> & ToothCellRendererParams): import("react/jsx-runtime").JSX.Element | null;
12
+ //# sourceMappingURL=tooth-cell-renderer.d.ts.map
@@ -78,7 +78,7 @@ export declare const DataTable: (<TData = unknown>(props: DataTableProps<TData>
78
78
  label?: string;
79
79
  } & import("react").RefAttributes<HTMLButtonElement>>;
80
80
  ColumnToggle: {
81
- ({ label }: import("./toolbar").ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
81
+ ({ label, icon, footer }: import("./toolbar").ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
82
82
  displayName: string;
83
83
  };
84
84
  BulkAction: import("react").ForwardRefExoticComponent<import("./toolbar").BulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -22,6 +22,8 @@ export { ImageCellRenderer } from './cell-renderers/image-cell-renderer';
22
22
  export type { ImageCellRendererParams } from './cell-renderers/image-cell-renderer';
23
23
  export { TagListCellRenderer } from './cell-renderers/tag-list-cell-renderer';
24
24
  export type { TagListCellRendererParams } from './cell-renderers/tag-list-cell-renderer';
25
+ export { ToothCellRenderer } from './cell-renderers/tooth-cell-renderer';
26
+ export type { ToothCellRendererParams } from './cell-renderers/tooth-cell-renderer';
25
27
  export { DateCellRenderer } from './cell-renderers/date-cell-renderer';
26
28
  export type { DateCellFormat, DateCellRendererParams, } from './cell-renderers/date-cell-renderer';
27
29
  export { CurrencyCellRenderer } from './cell-renderers/currency-cell-renderer';
@@ -1,4 +1,4 @@
1
- import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-f3d0Rhue.js";
1
+ import { A as l, B as r, C as t, a as s, D as n, b as d, c as o, d as i, E as C, e as R, I as F, L as T, N as g, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as h, m as y, n as E, o as S, p as A, U as L, q as N, r as k, u as B } from "../../_chunks/editable-currency-cell-renderer-BVJ04DkB.js";
2
2
  export {
3
3
  l as ActionsCellRenderer,
4
4
  r as BalanceCellRenderer,
@@ -6,13 +6,13 @@ export {
6
6
  s as CurrencyCellRenderer,
7
7
  n as DataTable,
8
8
  d as DateCellRenderer,
9
- i as DateRangeFilter,
10
- o as DateRangeFloatingFilter,
9
+ o as DateRangeFilter,
10
+ i as DateRangeFloatingFilter,
11
11
  C as EditableCurrencyCellRenderer,
12
12
  R as EditableTextCellRenderer,
13
13
  F as ImageCellRenderer,
14
- g as LinkCellRenderer,
15
- T as NumberFilter,
14
+ T as LinkCellRenderer,
15
+ g as NumberFilter,
16
16
  b as NumberFloatingFilter,
17
17
  u as SelectFilter,
18
18
  c as SelectFloatingFilter,
@@ -21,13 +21,14 @@ export {
21
21
  p as TextFilter,
22
22
  x as TextFloatingFilter,
23
23
  f as ToggleCellRenderer,
24
- y as Toolbar,
25
- E as ToolbarProvider,
24
+ h as Toolbar,
25
+ y as ToolbarProvider,
26
+ E as ToothCellRenderer,
26
27
  S as TypeaheadFilter,
27
- h as TypeaheadFloatingFilter,
28
- A as UserCellRenderer,
29
- L as dataTableAgent,
30
- N as defaultExportPdf,
31
- k as useTotalRow
28
+ A as TypeaheadFloatingFilter,
29
+ L as UserCellRenderer,
30
+ N as dataTableAgent,
31
+ k as defaultExportPdf,
32
+ B as useTotalRow
32
33
  };
33
34
  //# sourceMappingURL=index.js.map
@@ -82,6 +82,10 @@ export interface ExportMenuProps {
82
82
  }
83
83
  export interface ColumnToggleProps {
84
84
  label?: string;
85
+ /** Override the trigger glyph (defaults to the Columns icon). */
86
+ icon?: ReactNode;
87
+ /** Extra content rendered below the column list (e.g. a settings switch). */
88
+ footer?: ReactNode;
85
89
  }
86
90
  export interface BulkActionProps extends Omit<ButtonProps, 'onClick' | 'children' | 'startIcon' | 'intent'> {
87
91
  label: string;
@@ -101,7 +105,7 @@ export declare const Toolbar: import("react").ForwardRefExoticComponent<ToolbarR
101
105
  label?: string;
102
106
  } & import("react").RefAttributes<HTMLButtonElement>>;
103
107
  ColumnToggle: {
104
- ({ label }: ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
108
+ ({ label, icon, footer }: ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
105
109
  displayName: string;
106
110
  };
107
111
  BulkAction: import("react").ForwardRefExoticComponent<BulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,4 @@
1
- import { D as n, d } from "../../_chunks/dependent-selector-CRWgieHm.js";
1
+ import { D as n, d } from "../../_chunks/dependent-selector-DpzGtr_J.js";
2
2
  export {
3
3
  n as DependentSelector,
4
4
  d as dependentSelectorAgent
@@ -1,4 +1,4 @@
1
- import { D as a, d as c } from "../../_chunks/document-scanner-biBS_f6c.js";
1
+ import { D as a, d as c } from "../../_chunks/document-scanner-D2qehl3-.js";
2
2
  export {
3
3
  a as DocumentScanner,
4
4
  c as documentScannerAgent
@@ -1,5 +1,5 @@
1
- import { D as e } from "../../_chunks/due-date-calculator-CIG194vq.js";
2
- import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-BfzFjEyb.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-DU9AEWNy.js";
2
+ import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-35ebkcZT.js";
3
3
  export {
4
4
  r as CRL_DATING_MAX_MM,
5
5
  o as CRL_DATING_MIN_MM,
@@ -1,4 +1,4 @@
1
- import { F as a, e as i } from "../../_chunks/fetal-weight-Xf8-ZoDy.js";
1
+ import { F as a, e as i } from "../../_chunks/fetal-weight-BVSzOhuR.js";
2
2
  export {
3
3
  a as FetalWeight,
4
4
  i as estimateFetalWeight
@@ -1,4 +1,4 @@
1
- import { G as t } from "../../_chunks/gestational-age-calculator-BGsZaWXW.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-DBlFdoiP.js";
2
2
  export {
3
3
  t as GestationalAgeCalculator
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H, M as g, a as o } from "../../_chunks/hcg-doubling-LH5i6oM7.js";
1
+ import { H, M as g, a as o } from "../../_chunks/hcg-doubling-if4Q8aSX.js";
2
2
  export {
3
3
  H as HcgDoubling,
4
4
  g as MINIMAL_48H_RISE_PERCENT,
@@ -1,4 +1,4 @@
1
- import { M as a } from "../../_chunks/message-card-Bgcvfj6-.js";
1
+ import { M as a } from "../../_chunks/message-card-Bx4GmLvf.js";
2
2
  import { m as o } from "../../_chunks/message-card.agent-4IeIgrnJ.js";
3
3
  import { i as f } from "../../_chunks/is-safe-url-DkETxeHz.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { M as s, m as r } from "../../_chunks/message-tray-saAVMeHP.js";
1
+ import { M as s, m as r } from "../../_chunks/message-tray-CVyJajVJ.js";
2
2
  export {
3
3
  s as MessageTray,
4
4
  r as messageTrayAgent
@@ -1,4 +1,4 @@
1
- import { O as e, o as a } from "../../_chunks/operator-hero-CM8949Hd.js";
1
+ import { O as e, o as a } from "../../_chunks/operator-hero-f_KaRhw5.js";
2
2
  export {
3
3
  e as OperatorHero,
4
4
  a as operatorHeroAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as r } from "../../_chunks/patient-search-Bw9ONucF.js";
1
+ import { P as t, p as r } from "../../_chunks/patient-search-DR9XUYRQ.js";
2
2
  export {
3
3
  t as PatientSearch,
4
4
  r as patientSearchAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as m } from "../../_chunks/patient-summary-card-Bgso0p_l.js";
1
+ import { P as t, p as m } from "../../_chunks/patient-summary-card-ByfIU8N0.js";
2
2
  export {
3
3
  t as PatientSummaryCard,
4
4
  m as patientSummaryCardAgent
@@ -1,4 +1,4 @@
1
- import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-DBz3hVDz.js";
1
+ import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-yTjzKQCU.js";
2
2
  export {
3
3
  t as PaymentCard,
4
4
  n as PaymentRequestCard,