@alfadocs/ui-kit 0.64.0 → 0.66.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 (259) hide show
  1. package/dist/_chunks/{agenda-tray-DA6qj8BL.js → agenda-tray-Bh1KfEOG.js} +2 -2
  2. package/dist/_chunks/{ai-consent-banner-DBKV27je.js → ai-consent-banner-Btzmk8OH.js} +3 -2
  3. package/dist/_chunks/{ai-prompt-input-Dx8eXoPm.js → ai-prompt-input-BwEACCPm.js} +2 -2
  4. package/dist/_chunks/{ai-tools-rail-7tC3GT4h.js → ai-tools-rail-DAfaW8eA.js} +65 -56
  5. package/dist/_chunks/{alia-sidebar-DlvyXgVC.js → alia-sidebar-CN8pA6c-.js} +7 -7
  6. package/dist/_chunks/{anamnesis-card-CmkBVAln.js → anamnesis-card-qeLYRG79.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-CdiqkF05.js → antenatal-schedule-timeline-BfzFjEyb.js} +3 -3
  8. package/dist/_chunks/{appointment-tray-BwDHhWWC.js → appointment-tray-BQnJEora.js} +2 -2
  9. package/dist/_chunks/{ar-C68WKG5a.js → ar-Cn5Fq48Z.js} +2 -2
  10. package/dist/_chunks/{audio-recorder-CdXuT9ln.js → audio-recorder-DjXLP4aF.js} +2 -2
  11. package/dist/_chunks/{autocomplete-CDqxB68B.js → autocomplete-CcCFlVf-.js} +4 -4
  12. package/dist/_chunks/{bishop-score-CzjSx-dm.js → bishop-score-DPN4Ched.js} +2 -2
  13. package/dist/_chunks/{bmi-calculator-DA2NGmVK.js → bmi-calculator-DuUneHuZ.js} +2 -2
  14. package/dist/_chunks/{booking-ChfvWy3P.js → booking-L8-YP8BJ.js} +148 -148
  15. package/dist/_chunks/calendar-B6soK1Yb.js +17 -0
  16. package/dist/_chunks/{calendar-CkuJIg3s.js → calendar-oYWOCrnf.js} +1 -1
  17. package/dist/_chunks/{care-plan-card-DhZNoXs4.js → care-plan-card-D42WD4-T.js} +2 -2
  18. package/dist/_chunks/{care-plan-entry-card-DW70yBOD.js → care-plan-entry-card-BukNI7Uy.js} +2 -2
  19. package/dist/_chunks/{carousel.agent-DrX96W-1.js → carousel.agent-vt21A_el.js} +2 -2
  20. package/dist/_chunks/{chat-input-CFwc7JxL.js → chat-input-B5zjNEUN.js} +2 -2
  21. package/dist/_chunks/{chat-message-Dm8U2RY1.js → chat-message-3V54YipB.js} +2 -2
  22. package/dist/_chunks/{code-block-HoddNOKJ.js → code-block-BBWHhIc8.js} +2 -2
  23. package/dist/_chunks/columns-2-BTOBZbep.js +15 -0
  24. package/dist/_chunks/{contact-profile-card-DvvVfAA2.js → contact-profile-card-CCeJmjbd.js} +2 -2
  25. package/dist/_chunks/{cycle-calculator-C_t1Hs8V.js → cycle-calculator-D6LTmtQt.js} +4 -4
  26. package/dist/_chunks/{date-picker-BfHblqwA.js → date-picker-oGg5BnXL.js} +12 -11
  27. package/dist/_chunks/{date-picker-variants-CXEAx3O_.js → date-picker-variants-DAcSLTua.js} +358 -372
  28. package/dist/_chunks/{date-range-picker-hcAMs1wO.js → date-range-picker-C5BWfH_T.js} +34 -25
  29. package/dist/_chunks/{date-time-picker-H-3Pwqlb.js → date-time-picker-Ze1My59T.js} +18 -17
  30. package/dist/_chunks/{de-DK4A9_a8.js → de-CrJs4ZsX.js} +2 -2
  31. package/dist/_chunks/{description-list-BEbK2g93.js → description-list-gkNGWk5G.js} +2 -2
  32. package/dist/_chunks/{due-date-calculator-Q8MIwEVV.js → due-date-calculator-CIG194vq.js} +4 -4
  33. package/dist/_chunks/{editable-currency-cell-renderer-BQgaKFCz.js → editable-currency-cell-renderer-f3d0Rhue.js} +535 -535
  34. package/dist/_chunks/editor-overlay-wYm22wZK.js +88 -0
  35. package/dist/_chunks/{el-B29HXhG5.js → el-DHdMOIhL.js} +6 -6
  36. package/dist/_chunks/{es-BOwPVwWn.js → es-DCATCfqo.js} +2 -2
  37. package/dist/_chunks/{fetal-weight-D1a6BmM-.js → fetal-weight-Xf8-ZoDy.js} +2 -2
  38. package/dist/_chunks/{fiscal-code-input-BZ0FxwUl.js → fiscal-code-input-DPtqluVb.js} +2 -2
  39. package/dist/_chunks/{fr-DoDBtn0T.js → fr-BfGEMshF.js} +2 -2
  40. package/dist/_chunks/{freemium-paywall-gHGA44dW.js → freemium-paywall-CkWjv3o6.js} +2 -2
  41. package/dist/_chunks/{gestational-age-calculator-D85E8lGN.js → gestational-age-calculator-BGsZaWXW.js} +6 -6
  42. package/dist/_chunks/{hcg-doubling-Dg0Hr7ey.js → hcg-doubling-LH5i6oM7.js} +3 -3
  43. package/dist/_chunks/{header-Ce1Br27u.js → header-CNszv2WQ.js} +2 -2
  44. package/dist/_chunks/{header-settings-D5Z2B_Yz.js → header-settings-CNOqIhoW.js} +3 -3
  45. package/dist/_chunks/{hi-DGByrKby.js → hi-CBFRXEIm.js} +2 -2
  46. package/dist/_chunks/icon-button-LqoiKcUN.js +78 -0
  47. package/dist/_chunks/image-C6RM5hfF.js +16 -0
  48. package/dist/_chunks/{insert-result-C1SYdueh.js → insert-result-njqBthzT.js} +115 -125
  49. package/dist/_chunks/{isSameWeek-B1odL2vR.js → isSameWeek-I3DfXUp1.js} +2 -2
  50. package/dist/_chunks/{it-B16rEecm.js → it-nz6vAKwG.js} +7 -7
  51. package/dist/_chunks/{ja-B0viOgft.js → ja-DQcqdAEJ.js} +2 -2
  52. package/dist/_chunks/{key-value-pair-CkQIb9EG.js → key-value-pair-BrgbMfbF.js} +2 -2
  53. package/dist/_chunks/{locale-picker-D99UyZVJ.js → locale-picker-C9JmBht3.js} +3 -3
  54. package/dist/_chunks/{marketplace-app-shell-C4OYAC22.js → marketplace-app-shell-Cou6XnMJ.js} +5 -5
  55. package/dist/_chunks/{message-card-Dvl1TgaN.js → message-card-Bgcvfj6-.js} +2 -2
  56. package/dist/_chunks/{message-tray-Dl6GQaaV.js → message-tray-saAVMeHP.js} +3 -3
  57. package/dist/_chunks/{multi-select-DOLO3K_z.js → multi-select-BcPylvHR.js} +100 -90
  58. package/dist/_chunks/{nl-cBxEX2QU.js → nl-L5SuDjyl.js} +2 -2
  59. package/dist/_chunks/{notification-card-CObnGdJu.js → notification-card-BiESdm8q.js} +2 -2
  60. package/dist/_chunks/{notification-tray-BWHDIjgd.js → notification-tray-DlgenTEe.js} +3 -3
  61. package/dist/_chunks/{patient-search-CArmRKeg.js → patient-search-Bw9ONucF.js} +2 -2
  62. package/dist/_chunks/{patient-shell-Coarf346.js → patient-shell-Tgpv0HND.js} +4 -4
  63. package/dist/_chunks/{patient-summary-card-BnTqxcTr.js → patient-summary-card-Bgso0p_l.js} +2 -2
  64. package/dist/_chunks/{payment-form-DJ9vnzrT.js → payment-form-nXocS_MX.js} +11 -4
  65. package/dist/_chunks/{payment-request-card-B_lyobd0.js → payment-request-card-DBz3hVDz.js} +3 -3
  66. package/dist/_chunks/{pdf-viewer-chMpwpA4.js → pdf-viewer-GsfNqeeT.js} +3 -3
  67. package/dist/_chunks/{periodontal-chart-card-BYs9hax1.js → periodontal-chart-card-AYyHtU9K.js} +2 -2
  68. package/dist/_chunks/phone-input-DVXhNlIl.js +563 -0
  69. package/dist/_chunks/{pl-DtS08ioY.js → pl-YAn5z2wR.js} +3 -3
  70. package/dist/_chunks/{popover-Devce-tT.js → popover-DTbfAuR0.js} +2 -2
  71. package/dist/_chunks/{practice-results-CtfciF2v.js → practice-results-CVAgY2RZ.js} +3 -3
  72. package/dist/_chunks/{pregnancy-dating-7NUaAfob.js → pregnancy-dating-f9aJbiAk.js} +6 -6
  73. package/dist/_chunks/{pregnancy-weight-gain-DI7X-0JX.js → pregnancy-weight-gain-BMRBeA8V.js} +2 -2
  74. package/dist/_chunks/{privacy-lock-BN3L-alb.js → privacy-lock-C7JyMf0y.js} +2 -2
  75. package/dist/_chunks/{product-hub-panel-CkfZBA3t.js → product-hub-panel-CAXDFeGP.js} +2 -2
  76. package/dist/_chunks/{pt-yFXs1VvH.js → pt-D9xdT5KQ.js} +6 -6
  77. package/dist/_chunks/{public-header.agent-CYQK6T6F.js → public-header.agent-BOhJgZEU.js} +3 -3
  78. package/dist/_chunks/{reviews-panel-CPrXu5TX.js → reviews-panel-DBktKm7i.js} +2 -2
  79. package/dist/_chunks/rich-text-editor-B5XQNxe8.js +1586 -0
  80. package/dist/_chunks/{ro-DsCzSrzR.js → ro-Cp--52bT.js} +2 -2
  81. package/dist/_chunks/{ru-DgDxL0pc.js → ru-BM8eX_Zz.js} +3 -3
  82. package/dist/_chunks/{search-bar-CvN_S0jW.js → search-bar-SY2BcV2N.js} +2 -2
  83. package/dist/_chunks/{search-input-D3aMvi4l.js → search-input-DbxrnHkW.js} +3 -3
  84. package/dist/_chunks/{sheet-xbzu4YiY.js → sheet-taJer-Ha.js} +2 -2
  85. package/dist/_chunks/{sidebar-DPEHzxLZ.js → sidebar-BFwbx74W.js} +12 -1
  86. package/dist/_chunks/{sign-document--nr5cxsB.js → sign-document-CdAiHiCh.js} +2 -2
  87. package/dist/_chunks/{sign-in-with-alfadocs-button-BpAjVmsI.js → sign-in-with-alfadocs-button-LppxjlFt.js} +2 -2
  88. package/dist/_chunks/{signature-field-DbhbpLha.js → signature-field-Dy1JRjzE.js} +10 -3
  89. package/dist/_chunks/{slot-grid-BlHHP9Qy.js → slot-grid-FsqumOaS.js} +2 -2
  90. package/dist/_chunks/smart-date-CWikAqZx.js +114 -0
  91. package/dist/_chunks/{social-sign-in-button-uJYLM366.js → social-sign-in-button-dlpPI5l7.js} +2 -2
  92. package/dist/_chunks/{spinner-OjQNn8oN.js → spinner-hbwuKwMf.js} +10 -10
  93. package/dist/_chunks/{sq-DHlCYN67.js → sq-XRpr0r49.js} +6 -6
  94. package/dist/_chunks/{streaming-text-CfhDqtIT.js → streaming-text-BB9mvK4m.js} +2 -2
  95. package/dist/_chunks/subDays-BcYv1Lxi.js +8 -0
  96. package/dist/_chunks/{sv-O0QaQs_s.js → sv-Z3APomE8.js} +2 -2
  97. package/dist/_chunks/{task-tray-Cb_hK4yb.js → task-tray-CAncV-QQ.js} +2 -2
  98. package/dist/_chunks/{theme-toggle-DAW7uC0B.js → theme-toggle-DETmSu_h.js} +2 -2
  99. package/dist/_chunks/{toast.agent-B0MCsvdZ.js → toast.agent-vuLRRn2a.js} +2 -2
  100. package/dist/_chunks/{tooth-scheme-CiphQaON.js → tooth-scheme-BIx1O2aJ.js} +3 -3
  101. package/dist/_chunks/{tr-BmNDRuio.js → tr-e0-P4FON.js} +2 -2
  102. package/dist/_chunks/{transcript-panel-B4HiC7ed.js → transcript-panel-CLHmv83g.js} +2 -2
  103. package/dist/_chunks/trash-2-rPAKaRgB.js +18 -0
  104. package/dist/_chunks/{unit-converter-BIbXHIQA.js → unit-converter-C1V3ACM9.js} +2 -2
  105. package/dist/_chunks/{wallet-pay-button-DuDPBlCO.js → wallet-pay-button--dnR6NfJ.js} +2 -2
  106. package/dist/_chunks/{workflow-map-BJDUNYlX.js → workflow-map-Bt4Of5dT.js} +137 -149
  107. package/dist/_chunks/{zh-CN-CgVJZEzz.js → zh-CN-B-igM5gY.js} +3 -3
  108. package/dist/agent-catalog.json +32 -1
  109. package/dist/components/agenda-tray/index.js +1 -1
  110. package/dist/components/ai-consent-banner/index.js +1 -1
  111. package/dist/components/ai-prompt-input/index.js +1 -1
  112. package/dist/components/ai-tools-rail/index.js +1 -1
  113. package/dist/components/anamnesis-card/index.js +1 -1
  114. package/dist/components/appointment-card/index.js +1 -1
  115. package/dist/components/audio-recorder/index.js +1 -1
  116. package/dist/components/autocomplete/index.js +1 -1
  117. package/dist/components/bishop-score/index.js +1 -1
  118. package/dist/components/bmi-calculator/index.js +1 -1
  119. package/dist/components/booking/index.js +1 -1
  120. package/dist/components/button/index.js +1 -1
  121. package/dist/components/calendar/index.js +1 -1
  122. package/dist/components/care-plan-card/index.js +1 -1
  123. package/dist/components/care-plan-entry-card/index.js +1 -1
  124. package/dist/components/carousel/index.js +1 -1
  125. package/dist/components/chat-input/index.js +1 -1
  126. package/dist/components/chat-message/index.js +1 -1
  127. package/dist/components/contact-profile-card/index.js +1 -1
  128. package/dist/components/cycle-calculator/index.js +1 -1
  129. package/dist/components/data-table/index.js +1 -1
  130. package/dist/components/date-picker/index.js +1 -1
  131. package/dist/components/date-range-picker/index.js +1 -1
  132. package/dist/components/date-time-picker/index.js +1 -1
  133. package/dist/components/description-list/index.js +1 -1
  134. package/dist/components/due-date-calculator/index.js +2 -2
  135. package/dist/components/editor-overlay/editor-overlay.d.ts +19 -0
  136. package/dist/components/editor-overlay/index.d.ts +3 -0
  137. package/dist/components/editor-overlay/index.js +5 -0
  138. package/dist/components/fetal-weight/index.js +1 -1
  139. package/dist/components/fiscal-code-input/index.js +1 -1
  140. package/dist/components/freemium-paywall/index.js +1 -1
  141. package/dist/components/gestational-age-calculator/index.js +1 -1
  142. package/dist/components/hcg-doubling/index.js +1 -1
  143. package/dist/components/header/index.js +1 -1
  144. package/dist/components/header-settings/index.js +1 -1
  145. package/dist/components/icon-button/index.js +1 -1
  146. package/dist/components/index.d.ts +2 -0
  147. package/dist/components/key-value-pair/index.js +1 -1
  148. package/dist/components/locale-picker/index.js +1 -1
  149. package/dist/components/message-card/index.js +1 -1
  150. package/dist/components/message-tray/index.js +1 -1
  151. package/dist/components/multi-select/index.js +1 -1
  152. package/dist/components/notification-card/index.js +1 -1
  153. package/dist/components/notification-tray/index.js +1 -1
  154. package/dist/components/patient-search/index.js +1 -1
  155. package/dist/components/patient-summary-card/index.js +1 -1
  156. package/dist/components/payment-card/index.js +1 -1
  157. package/dist/components/payment-form/index.js +1 -1
  158. package/dist/components/pdf-viewer/index.js +1 -1
  159. package/dist/components/periodontal-chart-card/index.js +1 -1
  160. package/dist/components/phone-input/index.js +1 -1
  161. package/dist/components/phone-input/phone-input.d.ts +9 -0
  162. package/dist/components/popover/index.js +1 -1
  163. package/dist/components/practice-results/index.js +1 -1
  164. package/dist/components/pregnancy-dating/index.js +1 -1
  165. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  166. package/dist/components/privacy-lock/index.js +1 -1
  167. package/dist/components/product-hub-tray/index.js +1 -1
  168. package/dist/components/public-header/index.js +1 -1
  169. package/dist/components/reviews-panel/index.js +1 -1
  170. package/dist/components/rich-text-editor/editor-toolbar.d.ts +26 -0
  171. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +25 -0
  172. package/dist/components/rich-text-editor/index.js +1 -1
  173. package/dist/components/rich-text-editor/rich-text-editor.d.ts +43 -0
  174. package/dist/components/search-bar/index.js +1 -1
  175. package/dist/components/search-input/index.js +1 -1
  176. package/dist/components/sheet/index.js +1 -1
  177. package/dist/components/sidebar/index.js +1 -1
  178. package/dist/components/sign-document/index.js +1 -1
  179. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  180. package/dist/components/signature-field/index.js +1 -1
  181. package/dist/components/slot-grid/index.js +1 -1
  182. package/dist/components/smart-date/index.d.ts +3 -0
  183. package/dist/components/smart-date/index.js +5 -0
  184. package/dist/components/smart-date/smart-date.d.ts +32 -0
  185. package/dist/components/social-sign-in-button/index.js +1 -1
  186. package/dist/components/spinner/index.js +1 -1
  187. package/dist/components/streaming-text/index.js +1 -1
  188. package/dist/components/task-tray/index.js +1 -1
  189. package/dist/components/theme-toggle/index.js +1 -1
  190. package/dist/components/toast/index.js +1 -1
  191. package/dist/components/tooth-scheme/index.js +1 -1
  192. package/dist/components/transcript-panel/index.js +1 -1
  193. package/dist/components/unit-converter/index.js +1 -1
  194. package/dist/components/wallet-pay-button/index.js +1 -1
  195. package/dist/components/workflow/index.js +1 -1
  196. package/dist/i18n/locales/ar.d.ts +60 -0
  197. package/dist/i18n/locales/ar.js +61 -1
  198. package/dist/i18n/locales/de.d.ts +60 -0
  199. package/dist/i18n/locales/de.js +61 -1
  200. package/dist/i18n/locales/el.d.ts +60 -0
  201. package/dist/i18n/locales/el.js +61 -1
  202. package/dist/i18n/locales/en.d.ts +60 -0
  203. package/dist/i18n/locales/en.js +65 -1
  204. package/dist/i18n/locales/es.d.ts +60 -0
  205. package/dist/i18n/locales/es.js +61 -1
  206. package/dist/i18n/locales/fr.d.ts +60 -0
  207. package/dist/i18n/locales/fr.js +61 -1
  208. package/dist/i18n/locales/hi.d.ts +60 -0
  209. package/dist/i18n/locales/hi.js +61 -1
  210. package/dist/i18n/locales/it.d.ts +60 -0
  211. package/dist/i18n/locales/it.js +61 -1
  212. package/dist/i18n/locales/ja.d.ts +60 -0
  213. package/dist/i18n/locales/ja.js +61 -1
  214. package/dist/i18n/locales/nl.d.ts +60 -0
  215. package/dist/i18n/locales/nl.js +61 -1
  216. package/dist/i18n/locales/pl.d.ts +60 -0
  217. package/dist/i18n/locales/pl.js +61 -1
  218. package/dist/i18n/locales/pt.d.ts +60 -0
  219. package/dist/i18n/locales/pt.js +61 -1
  220. package/dist/i18n/locales/ro.d.ts +60 -0
  221. package/dist/i18n/locales/ro.js +61 -1
  222. package/dist/i18n/locales/ru.d.ts +60 -0
  223. package/dist/i18n/locales/ru.js +61 -1
  224. package/dist/i18n/locales/sq.d.ts +60 -0
  225. package/dist/i18n/locales/sq.js +61 -1
  226. package/dist/i18n/locales/sv.d.ts +60 -0
  227. package/dist/i18n/locales/sv.js +61 -1
  228. package/dist/i18n/locales/tr.d.ts +60 -0
  229. package/dist/i18n/locales/tr.js +61 -1
  230. package/dist/i18n/locales/zh.d.ts +60 -0
  231. package/dist/i18n/locales/zh.js +61 -1
  232. package/dist/index.js +494 -490
  233. package/dist/locales/ar.json +61 -1
  234. package/dist/locales/de.json +61 -1
  235. package/dist/locales/el.json +61 -1
  236. package/dist/locales/en.json +61 -1
  237. package/dist/locales/es.json +61 -1
  238. package/dist/locales/fr.json +61 -1
  239. package/dist/locales/hi.json +61 -1
  240. package/dist/locales/it.json +61 -1
  241. package/dist/locales/ja.json +61 -1
  242. package/dist/locales/nl.json +61 -1
  243. package/dist/locales/pl.json +61 -1
  244. package/dist/locales/pt.json +61 -1
  245. package/dist/locales/ro.json +61 -1
  246. package/dist/locales/ru.json +61 -1
  247. package/dist/locales/sq.json +61 -1
  248. package/dist/locales/sv.json +61 -1
  249. package/dist/locales/tr.json +61 -1
  250. package/dist/locales/zh.json +61 -1
  251. package/dist/patterns/alia-assistant/index.js +1 -1
  252. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  253. package/dist/patterns/patient-shell/index.js +1 -1
  254. package/dist/tokens.css +36 -22
  255. package/package.json +10 -1
  256. package/dist/_chunks/icon-button-CKEOrN37.js +0 -70
  257. package/dist/_chunks/phone-input-DfZbPPvh.js +0 -525
  258. package/dist/_chunks/rich-text-editor-B03qM22-.js +0 -334
  259. package/dist/_chunks/subDays-Bs00akhK.js +0 -8
