@alfadocs/ui-kit 1.30.0 → 1.32.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 (233) hide show
  1. package/dist/_chunks/{address-fields-CZ0pEdEI.js → address-fields-jFfjxOQR.js} +3 -3
  2. package/dist/_chunks/{agenda-card-pdN49pMu.js → agenda-card-DVz3jwTf.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-BweO8pDo.js → agenda-tray-1oDWCJdB.js} +2 -2
  4. package/dist/_chunks/{ai-prompt-input-CrHr-5H8.js → ai-prompt-input-Dt7tpCBh.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-BWcWZivN.js → alia-sidebar-D18kp3p9.js} +3 -3
  6. package/dist/_chunks/{anamnesis-summary-rows-DMO3MWSt.js → anamnesis-summary-rows-BYgyp_i2.js} +6 -6
  7. package/dist/_chunks/{appointment-card-Dzr3GeVz.js → appointment-card-D-oj_ugh.js} +9 -7
  8. package/dist/_chunks/{appointment-timeline-DhHwmHo1.js → appointment-timeline-CymGHyIP.js} +2 -2
  9. package/dist/_chunks/{appointment-tray-4FUu_5NX.js → appointment-tray-DCk8gHod.js} +2 -2
  10. package/dist/_chunks/{audio-recorder-DXG6LTtO.js → audio-recorder-11wClczr.js} +2 -2
  11. package/dist/_chunks/{avatar-BNQNhoyL.js → avatar-CkDeQOSI.js} +37 -37
  12. package/dist/_chunks/{balance-badge-cell-CX6b0ML4.js → balance-badge-cell-DhBtFRoW.js} +4 -4
  13. package/dist/_chunks/{bishop-score-CJUVBfAu.js → bishop-score-CAl7C5hm.js} +2 -2
  14. package/dist/_chunks/{bmi-calculator-CcH6upht.js → bmi-calculator-Dwkih9a4.js} +3 -3
  15. package/dist/_chunks/{booking-AabCk7CI.js → booking-l6UGNiE1.js} +3 -3
  16. package/dist/_chunks/{calculator-dialog-12d3Sxaz.js → calculator-dialog-C0ixc3SU.js} +2 -2
  17. package/dist/_chunks/{calendar-CI9MINcR.js → calendar-Dgvl5L4T.js} +494 -438
  18. package/dist/_chunks/{calendar-event-card-66CEEWU6.js → calendar-event-card-DSh-69HT.js} +130 -122
  19. package/dist/_chunks/calendar-workspace-BX-zDyVR.js +9392 -0
  20. package/dist/_chunks/{care-plan-card-CQVboTn1.js → care-plan-card-CZW476Kg.js} +2 -2
  21. package/dist/_chunks/{care-plan-entry-card-jxHkzez5.js → care-plan-entry-card-BMUYagEw.js} +2 -2
  22. package/dist/_chunks/{chat-message-DBQu10rs.js → chat-message-C-8UU2av.js} +2 -2
  23. package/dist/_chunks/{clinical-note-card-BBgFd2nB.js → clinical-note-card-D2WTV2CO.js} +185 -188
  24. package/dist/_chunks/{color-picker-CU303VjY.js → color-picker-Bl5f0iK1.js} +28 -25
  25. package/dist/_chunks/{combobox-D7_NLE2Z.js → combobox-DnSdYssy.js} +216 -215
  26. package/dist/_chunks/{country-select-DzbPFktV.js → country-select-CfDNFG5c.js} +2 -2
  27. package/dist/_chunks/{data-table-DB5BiVQ0.js → data-table-DC96JJIq.js} +2 -2
  28. package/dist/_chunks/{dependent-selector-cJlJFAKD.js → dependent-selector-yTKKsuc9.js} +2 -2
  29. package/dist/_chunks/{dialog-UbKJCi1X.js → dialog-BJiLqhx6.js} +54 -46
  30. package/dist/_chunks/{document-preview-CDb-n_W7.js → document-preview-BrhMHNh8.js} +2 -2
  31. package/dist/_chunks/{due-date-calculator-BtgWeFqp.js → due-date-calculator-CxgK8vzt.js} +3 -3
  32. package/dist/_chunks/{entity-summary-B_vO5Ur4.js → entity-summary-5o768XLU.js} +2 -2
  33. package/dist/_chunks/{face-scheme-DA2vjqaM.js → face-scheme-l-CQyLs-.js} +2 -2
  34. package/dist/_chunks/{file-manager-Cd8V9IcZ.js → file-manager-CI2Qn8qW.js} +3 -3
  35. package/dist/_chunks/{gestational-age-calculator-KdMg9z9H.js → gestational-age-calculator-CZHVrERT.js} +4 -4
  36. package/dist/_chunks/{link-cell-renderer-tWEOv3Sc.js → link-cell-renderer-BEpMNtAa.js} +3 -3
  37. package/dist/_chunks/{marketplace-app-shell-C4AjQmvz.js → marketplace-app-shell-CK_ND8Tr.js} +2 -2
  38. package/dist/_chunks/{message-card-D8GB4FdF.js → message-card-BUMv16un.js} +2 -2
  39. package/dist/_chunks/{message-tray-CGIRQjx5.js → message-tray-0zsv27xX.js} +2 -2
  40. package/dist/_chunks/{muscle-scheme-BSJsI4-I.js → muscle-scheme-UVz_x4iE.js} +2 -2
  41. package/dist/_chunks/notes-panel-C4G-mhZ9.js +380 -0
  42. package/dist/_chunks/{operator-hero-BnFv-Uef.js → operator-hero-D7-iiFQ9.js} +2 -2
  43. package/dist/_chunks/{optical-prescription-BvwuqTpl.js → optical-prescription-DUJOhKz_.js} +2 -2
  44. package/dist/_chunks/{patient-details-DYAmq76G.js → patient-details-BGiawUHd.js} +5 -5
  45. package/dist/_chunks/{patient-summary-card-C9WBwct-.js → patient-summary-card--CT_gbaQ.js} +2 -2
  46. package/dist/_chunks/{periodontal-diagnosis-HrFsVi-C.js → periodontal-diagnosis-lEwA8wqX.js} +3 -3
  47. package/dist/_chunks/{practice-profile-hero-YQ7h2K4o.js → practice-profile-hero-DQyDvpJL.js} +2 -2
  48. package/dist/_chunks/{practice-results-CxIsU2YO.js → practice-results-DjEzPgAK.js} +2 -2
  49. package/dist/_chunks/{pregnancy-dating-m-c05DOI.js → pregnancy-dating-n5j5dAKy.js} +4 -4
  50. package/dist/_chunks/{pregnancy-weight-gain-CJwbs9W-.js → pregnancy-weight-gain-D5A8vPjj.js} +3 -3
  51. package/dist/_chunks/{province-select-BBc7s7vR.js → province-select-BaUnkg4S.js} +2 -2
  52. package/dist/_chunks/qr-code-DOJs4suh.js +750 -0
  53. package/dist/_chunks/radio-DNRe6H_8.js +193 -0
  54. package/dist/_chunks/radio-group-DyVBgnA3.js +297 -0
  55. package/dist/_chunks/{radiograph-panel.agent-ByM9M3qm.js → radiograph-panel.agent-o4jwEJPC.js} +2 -2
  56. package/dist/_chunks/{rich-text-editor-lSCiE0Zz.js → rich-text-editor-CQ7yZdG3.js} +3 -3
  57. package/dist/_chunks/select-CLSUnKjF.js +520 -0
  58. package/dist/_chunks/signature-request-vihDT8On.js +2232 -0
  59. package/dist/_chunks/{tabs-DqKtTIjZ.js → tabs-BnRaLT0y.js} +2 -2
  60. package/dist/_chunks/{tasks-panel-DPCNaRko.js → tasks-panel-DQuaVvl5.js} +2 -2
  61. package/dist/_chunks/{timeline-r-8IUoBS.js → timeline-Bs9Erxlo.js} +38 -36
  62. package/dist/_chunks/{tooth-scheme-C9jssOmy.js → tooth-scheme-Qe7LO5Di.js} +2 -2
  63. package/dist/_chunks/{unit-converter-C6jMjqL9.js → unit-converter-BTgU50gk.js} +2 -2
  64. package/dist/_chunks/{widget-picker-em4xGgv0.js → widget-picker-DvUkBemi.js} +2 -2
  65. package/dist/agent-catalog.json +366 -29
  66. package/dist/agent-i18n/en.json +27 -15
  67. package/dist/components/_shared/get-error-message.d.ts +3 -0
  68. package/dist/components/address-fields/index.js +1 -1
  69. package/dist/components/agenda-card/index.js +1 -1
  70. package/dist/components/agenda-tray/index.js +1 -1
  71. package/dist/components/ai-prompt-input/index.js +1 -1
  72. package/dist/components/appointment-card/index.js +2 -2
  73. package/dist/components/appointment-timeline/index.js +1 -1
  74. package/dist/components/audio-recorder/index.js +1 -1
  75. package/dist/components/avatar/avatar.d.ts +2 -0
  76. package/dist/components/avatar/index.js +1 -1
  77. package/dist/components/bishop-score/index.js +1 -1
  78. package/dist/components/bmi-calculator/index.js +1 -1
  79. package/dist/components/booking/index.js +1 -1
  80. package/dist/components/calculator-dialog/index.js +1 -1
  81. package/dist/components/calendar/calendar.d.ts +26 -2
  82. package/dist/components/calendar/index.js +1 -1
  83. package/dist/components/calendar-event-card/calendar-event-card.d.ts +9 -0
  84. package/dist/components/calendar-event-card/index.js +1 -1
  85. package/dist/components/care-plan-card/index.js +1 -1
  86. package/dist/components/care-plan-entry-card/index.js +1 -1
  87. package/dist/components/chat-message/index.js +1 -1
  88. package/dist/components/clinical-note-card/clinical-note-card.d.ts +16 -1
  89. package/dist/components/clinical-note-card/index.js +1 -1
  90. package/dist/components/color-picker/index.js +1 -1
  91. package/dist/components/combobox/combobox.d.ts +5 -0
  92. package/dist/components/combobox/index.js +1 -1
  93. package/dist/components/country-select/index.js +1 -1
  94. package/dist/components/data-table/index.js +2 -2
  95. package/dist/components/dependent-selector/index.js +1 -1
  96. package/dist/components/dialog/dialog.d.ts +9 -0
  97. package/dist/components/dialog/index.js +1 -1
  98. package/dist/components/document-preview/index.js +1 -1
  99. package/dist/components/due-date-calculator/index.js +1 -1
  100. package/dist/components/entity-summary/index.js +1 -1
  101. package/dist/components/face-scheme/index.js +1 -1
  102. package/dist/components/file-manager/index.js +1 -1
  103. package/dist/components/gestational-age-calculator/index.js +1 -1
  104. package/dist/components/message-card/index.js +1 -1
  105. package/dist/components/message-tray/index.js +1 -1
  106. package/dist/components/muscle-scheme/index.js +1 -1
  107. package/dist/components/notes-panel/index.d.ts +1 -1
  108. package/dist/components/notes-panel/index.js +1 -1
  109. package/dist/components/notes-panel/notes-panel.d.ts +24 -5
  110. package/dist/components/operator-hero/index.js +1 -1
  111. package/dist/components/optical-prescription/index.js +1 -1
  112. package/dist/components/patient-details/index.js +1 -1
  113. package/dist/components/patient-summary-card/index.js +1 -1
  114. package/dist/components/patient-table/index.js +1 -1
  115. package/dist/components/periodontal-diagnosis/index.js +1 -1
  116. package/dist/components/practice-profile-hero/index.js +1 -1
  117. package/dist/components/practice-results/index.js +1 -1
  118. package/dist/components/pregnancy-dating/index.js +1 -1
  119. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  120. package/dist/components/province-select/index.js +1 -1
  121. package/dist/components/qr-code/index.js +1 -1
  122. package/dist/components/qr-code/qr-encode.d.ts +14 -16
  123. package/dist/components/radio/index.js +1 -1
  124. package/dist/components/radio-group/index.js +2 -2
  125. package/dist/components/radio-group/radio-group-context.d.ts +4 -1
  126. package/dist/components/radio-group/radio-group.d.ts +13 -1
  127. package/dist/components/radio-group/radio.d.ts +24 -1
  128. package/dist/components/radiograph-panel/index.js +1 -1
  129. package/dist/components/rich-text-editor/index.js +1 -1
  130. package/dist/components/select/index.js +1 -1
  131. package/dist/components/select/select.d.ts +33 -0
  132. package/dist/components/skeleton-scheme/index.js +1 -1
  133. package/dist/components/tabs/index.js +1 -1
  134. package/dist/components/tasks-panel/index.js +1 -1
  135. package/dist/components/timeline/index.js +1 -1
  136. package/dist/components/timeline/timeline.d.ts +2 -0
  137. package/dist/components/tooth-scheme/index.js +1 -1
  138. package/dist/components/unit-converter/index.js +1 -1
  139. package/dist/components/widget-picker/index.js +1 -1
  140. package/dist/host-compat.css +7 -1
  141. package/dist/i18n/locales/ar.d.ts +118 -0
  142. package/dist/i18n/locales/ar.js +123 -5
  143. package/dist/i18n/locales/de.d.ts +128 -10
  144. package/dist/i18n/locales/de.js +135 -15
  145. package/dist/i18n/locales/el.d.ts +118 -0
  146. package/dist/i18n/locales/el.js +123 -5
  147. package/dist/i18n/locales/en.d.ts +118 -0
  148. package/dist/i18n/locales/en.js +123 -5
  149. package/dist/i18n/locales/es.d.ts +118 -0
  150. package/dist/i18n/locales/es.js +123 -5
  151. package/dist/i18n/locales/fr.d.ts +118 -0
  152. package/dist/i18n/locales/fr.js +122 -4
  153. package/dist/i18n/locales/hi.d.ts +118 -0
  154. package/dist/i18n/locales/hi.js +123 -5
  155. package/dist/i18n/locales/it.d.ts +128 -10
  156. package/dist/i18n/locales/it.js +133 -15
  157. package/dist/i18n/locales/ja.d.ts +118 -0
  158. package/dist/i18n/locales/ja.js +123 -5
  159. package/dist/i18n/locales/nl.d.ts +118 -0
  160. package/dist/i18n/locales/nl.js +123 -5
  161. package/dist/i18n/locales/pl.d.ts +118 -0
  162. package/dist/i18n/locales/pl.js +123 -5
  163. package/dist/i18n/locales/pt.d.ts +118 -0
  164. package/dist/i18n/locales/pt.js +123 -5
  165. package/dist/i18n/locales/ro.d.ts +118 -0
  166. package/dist/i18n/locales/ro.js +122 -4
  167. package/dist/i18n/locales/ru.d.ts +118 -0
  168. package/dist/i18n/locales/ru.js +123 -5
  169. package/dist/i18n/locales/sq.d.ts +118 -0
  170. package/dist/i18n/locales/sq.js +123 -5
  171. package/dist/i18n/locales/sv.d.ts +118 -0
  172. package/dist/i18n/locales/sv.js +123 -5
  173. package/dist/i18n/locales/tr.d.ts +118 -0
  174. package/dist/i18n/locales/tr.js +123 -5
  175. package/dist/i18n/locales/zh.d.ts +118 -0
  176. package/dist/i18n/locales/zh.js +123 -5
  177. package/dist/index.js +131 -130
  178. package/dist/locales/ar.json +123 -5
  179. package/dist/locales/de.json +133 -15
  180. package/dist/locales/el.json +123 -5
  181. package/dist/locales/en.json +123 -5
  182. package/dist/locales/es.json +123 -5
  183. package/dist/locales/fr.json +122 -4
  184. package/dist/locales/hi.json +123 -5
  185. package/dist/locales/it.json +133 -15
  186. package/dist/locales/ja.json +123 -5
  187. package/dist/locales/nl.json +123 -5
  188. package/dist/locales/pl.json +123 -5
  189. package/dist/locales/pt.json +123 -5
  190. package/dist/locales/ro.json +122 -4
  191. package/dist/locales/ru.json +123 -5
  192. package/dist/locales/sq.json +123 -5
  193. package/dist/locales/sv.json +123 -5
  194. package/dist/locales/tr.json +123 -5
  195. package/dist/locales/zh.json +123 -5
  196. package/dist/patterns/alia-assistant/index.js +1 -1
  197. package/dist/patterns/anamnesis/index.js +1 -1
  198. package/dist/patterns/calendar/calendar-appointment-details.d.ts +145 -0
  199. package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +32 -0
  200. package/dist/patterns/calendar/calendar-editor-hydration.d.ts +59 -0
  201. package/dist/patterns/calendar/calendar-notes-tool.d.ts +14 -0
  202. package/dist/patterns/calendar/calendar-patient-picker.d.ts +11 -0
  203. package/dist/patterns/calendar/calendar-series-scope-chooser.d.ts +18 -0
  204. package/dist/patterns/calendar/calendar-workspace.d.ts +26 -1
  205. package/dist/patterns/calendar/calendar-workspace.model.d.ts +8 -5
  206. package/dist/patterns/calendar/calendar.data.d.ts +66 -1
  207. package/dist/patterns/calendar/calendar.host.d.ts +2 -0
  208. package/dist/patterns/calendar/calendar.journey.d.ts +42 -7
  209. package/dist/patterns/calendar/calendar.model.d.ts +54 -5
  210. package/dist/patterns/calendar/calendar.sheets.d.ts +68 -15
  211. package/dist/patterns/calendar/calendar.surface.d.ts +12 -2
  212. package/dist/patterns/calendar/calendar.types.d.ts +29 -1
  213. package/dist/patterns/calendar/index.d.ts +9 -6
  214. package/dist/patterns/calendar/index.js +15 -14
  215. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  216. package/dist/patterns/signature-request/channel-meta.d.ts +27 -0
  217. package/dist/patterns/signature-request/index.d.ts +1 -1
  218. package/dist/patterns/signature-request/index.js +1 -1
  219. package/dist/patterns/signature-request/load-status.d.ts +13 -0
  220. package/dist/patterns/signature-request/person-grid.d.ts +32 -0
  221. package/dist/patterns/signature-request/required-documents.d.ts +127 -0
  222. package/dist/patterns/signature-request/signature-history.d.ts +57 -0
  223. package/dist/patterns/signature-request/signature-outcome.d.ts +29 -0
  224. package/dist/patterns/signature-request/signature-request.d.ts +390 -26
  225. package/dist/tokens.css +10 -2
  226. package/package.json +3 -1
  227. package/dist/_chunks/calendar-workspace-a84AHQwj.js +0 -7506
  228. package/dist/_chunks/notes-panel-CTNpsByN.js +0 -353
  229. package/dist/_chunks/qr-code-CPkEs5mG.js +0 -574
  230. package/dist/_chunks/radio-TWf9Q-mp.js +0 -108
  231. package/dist/_chunks/radio-group-rXDJADzW.js +0 -175
  232. package/dist/_chunks/select-Bi8zril7.js +0 -471
  233. package/dist/_chunks/signature-request-C-IsbkPf.js +0 -417
