@alfadocs/ui-kit 0.65.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 (159) 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-JnlTqfS4.js → ai-tools-rail-DfmewPUN.js} +92 -76
  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-x2fNqbuZ.js → bishop-score-CjsB9bM-.js} +3 -3
  11. package/dist/_chunks/{bmi-calculator-C3roxbqD.js → bmi-calculator-n-823_1V.js} +3 -3
  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/columns-2-BTOBZbep.js +15 -0
  17. package/dist/_chunks/{contact-profile-card-CCeJmjbd.js → contact-profile-card-7BMB85T6.js} +2 -2
  18. package/dist/_chunks/{cycle-calculator-DrVXbIB4.js → cycle-calculator-BF0ointe.js} +3 -3
  19. package/dist/_chunks/{dependent-selector-CRWgieHm.js → dependent-selector-DpzGtr_J.js} +2 -2
  20. package/dist/_chunks/{document-scanner-biBS_f6c.js → document-scanner-D2qehl3-.js} +53 -53
  21. package/dist/_chunks/{due-date-calculator-D4K1BnE2.js → due-date-calculator-DU9AEWNy.js} +4 -4
  22. package/dist/_chunks/{editable-currency-cell-renderer-CFqQc56y.js → editable-currency-cell-renderer-BVJ04DkB.js} +914 -865
  23. package/dist/_chunks/{fetal-weight-B_pBjlO7.js → fetal-weight-BVSzOhuR.js} +3 -3
  24. package/dist/_chunks/{gestational-age-calculator-BETQAVkA.js → gestational-age-calculator-DBlFdoiP.js} +4 -4
  25. package/dist/_chunks/{hcg-doubling-8zXCJgAQ.js → hcg-doubling-if4Q8aSX.js} +3 -3
  26. package/dist/_chunks/{type-DZ5OMRA2.js → image-C6RM5hfF.js} +4 -16
  27. package/dist/_chunks/{insert-result-DIAG3ltJ.js → insert-result-njqBthzT.js} +68 -57
  28. package/dist/_chunks/{marketplace-app-shell-BXfRMiRk.js → marketplace-app-shell-Bu-HD3fy.js} +3 -3
  29. package/dist/_chunks/{message-card-Bgcvfj6-.js → message-card-Bx4GmLvf.js} +9 -9
  30. package/dist/_chunks/{message-tray-saAVMeHP.js → message-tray-CVyJajVJ.js} +2 -2
  31. package/dist/_chunks/{operator-hero-CM8949Hd.js → operator-hero-f_KaRhw5.js} +2 -2
  32. package/dist/_chunks/{patient-search-Bw9ONucF.js → patient-search-DR9XUYRQ.js} +2 -2
  33. package/dist/_chunks/{patient-shell-CF_qon7C.js → patient-shell-DrV_iekt.js} +2 -2
  34. package/dist/_chunks/{patient-summary-card-Bgso0p_l.js → patient-summary-card-ByfIU8N0.js} +4 -4
  35. package/dist/_chunks/{payment-request-card-DBz3hVDz.js → payment-request-card-yTjzKQCU.js} +3 -3
  36. package/dist/_chunks/{periodontal-chart-card-AYyHtU9K.js → periodontal-chart-card-Dh3KgvYG.js} +2 -2
  37. package/dist/_chunks/{practice-results-CVAgY2RZ.js → practice-results-DND2SAt7.js} +2 -2
  38. package/dist/_chunks/{pregnancy-dating-BuzLTwjy.js → pregnancy-dating-QY-sqpvj.js} +4 -4
  39. package/dist/_chunks/{pregnancy-weight-gain-aicn7qs7.js → pregnancy-weight-gain-DOJXXNYP.js} +3 -3
  40. package/dist/_chunks/rich-text-editor-BOQr5lHx.js +1970 -0
  41. package/dist/_chunks/{scroll-area-BWqCkEGz.js → scroll-area-eccd_Uf-.js} +38 -28
  42. package/dist/_chunks/{sidebar-DPEHzxLZ.js → sidebar-CGjIk_FQ.js} +36 -22
  43. package/dist/_chunks/{suggestion-chip-C4kxWUIs.js → suggestion-chip-Bk4PmYTg.js} +30 -30
  44. package/dist/_chunks/{tab-bar-Xetknddo.js → tab-bar-B1ovILzh.js} +2 -2
  45. package/dist/_chunks/{tag-CdA0s_VV.js → tag-BQXwuJq1.js} +41 -38
  46. package/dist/_chunks/{transaction-chip-BZCa6XDn.js → transaction-chip-BrW8P50O.js} +19 -19
  47. package/dist/_chunks/trash-2-rPAKaRgB.js +18 -0
  48. package/dist/_chunks/{unit-converter-CHN2cZ4b.js → unit-converter-C1V3ACM9.js} +2 -2
  49. package/dist/_chunks/{workflow-map-BX3JY1Bu.js → workflow-map-JAZryZJr.js} +137 -149
  50. package/dist/agent-catalog.json +1 -1
  51. package/dist/components/agenda-card/index.js +1 -1
  52. package/dist/components/agenda-tray/index.js +1 -1
  53. package/dist/components/ai-consent-banner/index.js +1 -1
  54. package/dist/components/ai-tools-rail/index.js +1 -1
  55. package/dist/components/anamnesis-card/index.js +1 -1
  56. package/dist/components/appointment-card/index.js +1 -1
  57. package/dist/components/badge/index.js +1 -1
  58. package/dist/components/bishop-score/index.js +1 -1
  59. package/dist/components/bmi-calculator/index.js +1 -1
  60. package/dist/components/care-plan-card/index.js +1 -1
  61. package/dist/components/care-plan-entry-card/index.js +1 -1
  62. package/dist/components/clinical-note-card/index.js +1 -1
  63. package/dist/components/color-picker/index.js +1 -1
  64. package/dist/components/contact-profile-card/index.js +1 -1
  65. package/dist/components/cycle-calculator/index.js +1 -1
  66. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +16 -0
  67. package/dist/components/data-table/cell-renderers/tooth-cell-renderer.d.ts +12 -0
  68. package/dist/components/data-table/data-table.d.ts +1 -1
  69. package/dist/components/data-table/index.d.ts +2 -0
  70. package/dist/components/data-table/index.js +13 -12
  71. package/dist/components/data-table/toolbar.d.ts +5 -1
  72. package/dist/components/dependent-selector/index.js +1 -1
  73. package/dist/components/document-scanner/index.js +1 -1
  74. package/dist/components/due-date-calculator/index.js +2 -2
  75. package/dist/components/fetal-weight/index.js +1 -1
  76. package/dist/components/gestational-age-calculator/index.js +1 -1
  77. package/dist/components/hcg-doubling/index.js +1 -1
  78. package/dist/components/message-card/index.js +1 -1
  79. package/dist/components/message-tray/index.js +1 -1
  80. package/dist/components/operator-hero/index.js +1 -1
  81. package/dist/components/patient-search/index.js +1 -1
  82. package/dist/components/patient-summary-card/index.js +1 -1
  83. package/dist/components/payment-card/index.js +1 -1
  84. package/dist/components/periodontal-chart-card/index.js +1 -1
  85. package/dist/components/practice-results/index.js +1 -1
  86. package/dist/components/pregnancy-dating/index.js +1 -1
  87. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  88. package/dist/components/rich-text-editor/editor-toolbar.d.ts +36 -2
  89. package/dist/components/rich-text-editor/index.js +1 -1
  90. package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
  91. package/dist/components/scroll-area/index.js +1 -1
  92. package/dist/components/sidebar/index.js +1 -1
  93. package/dist/components/suggestion-chip/index.js +1 -1
  94. package/dist/components/tab-bar/index.js +1 -1
  95. package/dist/components/tag/index.js +1 -1
  96. package/dist/components/transaction-chip/index.js +1 -1
  97. package/dist/components/unit-converter/index.js +1 -1
  98. package/dist/components/workflow/index.js +1 -1
  99. package/dist/i18n/locales/ar.d.ts +26 -0
  100. package/dist/i18n/locales/ar.js +27 -1
  101. package/dist/i18n/locales/de.d.ts +26 -0
  102. package/dist/i18n/locales/de.js +27 -1
  103. package/dist/i18n/locales/el.d.ts +26 -0
  104. package/dist/i18n/locales/el.js +27 -1
  105. package/dist/i18n/locales/en.d.ts +26 -0
  106. package/dist/i18n/locales/en.js +27 -1
  107. package/dist/i18n/locales/es.d.ts +26 -0
  108. package/dist/i18n/locales/es.js +27 -1
  109. package/dist/i18n/locales/fr.d.ts +26 -0
  110. package/dist/i18n/locales/fr.js +27 -1
  111. package/dist/i18n/locales/hi.d.ts +26 -0
  112. package/dist/i18n/locales/hi.js +27 -1
  113. package/dist/i18n/locales/it.d.ts +26 -0
  114. package/dist/i18n/locales/it.js +27 -1
  115. package/dist/i18n/locales/ja.d.ts +26 -0
  116. package/dist/i18n/locales/ja.js +27 -1
  117. package/dist/i18n/locales/nl.d.ts +26 -0
  118. package/dist/i18n/locales/nl.js +25 -1
  119. package/dist/i18n/locales/pl.d.ts +26 -0
  120. package/dist/i18n/locales/pl.js +27 -1
  121. package/dist/i18n/locales/pt.d.ts +26 -0
  122. package/dist/i18n/locales/pt.js +27 -1
  123. package/dist/i18n/locales/ro.d.ts +26 -0
  124. package/dist/i18n/locales/ro.js +27 -1
  125. package/dist/i18n/locales/ru.d.ts +26 -0
  126. package/dist/i18n/locales/ru.js +27 -1
  127. package/dist/i18n/locales/sq.d.ts +26 -0
  128. package/dist/i18n/locales/sq.js +27 -1
  129. package/dist/i18n/locales/sv.d.ts +26 -0
  130. package/dist/i18n/locales/sv.js +25 -1
  131. package/dist/i18n/locales/tr.d.ts +26 -0
  132. package/dist/i18n/locales/tr.js +27 -1
  133. package/dist/i18n/locales/zh.d.ts +26 -0
  134. package/dist/i18n/locales/zh.js +25 -1
  135. package/dist/index.js +509 -508
  136. package/dist/locales/ar.json +27 -1
  137. package/dist/locales/de.json +27 -1
  138. package/dist/locales/el.json +27 -1
  139. package/dist/locales/en.json +27 -1
  140. package/dist/locales/es.json +27 -1
  141. package/dist/locales/fr.json +27 -1
  142. package/dist/locales/hi.json +27 -1
  143. package/dist/locales/it.json +27 -1
  144. package/dist/locales/ja.json +27 -1
  145. package/dist/locales/nl.json +27 -1
  146. package/dist/locales/pl.json +27 -1
  147. package/dist/locales/pt.json +27 -1
  148. package/dist/locales/ro.json +27 -1
  149. package/dist/locales/ru.json +27 -1
  150. package/dist/locales/sq.json +27 -1
  151. package/dist/locales/sv.json +27 -1
  152. package/dist/locales/tr.json +27 -1
  153. package/dist/locales/zh.json +27 -1
  154. package/dist/patterns/alia-assistant/index.js +1 -1
  155. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  156. package/dist/patterns/patient-shell/index.js +1 -1
  157. package/dist/tokens.css +6 -3
  158. package/package.json +1 -1
  159. package/dist/_chunks/rich-text-editor-u36FqSWz.js +0 -1190
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.65.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-JnlTqfS4.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-x2fNqbuZ.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-C3roxbqD.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-DrVXbIB4.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-CFqQc56y.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-D4K1BnE2.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-B_pBjlO7.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-BETQAVkA.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-8zXCJgAQ.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,
@@ -1,4 +1,4 @@
1
- import { P as o, a as t, p as d } from "../../_chunks/periodontal-chart-card-AYyHtU9K.js";
1
+ import { P as o, a as t, p as d } from "../../_chunks/periodontal-chart-card-Dh3KgvYG.js";
2
2
  export {
3
3
  o as PERIODONTAL_SITE_ORDER,
4
4
  t as PeriodontalChartCard,
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-CVAgY2RZ.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-DND2SAt7.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -1,4 +1,4 @@
1
- import { P as r } from "../../_chunks/pregnancy-dating-BuzLTwjy.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-QY-sqpvj.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as s, R as n, T as i, a as r, r as A } from "../../_chunks/pregnancy-weight-gain-aicn7qs7.js";
1
+ import { P as s, R as n, T as i, a as r, r as A } from "../../_chunks/pregnancy-weight-gain-DOJXXNYP.js";
2
2
  export {
3
3
  s as PregnancyWeightGain,
4
4
  n as RATE_BANDS,
@@ -1,3 +1,4 @@
1
+ import { type RefObject } from 'react';
1
2
  export type EditorToolbarPreset = 'minimal' | 'standard' | 'full';
2
3
  export interface EditorToolbarProps {
3
4
  /** Dispatch a Redactor command (and refresh active state). */
@@ -5,12 +6,45 @@ export interface EditorToolbarProps {
5
6
  /** Active formats at the caret — toggle buttons render pressed. */
6
7
  active: ReadonlySet<string>;
7
8
  preset: EditorToolbarPreset;
8
- /** Show the text-colour control (consumer loaded the fontcolor plugin). */
9
+ /** Insert sanitised HTML at the caret (link / image / table). */
10
+ insertHtml: (html: string) => void;
11
+ /** Insert a table — list-aware (drops it after a list, never inside an <li>). */
12
+ insertTable: (html: string) => void;
13
+ /** Save the editor selection before a DS popover/dialog takes focus. */
14
+ saveSelection: () => void;
15
+ /** Restore the saved selection before applying. */
16
+ restoreSelection: () => void;
17
+ /** Current selected text — prefills the link dialog's text field. */
18
+ getSelectedText: () => string;
19
+ /** Upload an image file and resolve its URL (image dialog's upload area). */
20
+ uploadImage?: (file: File, signal?: AbortSignal) => Promise<string>;
21
+ /** Show the text-colour control. */
9
22
  enableColor?: boolean;
10
23
  /** Show the image control (consumer set an image-upload URL). */
11
24
  enableImage?: boolean;
12
25
  /** Show the table control (consumer loaded the table plugin). */
13
26
  enableTable?: boolean;
27
+ /**
28
+ * Show an "Editor extensions" tools affordance (marketplace tools), placed
29
+ * inline at the end of the toolbar. Currently a visual placeholder — not
30
+ * wired to a menu.
31
+ */
32
+ showExtensions?: boolean;
14
33
  }
15
- export declare function EditorToolbar({ run, active, preset, enableColor, enableImage, enableTable, }: EditorToolbarProps): React.JSX.Element;
34
+ export interface TableFloatingToolbarProps {
35
+ active: ReadonlySet<string>;
36
+ run: EditorToolbarProps['run'];
37
+ /** Positioned container the bar is absolutely placed within. */
38
+ areaRef: RefObject<HTMLDivElement | null>;
39
+ /** The <table> the caret is currently inside (relative to this editor). */
40
+ getActiveTableEl: () => HTMLElement | null;
41
+ /** Show the cell/row background-colour controls (fontcolor plugin loaded). */
42
+ enableColor?: boolean;
43
+ /** Snapshot the current cell before a colour popover takes focus. */
44
+ saveTableCell: () => void;
45
+ /** Set/clear a background colour on the current cell or its row. */
46
+ applyTableBackground: (scope: 'cell' | 'row', colour: string | null) => void;
47
+ }
48
+ export declare function TableFloatingToolbar({ active, run, areaRef, getActiveTableEl, enableColor, saveTableCell, applyTableBackground, }: TableFloatingToolbarProps): React.JSX.Element | null;
49
+ export declare function EditorToolbar({ run, active, preset, insertHtml, insertTable, saveSelection, restoreSelection, getSelectedText, uploadImage, enableColor, enableImage, enableTable, showExtensions, }: EditorToolbarProps): React.JSX.Element;
16
50
  //# sourceMappingURL=editor-toolbar.d.ts.map
@@ -1,4 +1,4 @@
1
- import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-u36FqSWz.js";
1
+ import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-BOQr5lHx.js";
2
2
  export {
3
3
  a as RichTextEditor,
4
4
  e as richTextEditorAgent,
@@ -24,6 +24,8 @@ export interface RichTextEditorProps {
24
24
  ariaLabel?: string;
25
25
  /** Size variant for the minimum block-size of the editing region. */
26
26
  minHeight?: 'sm' | 'md' | 'lg';
27
+ /** Show a right-aligned editor-extensions affordance (visual placeholder). */
28
+ showExtensions?: boolean;
27
29
  /** Extra class names on the wrapper. */
28
30
  className?: string;
29
31
  /** Inject the Redactor factory explicitly; else `window.$R` / `window.Redactor`. */
@@ -1,4 +1,4 @@
1
- import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-BWqCkEGz.js";
1
+ import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-eccd_Uf-.js";
2
2
  export {
3
3
  l as ScrollArea,
4
4
  o as ScrollAreaCorner,
@@ -1,4 +1,4 @@
1
- import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as p, k as l, l as c, m as g, n as u, o as I, p as P, q as f, s as h, u as B } from "../../_chunks/sidebar-DPEHzxLZ.js";
1
+ import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as p, k as l, l as c, m as g, n as u, o as I, p as P, q as f, s as h, u as B } from "../../_chunks/sidebar-CGjIk_FQ.js";
2
2
  import { u as k } from "../../_chunks/use-persistent-state-i23OWy6G.js";
3
3
  export {
4
4
  r as Sidebar,
@@ -1,4 +1,4 @@
1
- import { S as g, a as e } from "../../_chunks/suggestion-chip-C4kxWUIs.js";
1
+ import { S as g, a as e } from "../../_chunks/suggestion-chip-Bk4PmYTg.js";
2
2
  import { s as p } from "../../_chunks/suggestion-chip.agent-6sNWFj7m.js";
3
3
  export {
4
4
  g as SuggestionChip,
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../_chunks/tab-bar-Xetknddo.js";
1
+ import { T as o } from "../../_chunks/tab-bar-B1ovILzh.js";
2
2
  export {
3
3
  o as TabBar
4
4
  };
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../_chunks/tag-CdA0s_VV.js";
1
+ import { T as r } from "../../_chunks/tag-BQXwuJq1.js";
2
2
  export {
3
3
  r as Tag
4
4
  };
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../_chunks/transaction-chip-BZCa6XDn.js";
1
+ import { T as r } from "../../_chunks/transaction-chip-BrW8P50O.js";
2
2
  export {
3
3
  r as TransactionChip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-CHN2cZ4b.js";
1
+ import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-C1V3ACM9.js";
2
2
  export {
3
3
  r as CATEGORIES,
4
4
  t as UNITS,
@@ -1,4 +1,4 @@
1
- import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-BX3JY1Bu.js";
1
+ import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-JAZryZJr.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,
@@ -1660,12 +1660,15 @@ export declare const arUi: {
1660
1660
  readonly bold: "غامق";
1661
1661
  readonly italic: "مائل";
1662
1662
  readonly strike: "يتوسطه خط";
1663
+ readonly underline: "تسطير";
1663
1664
  readonly format: "نمط الفقرة";
1664
1665
  readonly paragraph: "فقرة";
1665
1666
  readonly heading2: "عنوان 2";
1666
1667
  readonly heading3: "عنوان 3";
1667
1668
  readonly textColor: "لون النص";
1669
+ readonly highlightColor: "تمييز";
1668
1670
  readonly color: {
1671
+ readonly apply: "تطبيق";
1669
1672
  readonly default: "افتراضي";
1670
1673
  readonly violet: "بنفسجي";
1671
1674
  readonly magenta: "أرجواني";
@@ -1675,8 +1678,17 @@ export declare const arUi: {
1675
1678
  readonly red: "أحمر";
1676
1679
  readonly remove: "إزالة اللون";
1677
1680
  };
1681
+ readonly highlight: {
1682
+ readonly remove: "إزالة التمييز";
1683
+ };
1678
1684
  readonly heading: "عنوان";
1685
+ readonly extensions: "إضافات المحرر";
1679
1686
  readonly link: {
1687
+ readonly url: "URL";
1688
+ readonly text: "النص المعروض";
1689
+ readonly textPlaceholder: "نص الرابط";
1690
+ readonly newTab: "فتح في علامة تبويب جديدة";
1691
+ readonly insertAction: "إدراج";
1680
1692
  readonly insert: "إدراج رابط";
1681
1693
  readonly edit: "تعديل الرابط";
1682
1694
  readonly remove: "إزالة الرابط";
@@ -1687,9 +1699,19 @@ export declare const arUi: {
1687
1699
  };
1688
1700
  readonly quote: "اقتباس";
1689
1701
  readonly image: {
1702
+ readonly url: "رابط الصورة";
1703
+ readonly alt: "نص بديل";
1704
+ readonly altPlaceholder: "صف الصورة";
1705
+ readonly upload: "رفع";
1706
+ readonly orUrl: "أو ألصق رابط صورة";
1690
1707
  readonly insert: "إدراج صورة";
1691
1708
  };
1692
1709
  readonly table: {
1710
+ readonly addHeader: "إضافة صف رأس";
1711
+ readonly deleteHeader: "إزالة صف الرأس";
1712
+ readonly sizePicker: "حجم الجدول";
1713
+ readonly sizeCell: "{{r}}×{{c}}";
1714
+ readonly sizeHint: "اختر الحجم";
1693
1715
  readonly insert: "إدراج جدول";
1694
1716
  readonly rowAbove: "إضافة صف أعلى";
1695
1717
  readonly rowBelow: "إضافة صف أسفل";
@@ -1698,6 +1720,10 @@ export declare const arUi: {
1698
1720
  readonly deleteRow: "حذف الصف";
1699
1721
  readonly deleteColumn: "حذف العمود";
1700
1722
  readonly deleteTable: "حذف الجدول";
1723
+ readonly toolbar: "أدوات الجدول";
1724
+ readonly cellColor: "لون الخلية";
1725
+ readonly rowColor: "لون الصف";
1726
+ readonly clearColor: "إزالة اللون";
1701
1727
  };
1702
1728
  readonly codeBlock: "كتلة كود";
1703
1729
  readonly horizontalRule: "خط أفقي";
@@ -1643,12 +1643,15 @@ const e = {
1643
1643
  bold: "غامق",
1644
1644
  italic: "مائل",
1645
1645
  strike: "يتوسطه خط",
1646
+ underline: "تسطير",
1646
1647
  format: "نمط الفقرة",
1647
1648
  paragraph: "فقرة",
1648
1649
  heading2: "عنوان 2",
1649
1650
  heading3: "عنوان 3",
1650
1651
  textColor: "لون النص",
1652
+ highlightColor: "تمييز",
1651
1653
  color: {
1654
+ apply: "تطبيق",
1652
1655
  default: "افتراضي",
1653
1656
  violet: "بنفسجي",
1654
1657
  magenta: "أرجواني",
@@ -1658,8 +1661,17 @@ const e = {
1658
1661
  red: "أحمر",
1659
1662
  remove: "إزالة اللون"
1660
1663
  },
1664
+ highlight: {
1665
+ remove: "إزالة التمييز"
1666
+ },
1661
1667
  heading: "عنوان",
1668
+ extensions: "إضافات المحرر",
1662
1669
  link: {
1670
+ url: "URL",
1671
+ text: "النص المعروض",
1672
+ textPlaceholder: "نص الرابط",
1673
+ newTab: "فتح في علامة تبويب جديدة",
1674
+ insertAction: "إدراج",
1663
1675
  insert: "إدراج رابط",
1664
1676
  edit: "تعديل الرابط",
1665
1677
  remove: "إزالة الرابط"
@@ -1670,9 +1682,19 @@ const e = {
1670
1682
  },
1671
1683
  quote: "اقتباس",
1672
1684
  image: {
1685
+ url: "رابط الصورة",
1686
+ alt: "نص بديل",
1687
+ altPlaceholder: "صف الصورة",
1688
+ upload: "رفع",
1689
+ orUrl: "أو ألصق رابط صورة",
1673
1690
  insert: "إدراج صورة"
1674
1691
  },
1675
1692
  table: {
1693
+ addHeader: "إضافة صف رأس",
1694
+ deleteHeader: "إزالة صف الرأس",
1695
+ sizePicker: "حجم الجدول",
1696
+ sizeCell: "{{r}}×{{c}}",
1697
+ sizeHint: "اختر الحجم",
1676
1698
  insert: "إدراج جدول",
1677
1699
  rowAbove: "إضافة صف أعلى",
1678
1700
  rowBelow: "إضافة صف أسفل",
@@ -1680,7 +1702,11 @@ const e = {
1680
1702
  columnRight: "إضافة عمود إلى اليمين",
1681
1703
  deleteRow: "حذف الصف",
1682
1704
  deleteColumn: "حذف العمود",
1683
- deleteTable: "حذف الجدول"
1705
+ deleteTable: "حذف الجدول",
1706
+ toolbar: "أدوات الجدول",
1707
+ cellColor: "لون الخلية",
1708
+ rowColor: "لون الصف",
1709
+ clearColor: "إزالة اللون"
1684
1710
  },
1685
1711
  codeBlock: "كتلة كود",
1686
1712
  horizontalRule: "خط أفقي",