@@ -4,9 +4,10 @@ import { useTranslation as ee } from "react-i18next";
4
4
  import * as f from "@radix-ui/react-popover";
5
5
  import { u as te } from "./use-controllable-state-BiY4xTzM.js";
6
6
  import { u as ae } from "./form-field-context-B3APVHKx.js";
7
- import { b as ne, u as re, g as se, c as oe, e as T, s as W, d as ie, f as de, h as v, j as ce, C as le, k as pe, t as ge, p as ue, D as me, l as fe, m as he, n as ke } from "./date-picker-variants-CXEAx3O_.js";
8
- import { s as R } from "./subDays-Bs00akhK.js";
9
- import { u as ye } from "./registry-nPAVE19X.js";
7
+ import { b as ne, u as re, g as se, c as oe, e as T, s as W, d as ie, f as de, h as v, j as ce, k as le, t as pe, p as ge, D as ue, C as me, l as fe, m as he } from "./date-picker-variants-DAcSLTua.js";
8
+ import { s as R } from "./subDays-BcYv1Lxi.js";
9
+ import { u as ke } from "./registry-nPAVE19X.js";
10
+ import { C as ye } from "./calendar-B6soK1Yb.js";
10
11
  function be(a, s, i) {
11
12
  return ne(a, -1, i);
12
13
  }