@@ -1,3 +1,3 @@
1
1
  export { NotesPanel } from './notes-panel';
2
- export type { NotesPanelProps, NotesPanelNote, NotesPanelSubmission, } from './notes-panel';
2
+ export type { NotesPanelProps, NotesPanelNote, NotesPanelNoteActions, NotesPanelSubmission, } from './notes-panel';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-CTNpsByN.js";
1
+ import { N as a } from "../../_chunks/notes-panel-C4G-mhZ9.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -8,7 +8,17 @@ import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory } from
8
8
  * a clinical note: the card's fallback name is "Clinical note", so an entry
9
9
  * that is something else (a dated event, an import) is announced as one.
10
10
  */
11
- export type NotesPanelNote = Pick<ClinicalNoteCardProps, 'id' | 'dateIso' | 'createdAtIso' | 'author' | 'clinical' | 'attachedTo' | 'content' | 'contentFormat' | 'pinned' | 'flagged' | 'aria-label'>;
11
+ export type NotesPanelNote = Pick<ClinicalNoteCardProps, 'id' | 'dateIso' | 'createdAtIso' | 'author' | 'clinical' | 'attachedTo' | 'content' | 'contentFormat' | 'pinned' | 'flagged' | 'aria-label' | 'deleted' | 'operatorName'> & {
12
+ /** What the host lets the reader do with this note. */
13
+ actions?: NotesPanelNoteActions;
14
+ };
15
+ /** Per-note write permissions; an absent key means allowed. The panel hides
16
+ * the pin toggle on `pin: false` and on a deleted note. */
17
+ export type NotesPanelNoteActions = {
18
+ edit?: boolean;
19
+ delete?: boolean;
20
+ pin?: boolean;
21
+ };
12
22
  /**
13
23
  * Curated agent handle for NotesPanel. Reads the note timeline's STRUCTURE
14
24
  * (ids + pinned / flagged / clinical flags — never the note body or author,
@@ -30,8 +40,8 @@ export interface NotesPanelHandle {
30
40
  /** Id of the note the host has addressed, or null when none is. */