@@ -92,20 +93,20 @@ const ve = {
92
93
  mergePresets: K = !1,
93
94
  size: D = "md",
94
95
  disabled: F,
95
- placeholder: L,
96
- className: j,
96
+ placeholder: j,
97
+ className: L,
97
98
  id: A
98
99
  }, B) => {
99
- const { t: r, i18n: P } = ee(), c = ae(), k = A ?? c.id, w = c.disabled || F, H = c.invalid ? "error" : "default", o = re(P.language), y = se(P.language), _ = L ?? r("inputs.dateRangePicker.placeholder", "Select date range"), [$, C] = te({
100
+ const { t: r, i18n: w } = ee(), c = ae(), k = A ?? c.id, P = c.disabled || F, H = c.invalid ? "error" : "default", o = re(w.language), y = se(w.language), _ = j ?? r("inputs.dateRangePicker.placeholder", "Select date range"), [$, C] = te({
100
101
  value: a,
101
102
  defaultValue: s ?? {},
102
103
  onChange: i
103
- }), t = $ ?? {}, [p, g] = I(!1), [Y, O] = I(t.from ?? /* @__PURE__ */ new Date()), q = U(null), d = X(
104
+ }), t = $ ?? {}, [p, g] = I(!1), [Y, x] = I(t.from ?? /* @__PURE__ */ new Date()), q = U(null), d = X(
104
105
  (e) => {
105
106
  C(e);
106
107
  },
107
108
  [C]
108
- ), E = oe(l, V), x = [
109
+ ), E = oe(l, V), O = [
109
110
  {
110
111
  label: r("inputs.dateRangePicker.presets.today", "Today"),
111
112
  range: () => {
@@ -158,11 +159,11 @@ const ve = {
158
159
  to: /* @__PURE__ */ new Date()
159
160
  })
160
161
  }
161
- ], S = h ? K ? [...x, ...h] : h : x, G = (e) => {
162
+ ], S = h ? K ? [...O, ...h] : h : O, G = (e) => {
162
163
  d(e ? { from: e.from, to: e.to } : {});
163
164
  }, J = (e) => {
164
165
  const u = e.range();
165
- d(u), O(u.from), g(!1);
166
+ d(u), x(u.from), g(!1);
166
167
  }, N = (() => {
167
168
  if (t.from && t.to) {
168
169
  const e = v(t.from, y, { locale: o }), u = v(t.to, y, { locale: o });
@@ -188,30 +189,38 @@ const ve = {
188
189
  }),
189
190
  [t, d, p]
190
191
  );
191
- return z(B, () => b, [b]), ye(ve, b, k), /* @__PURE__ */ n(f.Root, { open: p, onOpenChange: g, children: /* @__PURE__ */ m(
192
+ return z(B, () => b, [b]), ke(ve, b, k), /* @__PURE__ */ n(f.Root, { open: p, onOpenChange: g, children: /* @__PURE__ */ m(
192
193
  "div",
193
194
  {
194
- className: j,
195
+ className: L,
195
196
  "data-component": "date-range-picker",
196
197
  "data-component-id": k,
197
198
  children: [
198
- /* @__PURE__ */ n(f.Trigger, { asChild: !0, disabled: w, children: /* @__PURE__ */ m(
199
+ /* @__PURE__ */ n(f.Trigger, { asChild: !0, disabled: P, children: /* @__PURE__ */ m(
199
200
  "button",
200
201
  {
201
202
  ref: q,
202
203
  id: k,
203
204
  type: "button",
204
- disabled: w,
205
+ disabled: P,
205
206
  "aria-describedby": c.describedBy || void 0,
206
207
  "aria-invalid": c.invalid || void 0,
207
208
  "aria-haspopup": "dialog",
208
209
  "aria-expanded": p,
209
- className: ge({ size: D, tone: H }),
210
+ className: pe({ size: D, tone: H }),
210
211
  children: [
211
212
  /* @__PURE__ */ n(
212
213
  "span",
213
214
  {
214
- className: N ? "ds:text-foreground" : "ds:text-muted-foreground",
215
+ className: [
216
+ // Truncate so a long value/placeholder ellipsises instead of
217
+ // running under the absolutely-positioned calendar icon (the
218
+ // trigger reserves the icon's space via `pe-10`). `min-w-0`
219
+ // lets the flex child shrink below its content width so
220
+ // `truncate` engages.
221
+ "ds:min-w-0 ds:flex-1 ds:truncate ds:text-start",
222
+ N ? "ds:text-foreground" : "ds:text-muted-foreground"
223
+ ].join(" "),
215
224
  children: N || _
216
225
  }
217
226
  ),
@@ -219,8 +228,8 @@ const ve = {
219
228
  "span",
220
229
  {
221
230
  "aria-hidden": "true",
222
- className: pe({ size: D }),
223
- children: /* @__PURE__ */ n(le, {})
231
+ className: le({ size: D }),
232
+ children: /* @__PURE__ */ n(ye, {})
224
233
  }
225
234
  )
226
235
  ]
@@ -231,35 +240,35 @@ const ve = {
231
240
  {
232
241
  sideOffset: 4,
233
242
  align: "start",
234
- className: ke(),
243
+ className: he(),
235
244
  children: /* @__PURE__ */ m("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
236
245
  S.length > 0 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: S.map((e) => /* @__PURE__ */ n(
237
246
  "button",
238
247
  {
239
248
  type: "button",
240
249
  onClick: () => J(e),
241
- className: ue(),
250
+ className: ge(),
242
251
  children: e.label
243
252
  },
244
253
  e.label
245
254
  )) }) : null,
246
255
  /* @__PURE__ */ m("div", { children: [
247
256
  /* @__PURE__ */ n(
248
- me,
257
+ ue,
249
258
  {
250
259
  mode: "range",
251
260
  selected: t.from ? { from: t.from, to: t.to } : void 0,
252
261
  onSelect: G,
253
262
  month: Y,
254
- onMonthChange: O,
263
+ onMonthChange: x,
255
264
  numberOfMonths: 2,
256
265
  disabled: E,
257
266
  locale: o,
258
267
  showOutsideDays: !0,
259
268
  fixedWeeks: !0,
260
269
  pagedNavigation: !0,
261
- classNames: he,
262
- components: { Chevron: fe }
270
+ classNames: fe,
271
+ components: { Chevron: me }
263
272
  }
264
273
  ),
265
274
  M ? /* @__PURE__ */ n(
@@ -285,4 +294,4 @@ export {
285
294
  Re as D,
286
295
  ve as d
287
296
  };
288
- //# sourceMappingURL=date-range-picker-hcAMs1wO.js.map
297
+ //# sourceMappingURL=date-range-picker-C5BWfH_T.js.map
@@ -6,8 +6,9 @@ import * as k from "@radix-ui/react-popover";
6
6
  import { u as me } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as pe } from "./form-field-context-B3APVHKx.js";
8
8
  import { T as fe } from "./time-picker-B5umYwfv.js";
9
- import { u as ge, c as he, o as ve, i as be, h as ye, C as Te, k as ke, t as we, D as De, l as Ce, m as Pe, n as xe } from "./date-picker-variants-CXEAx3O_.js";
10
- import { u as Oe } from "./registry-nPAVE19X.js";
9
+ import { u as ge, c as he, n as ve, i as be, h as ye, k as Te, t as ke, D as we, C as Ce, l as De, m as Pe } from "./date-picker-variants-DAcSLTua.js";
10
+ import { u as xe } from "./registry-nPAVE19X.js";
11
+ import { C as Oe } from "./calendar-B6soK1Yb.js";
11
12
  import { t as B } from "./isSameDay-DUEiAT0G.js";
12
13
  function K(e, t, r) {
13
14
  const i = B(e, r == null ? void 0 : r.in);
@@ -142,14 +143,14 @@ const Se = ce(
142
143
  className: E,
143
144
  id: U
144
145
  }, W) => {
145
- const { t: l, i18n: N } = ue(), c = pe(), D = U ?? c.id, M = c.disabled || _, q = c.invalid ? "error" : "default", V = ge(N.language), G = z ?? l("inputs.dateTimePicker.placeholder", "Select date and time"), J = l("inputs.dateTimePicker.apply", "Apply"), Q = l(
146
+ const { t: l, i18n: N } = ue(), c = pe(), C = U ?? c.id, M = c.disabled || _, q = c.invalid ? "error" : "default", V = ge(N.language), G = z ?? l("inputs.dateTimePicker.placeholder", "Select date and time"), J = l("inputs.dateTimePicker.apply", "Apply"), Q = l(
146
147
  "inputs.dateTimePicker.outOfRange",
147
148
  "Date/time is out of allowed range"
148
149
  ), S = (w !== void 0 ? w : Ve(i)) ? Me(N.language, i) : "", [X, I] = me({
149
150
  value: e,
150
151
  defaultValue: t,
151
152
  onChange: r
152
- }), n = X, [o, g] = T(n), [h, v] = T(!1), [Y, C] = T(n ?? /* @__PURE__ */ new Date()), [R, u] = T(!1), L = oe(null), b = F(
153
+ }), n = X, [o, g] = T(n), [h, v] = T(!1), [Y, D] = T(n ?? /* @__PURE__ */ new Date()), [R, u] = T(!1), L = oe(null), b = F(
153
154
  (a) => {
154
155
  I(a);
155
156
  },
@@ -158,7 +159,7 @@ const Se = ce(
158
159
  (a) => !(d && ve(a, d) || p && be(a, p)),
159
160
  [d, p]
160
161
  ), ee = (a) => {
161
- a && (g(n ?? /* @__PURE__ */ new Date()), C(n ?? /* @__PURE__ */ new Date()), u(!1)), v(a);
162
+ a && (g(n ?? /* @__PURE__ */ new Date()), D(n ?? /* @__PURE__ */ new Date()), u(!1)), v(a);
162
163
  }, te = (a) => {
163
164
  if (!a) return;
164
165
  const O = o ?? /* @__PURE__ */ new Date(), m = A(
@@ -186,31 +187,31 @@ const Se = ce(
186
187
  isOpen: () => h,
187
188
  // Mirror the trigger's open behaviour so draft state seeds correctly.
188
189
  open: () => {
189
- g(n ?? /* @__PURE__ */ new Date()), C(n ?? /* @__PURE__ */ new Date()), u(!1), v(!0);
190
+ g(n ?? /* @__PURE__ */ new Date()), D(n ?? /* @__PURE__ */ new Date()), u(!1), v(!0);
190
191
  },
191
192
  close: () => v(!1)
192
193
  }),
193
194
  [n, b, h]
194
195
  );
195
- return le(W, () => x, [x]), Oe(Ne, x, D), /* @__PURE__ */ s(k.Root, { open: h, onOpenChange: ee, children: /* @__PURE__ */ y(
196
+ return le(W, () => x, [x]), xe(Ne, x, C), /* @__PURE__ */ s(k.Root, { open: h, onOpenChange: ee, children: /* @__PURE__ */ y(
196
197
  "div",
197
198
  {
198
199
  className: E,
199
200
  "data-component": "date-time-picker",
200
- "data-component-id": D,
201
+ "data-component-id": C,
201
202
  children: [
202
203
  /* @__PURE__ */ s(k.Trigger, { asChild: !0, disabled: M, children: /* @__PURE__ */ y(
203
204
  "button",
204
205
  {
205
206
  ref: L,
206
- id: D,
207
+ id: C,
207
208
  type: "button",
208
209
  disabled: M,
209
210
  "aria-describedby": c.describedBy || void 0,
210
211
  "aria-invalid": c.invalid || void 0,
211
212
  "aria-haspopup": "dialog",
212
213
  "aria-expanded": h,
213
- className: we({ size: f, tone: q }),
214
+ className: ke({ size: f, tone: q }),
214
215
  children: [
215
216
  /* @__PURE__ */ s(
216
217
  "span",
@@ -223,8 +224,8 @@ const Se = ce(
223
224
  "span",
224
225
  {
225
226
  "aria-hidden": "true",
226
- className: ke({ size: f }),
227
- children: /* @__PURE__ */ s(Te, {})
227
+ className: Te({ size: f }),
228
+ children: /* @__PURE__ */ s(Oe, {})
228
229
  }
229
230
  )
230
231
  ]
@@ -235,21 +236,21 @@ const Se = ce(
235
236
  {
236
237
  sideOffset: 4,
237
238
  align: "start",
238
- className: xe(),
239
+ className: Pe(),
239
240
  children: /* @__PURE__ */ y("div", { className: "ds:flex ds:flex-col ds:sm:flex-row ds:gap-[var(--spacing-md)]", children: [
240
241
  /* @__PURE__ */ s("div", { role: "region", "aria-label": re, children: /* @__PURE__ */ s(
241
- De,
242
+ we,
242
243
  {
243
244
  mode: "single",
244
245
  selected: o,
245
246
  onSelect: te,
246
247
  month: Y,
247
- onMonthChange: C,
248
+ onMonthChange: D,
248
249
  disabled: $,
249
250
  locale: V,
250
251
  showOutsideDays: !0,
251
252
  fixedWeeks: !0,
252
- classNames: Pe,
253
+ classNames: De,
253
254
  components: { Chevron: Ce }
254
255
  }
255
256
  ) }),
@@ -308,4 +309,4 @@ export {
308
309
  Ie as D,
309
310
  Ne as d
310
311
  };
311
- //# sourceMappingURL=date-time-picker-H-3Pwqlb.js.map
312
+ //# sourceMappingURL=date-time-picker-Ze1My59T.js.map
@@ -1,4 +1,4 @@
1
- import { q as s, r as n, v as o, w as u } from "./date-picker-variants-CXEAx3O_.js";
1
+ import { o as s, q as n, r as o, v as u } from "./date-picker-variants-DAcSLTua.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  standalone: {
@@ -474,4 +474,4 @@ const d = {
474
474
  export {
475
475
  O as de
476
476
  };
477
- //# sourceMappingURL=de-DK4A9_a8.js.map
477
+ //# sourceMappingURL=de-CrJs4ZsX.js.map
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as V } from "react/jsx-runtime";
2
2
  import { forwardRef as c, useMemo as x, Children as C, isValidElement as T, useContext as R, useState as b, useCallback as j, createContext as P } from "react";
3
3
  import { c as m } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as z } from "react-i18next";
5
- import { I as A } from "./icon-button-CKEOrN37.js";
5
+ import { I as A } from "./icon-button-LqoiKcUN.js";
6
6
  import { C as S } from "./check-DPdL_Sm7.js";
7
7
  import { C as B } from "./copy-B00HK7tj.js";
8
8
  function E(s) {
@@ -316,4 +316,4 @@ const Z = Object.assign(k, {
316
316
  export {
317
317
  Z as D
318
318
  };
319
- //# sourceMappingURL=description-list-BEbK2g93.js.map
319
+ //# sourceMappingURL=description-list-gkNGWk5G.js.map
@@ -5,12 +5,12 @@ import { useTranslation as W } from "react-i18next";
5
5
  import { R as m } from "./radio-TWf9Q-mp.js";
6
6
  import { R as T } from "./radio-group-CLjK-SlK.js";
7
7
  import { F as g } from "./form-field-BOm9hK35.js";
8
- import { D as b } from "./date-picker-BfHblqwA.js";
8
+ import { D as b } from "./date-picker-oGg5BnXL.js";
9
9
  import { N as S } from "./number-input-Dj5L3pXK.js";
10
10
  import { C as k } from "./card-DPmk26CL.js";
11
11
  import { B } from "./badge-zsf5i5bH.js";
12
- import { I as X } from "./insert-result-C1SYdueh.js";
13
- import { D as y, r as Z, c as ee, e as ae, f as te, A as le, h as re, i as se } from "./antenatal-schedule-timeline-CdiqkF05.js";
12
+ import { I as X } from "./insert-result-njqBthzT.js";
13
+ import { D as y, r as Z, c as ee, e as ae, f as te, A as le, h as re, i as se } from "./antenatal-schedule-timeline-BfzFjEyb.js";
14
14
  const de = Q("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
15
15
  variants: {
16
16
  width: { full: "ds:w-full", auto: "ds:inline-flex" }
@@ -253,4 +253,4 @@ ce.displayName = "DueDateCalculator";
253
253
  export {
254
254
  ce as D
255
255
  };
256
- //# sourceMappingURL=due-date-calculator-Q8MIwEVV.js.map
256
+ //# sourceMappingURL=due-date-calculator-CIG194vq.js.map