31
41
  getCurrentNoteId: () => string | null;
32
42
  /** Commit a new note with explicit content (mirrors the composer's submit). */
33
- addNote: (submission: NotesPanelSubmission) => void;
34
- /** Toggle a note's pinned state (mirrors onTogglePin). */
43
+ addNote: (submission: NotesPanelSubmission) => void | Promise<void>;
44
+ /** Toggle a note's pinned state (mirrors onTogglePin, with its gate). */
35
45
  togglePin: (id: string) => void;
36
46
  /** Toggle a note's flagged state (mirrors onToggleFlag). */
37
47
  toggleFlag: (id: string) => void;
@@ -51,8 +61,17 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
51
61
  id?: string;
52
62
  /** Notes to render, newest-first by convention. Pinned notes lead. */
53
63
  notes: NotesPanelNote[];
54
- /** Commit a new note. Omit to hide the composer (read-only timeline). */
55
- onAddNote?: (submission: NotesPanelSubmission) => void;
64
+ /**
65
+ * Commit a new note. Omit to hide the composer (read-only timeline). Return
66
+ * a promise to keep the draft until the host has saved it: the draft clears
67
+ * when it resolves, and a rejection keeps it and shows the error's message.
68
+ */
69
+ onAddNote?: (submission: NotesPanelSubmission) => void | Promise<void>;
70
+ /** The host's notes read. `'loading'` and `'error'` never show the empty
71
+ * text; notes already held still render. Default `'ready'`. */
72
+ status?: 'ready' | 'loading' | 'error';
73
+ /** Retry a failed read. Renders a retry button in the error state. */
74
+ onRetry?: () => void;
56
75
  /**
57
76
  * The note the reader ASKED for, addressed by id from somewhere else in the
58
77
  * record — a marker in a chart, a row in a grid, an agent. The panel marks
@@ -1,4 +1,4 @@
1
- import { O as e, o as a } from "../../_chunks/operator-hero-BnFv-Uef.js";
1
+ import { O as e, o as a } from "../../_chunks/operator-hero-D7-iiFQ9.js";
2
2
  export {
3
3
  e as OperatorHero,
4
4
  a as operatorHeroAgent
@@ -1,4 +1,4 @@
1
- import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-BvwuqTpl.js";
1
+ import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-DUJOhKz_.js";
2
2
  export {
3
3
  S as ADD_MAX,
4
4
  r as ADD_MIN,
@@ -1,4 +1,4 @@
1
- import { P as e, p as i } from "../../_chunks/patient-details-DYAmq76G.js";
1
+ import { P as e, p as i } from "../../_chunks/patient-details-BGiawUHd.js";
2
2
  export {
3
3
  e as PatientDetails,
4
4
  i as patientDetailsAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as m } from "../../_chunks/patient-summary-card-C9WBwct-.js";
1
+ import { P as t, p as m } from "../../_chunks/patient-summary-card--CT_gbaQ.js";
2
2
  export {
3
3
  t as PatientSummaryCard,
4
4
  m as patientSummaryCardAgent
@@ -1,4 +1,4 @@
1
- import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-CX6b0ML4.js";
1
+ import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-DhBtFRoW.js";
2
2
  export {
3
3
  s as BalanceBadgeCell,
4
4
  l as CarePlanStatusCell,
@@ -1,4 +1,4 @@
1
- import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-HrFsVi-C.js";
1
+ import { D as i, P as S, a as T, b as o, c as D, S as I, e as E, i as O, p as e } from "../../_chunks/periodontal-diagnosis-lEwA8wqX.js";
2
2
  export {
3
3
  i as DEFAULT_DIAGNOSIS_FACTORS,
4
4
  S as PERIODONTITIS_EXTENTS,
@@ -1,4 +1,4 @@
1
- import { P as o, p as a } from "../../_chunks/practice-profile-hero-YQ7h2K4o.js";
1
+ import { P as o, p as a } from "../../_chunks/practice-profile-hero-DQyDvpJL.js";
2
2
  export {
3
3
  o as PracticeProfileHero,
4
4
  a as practiceProfileHeroAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-CxIsU2YO.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-DjEzPgAK.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-m-c05DOI.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-n5j5dAKy.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-CJwbs9W-.js";
1
+ import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-D5A8vPjj.js";
2
2
  export {
3
3
  n as PregnancyWeightGain,
4
4
  s as RATE_BANDS,
@@ -1,4 +1,4 @@
1
- import { I as o, P as r, p as t } from "../../_chunks/province-select-BBc7s7vR.js";
1
+ import { I as o, P as r, p as t } from "../../_chunks/province-select-BaUnkg4S.js";
2
2
  export {
3
3
  o as IT_PROVINCES,
4
4
  r as ProvinceSelect,
@@ -1,4 +1,4 @@
1
- import { Q as a, c as s, q as t, s as o } from "../../_chunks/qr-code-CPkEs5mG.js";
1
+ import { Q as a, c as s, q as t, s as o } from "../../_chunks/qr-code-DOJs4suh.js";
2
2
  export {
3
3
  a as QrCode,
4
4
  s as createQrMatrix,
@@ -1,13 +1,13 @@
1
1
  export type ErrorCorrectionLevel = 'L' | 'M' | 'Q' | 'H';
2
2
  export interface QrMatrix {
3
- /** Edge length in modules (e.g. 21 for version 1). */
3
+ /** Edge length in modules (e.g. 21 for version 1, 177 for version 40). */
4
4
  size: number;
5
5
  /** Row-major `size * size` booleans — true = dark module. */
6
6
  modules: boolean[];
7
7
  }
8
8
  /**
9
- * Shape of the geometry `qrcode.create()` returns, so a host that has the
10
- * dependency installed can hand its output straight to the renderer.
9
+ * Shape of the geometry `qrcode.create()` returns, so a host that has that
10
+ * package installed can hand its output straight to the renderer.
11
11
  */
12
12
  export interface QrcodeCreateResult {
13
13
  modules: {
@@ -15,32 +15,30 @@ export interface QrcodeCreateResult {
15
15
  data: Uint8Array | number[];
16
16
  };
17
17
  }
18
- /** Injectable geometry provider — swap in `qrcode.create` once installed. */
18
+ /** Injectable geometry provider (see {@link setQrCreate}). */
19
19
  export type QrCreateFn = (value: string, options: {
20
20
  errorCorrectionLevel: ErrorCorrectionLevel;
21
21
  }) => QrcodeCreateResult;
22
22
  /**
23
- * OPTIONAL override: register the npm `qrcode` package's `create` as the
24
- * geometry source. Not used by default — the vendored byte-mode encoder is the
25
- * shipped path. A maintainer who chooses to add the dependency can wire this
26
- * once at app/bundle init:
23
+ * OPTIONAL override, kept for backwards compatibility — no longer needed.
24
+ * The shipped encoder (`uqr`) already supports versions 1–40, so there is no
25
+ * capacity reason to swap in another library. A host that still registers the
26
+ * npm `qrcode` package's `create` keeps working:
27
27
  *
28
28
  * import QRCode from 'qrcode';
29
29
  * import { setQrCreate } from '@alfadocs/ui-kit/qr-code';
30
30
  * setQrCreate(QRCode.create);
31
31
  *
32
- * Pass `null` to revert to the vendored encoder. Either path yields scannable
33
- * geometry — the seam keeps the call-site identical so the swap is a one-liner.
32
+ * Pass `null` to revert to the built-in `uqr` encoder.
34
33
  */
35
34
  export declare function setQrCreate(fn: QrCreateFn | null): void;
36
35
  /**
37
- * Build the QR module matrix for `value`. Uses the vendored byte-mode encoder
38
- * by default; only delegates to a `qrcode` geometry provider if one has been
39
- * registered via {@link setQrCreate} (optional, off by default). Returns the
40
- * raw module geometry — the component renders its own token-styled SVG.
36
+ * Build the QR module matrix for `value` with `uqr` (versions 1–40), or with a
37
+ * provider registered via {@link setQrCreate}. Returns raw module geometry
38
+ * with no quiet zone — the component renders its own token-styled SVG.
41
39
  *
42
- * Throws when the value exceeds the encodable capacity; callers catch and
43
- * render the empty state (see QrCode's defensive try/catch).
40
+ * Throws when the value exceeds version-40 capacity at the requested level;
41
+ * callers catch and render the empty state (see QrCode's try/catch).
44
42
  */
45
43
  export declare function createQrMatrix(value: string, errorCorrectionLevel: ErrorCorrectionLevel): QrMatrix;
46
44
  //# sourceMappingURL=qr-encode.d.ts.map
@@ -1,4 +1,4 @@
1
- import { R as r } from "../../_chunks/radio-TWf9Q-mp.js";
1
+ import { R as r } from "../../_chunks/radio-DNRe6H_8.js";
2
2
  export {
3
3
  r as Radio
4
4
  };
@@ -1,5 +1,5 @@
1
- import { R as a } from "../../_chunks/radio-TWf9Q-mp.js";
2
- import { R as p } from "../../_chunks/radio-group-rXDJADzW.js";
1
+ import { R as a } from "../../_chunks/radio-DNRe6H_8.js";
2
+ import { R as p } from "../../_chunks/radio-group-DyVBgnA3.js";
3
3
  export {
4
4
  a as Radio,
5
5
  p as RadioGroup
@@ -1,6 +1,9 @@
1
- export type RadioGroupVariant = 'vertical' | 'horizontal' | 'card';
1
+ export type RadioGroupVariant = 'vertical' | 'horizontal' | 'card' | 'segmented';
2
2
  export interface RadioGroupInternalContextShape {
3
3
  variant: RadioGroupVariant;
4
+ /** Segmented variant only: the labels no longer fit on one line, so each
5
+ * segment shows its icon alone and its label in a tooltip. */
6
+ collapsed: boolean;
4
7
  }
5
8
  export declare const RadioGroupInternalContext: import("react").Context<RadioGroupInternalContextShape | null>;
6
9
  export declare function useRadioGroupContext(): RadioGroupInternalContextShape | null;
@@ -8,11 +8,19 @@ export interface RadioGroupHandle {
8
8
  setValue: (value: string) => void;
9
9
  }
10
10
  declare const radioGroupVariants: (props?: ({
11
- variant?: "vertical" | "horizontal" | "card" | null | undefined;
11
+ variant?: "vertical" | "horizontal" | "card" | "segmented" | null | undefined;
12
12
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
13
  type RadixRootProps = ComponentPropsWithoutRef<typeof RadixRadioGroup.Root>;
14
14
  export interface RadioGroupProps extends Omit<RadixRootProps, 'children' | 'orientation'>, VariantProps<typeof radioGroupVariants> {
15
15
  children: React.ReactNode;
16
+ /**
17
+ * `segmented` is a one-line strip of icon + label segments (give each
18
+ * `Radio` an `icon`, and a `shortLabel` when the full label is long). It
19
+ * fills its container's inline size; when the labels no longer fit, every
20
+ * segment shows its icon alone with its label in a tooltip. Its `Radio`
21
+ * children must be direct elements (a `.map` is fine) so the group can
22
+ * measure them.
23
+ */
16
24
  variant?: RadioGroupVariant;
17
25
  label?: string;
18
26
  /** Rendered at the inline START of the legend line, `--spacing-xs` before
@@ -23,6 +31,10 @@ export interface RadioGroupProps extends Omit<RadixRootProps, 'children' | 'orie
23
31
  /** Rendered at the inline end of the legend line — a status chip or a
24
32
  * marker, never a control. Its text joins the group's accessible name. */
25
33
  labelEnd?: React.ReactNode;
34
+ /** Segmented variant only: rendered just after the track, on the same
35
+ * line and outside the radiogroup — e.g. an `InfoTip` explaining a
36
+ * disabled segment. Its width is kept out of the labels' budget. */
37
+ controlEnd?: React.ReactNode;
26
38
  description?: string;
27
39
  error?: string;
28
40
  required?: boolean;
@@ -1,15 +1,38 @@
1
- import { type ComponentPropsWithoutRef } from 'react';
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
2
2
  import * as RadixRadioGroup from '@radix-ui/react-radio-group';
3
3
  import { type VariantProps } from 'class-variance-authority';
4
4
  declare const radioVariants: (props?: ({
5
5
  size?: "sm" | "md" | "lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ /**
8
+ * One segment of a `variant="segmented"` group. `interactive: false` is the
9
+ * same box without states, used by the group's hidden measuring row so the
10
+ * measured width always matches the live segment.
11
+ */
12
+ export declare const radioSegmentVariants: (props?: ({
13
+ interactive?: boolean | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
+ /** Icon plus visible label of a segment. Collapsed, the label stays in the
16
+ * DOM but visually hidden; a segment without an icon never collapses. */
17
+ export declare function RadioSegmentFace({ icon, text, collapsed, }: {
18
+ icon?: ReactNode;
19
+ text: string;
20
+ collapsed: boolean;
21
+ }): import("react/jsx-runtime").JSX.Element;
7
22
  type RadixItemProps = ComponentPropsWithoutRef<typeof RadixRadioGroup.Item>;
8
23
  export interface RadioProps extends Omit<RadixItemProps, 'children'>, VariantProps<typeof radioVariants> {
24
+ /** Visible label; in a segmented group, the accessible name and the
25
+ * collapsed tooltip. */
9
26
  label: string;
10
27
  size?: 'sm' | 'md' | 'lg';
11
28
  disabledReason?: string;
12
29
  description?: string;
30
+ /** Segmented group only: decorative icon shown before the label, and
31
+ * alone once the group collapses. */
32
+ icon?: ReactNode;
33
+ /** Segmented group only: shorter visible text. `label` stays the
34
+ * accessible name and must contain it (WCAG 2.5.3). */
35
+ shortLabel?: string;
13
36
  }
14
37
  export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLButtonElement>>;
15
38
  export {};
@@ -1,4 +1,4 @@
1
- import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-ByM9M3qm.js";
1
+ import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-o4jwEJPC.js";
2
2
  export {
3
3
  o as RadiographPanel,
4
4
  e as RadiographPanelIcon,
@@ -1,4 +1,4 @@
1
- import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-lSCiE0Zz.js";
1
+ import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-CQ7yZdG3.js";
2
2
  export {
3
3
  a as RichTextEditor,
4
4
  e as richTextEditorAgent,
@@ -1,4 +1,4 @@
1
- import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-Bi8zril7.js";
1
+ import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-CLSUnKjF.js";
2
2
  export {
3
3
  a as Select,
4
4
  l as SelectContent,
@@ -52,6 +52,13 @@ type SelectItemProps = ComponentPropsWithoutRef<typeof RadixSelect.Item> & Varia
52
52
  * selected item's trailing content appears there too.
53
53
  */
54
54
  endContent?: ReactNode;
55
+ /**
56
+ * A second line under the label, e.g. why an option is disabled. It is
57
+ * the option's accessible description, outside `ItemText`, so it is
58
+ * neither part of the name nor mirrored into the trigger. It does not
59
+ * fade with a disabled option, so the reason stays readable.
60
+ */
61
+ description?: ReactNode;
55
62
  };
56
63
  declare const SelectItem: import("react").ForwardRefExoticComponent<Omit<RadixSelect.SelectItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
57
64
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -70,6 +77,13 @@ declare const SelectItem: import("react").ForwardRefExoticComponent<Omit<RadixSe
70
77
  * selected item's trailing content appears there too.
71
78
  */
72
79
  endContent?: ReactNode;
80
+ /**
81
+ * A second line under the label, e.g. why an option is disabled. It is
82
+ * the option's accessible description, outside `ItemText`, so it is
83
+ * neither part of the name nor mirrored into the trigger. It does not
84
+ * fade with a disabled option, so the reason stays readable.
85
+ */
86
+ description?: ReactNode;
73
87
  } & import("react").RefAttributes<HTMLDivElement>>;
74
88
  declare const SelectItemText: import("react").ForwardRefExoticComponent<Omit<RadixSelect.SelectItemTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
75
89
  declare const SelectGroup: import("react").ForwardRefExoticComponent<Omit<RadixSelect.SelectGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -91,6 +105,25 @@ export interface SelectProps<T extends string = string> {
91
105
  size?: 'sm' | 'md' | 'lg';
92
106
  tone?: 'default' | 'error';
93
107
  'aria-label'?: string;
108
+ /**
109
+ * Extra ids describing the trigger, e.g. a visually hidden reason why an
110
+ * option is disabled (a disabled option cannot take focus, so its own
111
+ * description is never announced). Joined after any FormField ids.
112
+ */
113
+ 'aria-describedby'?: string;
114
+ /**
115
+ * Show the selected option's `startAdornment` in the trigger, before its
116
+ * label, e.g. a channel icon. Off by default. Decorative, like the
117
+ * adornment in the list.
118
+ */
119
+ adornmentInTrigger?: boolean;
120
+ /**
121
+ * Render each option's `description` as a second line under its label,
122
+ * wired as the option's accessible description. Off by default: without
123
+ * it `description` is ignored, as in 1.30.0, so existing lists keep
124
+ * their layout.
125
+ */
126
+ showDescriptions?: boolean;
94
127
  className?: string;
95
128
  /**
96
129
  * Portal target for the listbox. Defaults to `document.body`, which is
@@ -5,7 +5,7 @@ import { c as T1 } from "../../_chunks/index-D2ZczOXr.js";
5
5
  import { useTranslation as N1 } from "react-i18next";
6
6
  import { u as E1 } from "../../_chunks/registry-DvAUVLHh.js";
7
7
  import { m as R1, A as _1 } from "../../_chunks/annotation-marker-CsUJGZjQ.js";
8
- import { T as A } from "../../_chunks/tabs-DqKtTIjZ.js";
8
+ import { T as A } from "../../_chunks/tabs-BnRaLT0y.js";
9
9
  import { a as V1, Z as C1 } from "../../_chunks/zoom-out-Dnif4kJx.js";
10
10
  import { M as F1 } from "../../_chunks/maximize-2-BYd2Kti7.js";
11
11
  const I = {
@@ -1,4 +1,4 @@
1
- import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-DqKtTIjZ.js";
1
+ import { T as t, a as b, b as T, c as e, t as r } from "../../_chunks/tabs-BnRaLT0y.js";
2
2
  export {
3
3
  t as Tabs,
4
4
  b as TabsContent,
@@ -1,4 +1,4 @@
1
- import { T as e, t } from "../../_chunks/tasks-panel-DPCNaRko.js";
1
+ import { T as e, t } from "../../_chunks/tasks-panel-DQuaVvl5.js";
2
2
  export {
3
3
  e as TasksPanel,
4
4
  t as tasksPanelAgent
@@ -1,4 +1,4 @@
1
- import { T as t, t as m } from "../../_chunks/timeline-r-8IUoBS.js";
1
+ import { T as t, t as m } from "../../_chunks/timeline-Bs9Erxlo.js";
2
2
  export {
3
3
  t as Timeline,
4
4
  m as timelineAgent
@@ -40,6 +40,8 @@ export interface TimelineContentProps extends HTMLAttributes<HTMLDivElement> {
40
40
  }
41
41
  export interface TimelineTimestampProps extends TimeHTMLAttributes<HTMLTimeElement> {
42
42
  date: Date | string;
43
+ /** Overrides the active language for date and time formatting. */
44
+ locale?: string;
43
45
  relative?: boolean;
44
46
  format?: Intl.DateTimeFormatOptions;
45
47
  className?: string;
@@ -1,4 +1,4 @@
1
- import { T as s, t, r as e } from "../../_chunks/tooth-scheme-C9jssOmy.js";
1
+ import { T as s, t, r as e } from "../../_chunks/tooth-scheme-Qe7LO5Di.js";
2
2
  import { C as i, a as T, b as S, c as l, d as r, e as I, F as O, f as N, g as _, h as c, I as E, P as C, i as A, S as m, j as L, k as d, l as h, m as D, n as F, T as y, o as P, p as b, q as R, r as U, s as p, t as M, u, v as K, w as f, x as B, y as Y, z as H, A as g, B as z, D as w, E as x, G as V, H as k, J as G, K as j, L as q, M as v, N as J, O as Q, Q as W, R as X, U as Z, V as $, W as aa, X as oa, Y as sa, Z as ta, _ as ea, $ as na } from "../../_chunks/tooth-data-DR8Kdnup.js";
3
3
  export {
4
4
  i as CONDITION_COLORS,
@@ -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-C6jMjqL9.js";
1
+ import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-BTgU50gk.js";
2
2
  export {
3
3
  r as CATEGORIES,
4
4
  t as UNITS,
@@ -1,4 +1,4 @@
1
- import { W as r, w as t } from "../../_chunks/widget-picker-em4xGgv0.js";
1
+ import { W as r, w as t } from "../../_chunks/widget-picker-DvUkBemi.js";
2
2
  export {
3
3
  r as WidgetPicker,
4
4
  t as widgetPickerAgent
@@ -202,7 +202,7 @@
202
202
 
203
203
  /* ───────────────────────────────────────────────────────────────────────
204
204
  SECTION B — non-token declarations. ORIGINAL LAYER PRESERVED.
205
- 130 declarations across 126 rules.
205
+ 132 declarations across 128 rules.
206
206
 
207
207
  Kit-authored arbitrary-value utilities (`ds:w-[20rem]`) and the
208
208
  vendored AG Grid rules. These set real properties on real elements,
@@ -505,6 +505,9 @@
505
505
  .ds\:text-\[7rem\] {
506
506
  font-size:112px;
507
507
  }
508
+ .ds\:\[block-size\:44rem\] {
509
+ block-size:704px;
510
+ }
508
511
  .ds\:\[inline-size\:3rem\] {
509
512
  inline-size:48px;
510
513
  }
@@ -514,6 +517,9 @@
514
517
  .ds\:\[inline-size\:24rem\] {
515
518
  inline-size:384px;
516
519
  }
520
+ .ds\:\[inline-size\:26rem\] {
521
+ inline-size:416px;
522
+ }
517
523
  .ds\:\[inline-size\:var\(--tool-rail-panel-inline-size\,var\(--ai-tools-rail-panel-inline-size\,22rem\)\)\] {
518
524
  inline-size:var(--tool-rail-panel-inline-size,var(--ai-tools-rail-panel-inline-size,352px));
519
525
  }