@alfadocs/ui-kit 0.37.0 → 0.39.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 (263) hide show
  1. package/dist/_chunks/Alfadocs_Logo_Mark-7o3L3WBI.js +56 -0
  2. package/dist/_chunks/{accordion-bSU21uTV.js → accordion-9lJSMMsZ.js} +6 -6
  3. package/dist/_chunks/{agenda-tray-By_asPN9.js → agenda-tray-Dyj9ChHC.js} +22 -21
  4. package/dist/_chunks/{alia-sidebar-BEoMl6UL.js → alia-sidebar-DXsYPinm.js} +2 -2
  5. package/dist/_chunks/{ar-D1RwVZFj.js → ar-Cn_NxqkN.js} +2 -2
  6. package/dist/_chunks/bmi-BxD-tFzU.js +32 -0
  7. package/dist/_chunks/bmi-calculator-DnEr513I.js +213 -0
  8. package/dist/_chunks/{booking-DqXsd1Mv.js → booking-4mCw3Mpl.js} +5 -5
  9. package/dist/_chunks/calculator-dialog-B74fqpFZ.js +40 -0
  10. package/dist/_chunks/{chart-DnHvmiDX.js → chart-Cbt0_sKv.js} +46 -37
  11. package/dist/_chunks/{chat-message-D53_fH2w.js → chat-message-ASgGtj-L.js} +30 -39
  12. package/dist/_chunks/{collapsible-CERONory.js → collapsible-X3oaLPU3.js} +5 -5
  13. package/dist/_chunks/{contact-profile-card-BA6fgS45.js → contact-profile-card-DHyuAPXM.js} +14 -13
  14. package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +185 -0
  15. package/dist/_chunks/{date-picker-CXFpu-qY.js → date-picker-CvQfs6Xh.js} +2 -2
  16. package/dist/_chunks/{date-range-picker-I-q5rifj.js → date-range-picker-U9fn1g9d.js} +3 -3
  17. package/dist/_chunks/{date-time-picker-CqpGPlcH.js → date-time-picker-Cva0ZCWw.js} +2 -2
  18. package/dist/_chunks/{de-HTQ4b4-J.js → de-BMM2H7Bs.js} +2 -2
  19. package/dist/_chunks/dependent-selector-CRWgieHm.js +324 -0
  20. package/dist/_chunks/document-scanner-CqS_klIr.js +703 -0
  21. package/dist/_chunks/due-date-calculator-CUspKSTw.js +171 -0
  22. package/dist/_chunks/{editable-currency-cell-renderer-DnjwZNZP.js → editable-currency-cell-renderer-DgkCIIcO.js} +3 -3
  23. package/dist/_chunks/{el-Dr1pjuDq.js → el-BYPonAaK.js} +2 -2
  24. package/dist/_chunks/{es-CvyTjLS0.js → es-CMkVCQ4F.js} +2 -2
  25. package/dist/_chunks/{file-upload-CdozCPct.js → file-upload-BosbPDb1.js} +3 -2
  26. package/dist/_chunks/fiscal-code-input-BZ0FxwUl.js +540 -0
  27. package/dist/_chunks/{fr-CS7aqaFR.js → fr-BcuWxqft.js} +2 -2
  28. package/dist/_chunks/{freemium-paywall-D1N02Oam.js → freemium-paywall-BAk3a6er.js} +7 -7
  29. package/dist/_chunks/gestation-BXEgDGmP.js +50 -0
  30. package/dist/_chunks/gestational-age-calculator-CsQ05qDy.js +165 -0
  31. package/dist/_chunks/header-settings-CBLwUK6t.js +244 -0
  32. package/dist/_chunks/heart-C0faivFf.js +20 -0
  33. package/dist/_chunks/{hi-3uy8KpsH.js → hi-wkq_rQAh.js} +2 -2
  34. package/dist/_chunks/image-C6RM5hfF.js +16 -0
  35. package/dist/_chunks/insert-result-yJ0QavoN.js +133 -0
  36. package/dist/_chunks/{isSameWeek-DRpMibi9.js → isSameWeek-Bim5ftRd.js} +2 -2
  37. package/dist/_chunks/{it-B_RF5VSw.js → it-GiQrQ9p4.js} +3 -3
  38. package/dist/_chunks/{ja-C1mEYy35.js → ja-qfYg3Rua.js} +2 -2
  39. package/dist/_chunks/{logo-_Z-jLq80.js → logo-yituK7sE.js} +42 -91
  40. package/dist/_chunks/{map-view-vD5pvWs9.js → map-view-qJLybrmN.js} +2 -2
  41. package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +296 -0
  42. package/dist/_chunks/{message-card-BbRhZkDI.js → message-card-DSPw5ghw.js} +20 -19
  43. package/dist/_chunks/{message-tray-B762TKuv.js → message-tray-hSQff9u4.js} +3 -3
  44. package/dist/_chunks/{nl-Dl7lO2t3.js → nl-xOogO4sZ.js} +2 -2
  45. package/dist/_chunks/{notification-card-DMdO4g54.js → notification-card-CObnGdJu.js} +22 -21
  46. package/dist/_chunks/{notification-tray-Dl3FTleW.js → notification-tray-BWHDIjgd.js} +2 -2
  47. package/dist/_chunks/{otp-input-CDTWT5EK.js → otp-input-CMphfBxZ.js} +70 -71
  48. package/dist/_chunks/{patient-shell-CDvMw_Nk.js → patient-shell-DF81lALv.js} +37 -36
  49. package/dist/_chunks/{payment-form-D5rgnZu7.js → payment-form-Dy3WIIsC.js} +18 -18
  50. package/dist/_chunks/{pdf-viewer-DvtEHcEP.js → pdf-viewer-Cy6Ul3hZ.js} +2 -2
  51. package/dist/_chunks/{pl-Dgsogljx.js → pl-GnOW6eGK.js} +3 -3
  52. package/dist/_chunks/{practice-results-BFM_lyUs.js → practice-results-C0d4IL5E.js} +4 -3
  53. package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +209 -0
  54. package/dist/_chunks/{privacy-lock-DD-wHxBg.js → privacy-lock-BmX_gkvt.js} +2 -2
  55. package/dist/_chunks/{pt-Dm2JF4bc.js → pt-_bV5b5RW.js} +2 -2
  56. package/dist/_chunks/{public-footer.agent-Cjfe5jus.js → public-footer.agent-okt8ZRc5.js} +3 -3
  57. package/dist/_chunks/qr-code-DNXhi6se.js +568 -0
  58. package/dist/_chunks/{react-day-picker-DYDdR8Vv.js → react-day-picker-CdtIiKjx.js} +24 -24
  59. package/dist/_chunks/{reviews-panel-Dow8Dzoa.js → reviews-panel-CPrXu5TX.js} +2 -2
  60. package/dist/_chunks/{rich-text-editor-CHmr9Bz8.js → rich-text-editor-DLbg2852.js} +114 -124
  61. package/dist/_chunks/{ro-BXFZ_xIX.js → ro-BEcyh5Nj.js} +2 -2
  62. package/dist/_chunks/rotate-ccw-BWANpitO.js +15 -0
  63. package/dist/_chunks/{ru-BPQkNRRV.js → ru-Bi86hqMf.js} +3 -3
  64. package/dist/_chunks/session-countdown-LPnhTHjn.js +214 -0
  65. package/dist/_chunks/{shield-check-BhHyReu8.js → shield-check-C73ma9Cs.js} +8 -24
  66. package/dist/_chunks/{sidebar-BbR8f6oe.js → sidebar-_vJXI9rB.js} +2 -2
  67. package/dist/_chunks/sign-document-DId1p-nn.js +315 -0
  68. package/dist/_chunks/{sign-in-with-alfadocs-button-BI0fVonM.js → sign-in-with-alfadocs-button-DeHBFRNS.js} +2 -2
  69. package/dist/_chunks/{signature-capture-C-fF71xI.js → signature-capture-BRzCklg4.js} +27 -24
  70. package/dist/_chunks/social-sign-in-button-X54ySJr1.js +243 -0
  71. package/dist/_chunks/{sparkline-DEROcSl0.js → sparkline-DGhCSw8M.js} +55 -46
  72. package/dist/_chunks/{sq-ChTlGFcJ.js → sq-BujHSAWu.js} +2 -2
  73. package/dist/_chunks/{stepper-accordion-BfS6lUB9.js → stepper-accordion-Dki6r9ZE.js} +2 -2
  74. package/dist/_chunks/subDays-_T9YeKPX.js +8 -0
  75. package/dist/_chunks/{sv-Do_gs6ir.js → sv-C8AeDrTA.js} +2 -2
  76. package/dist/_chunks/{tag-CyoaEmf_.js → tag-CdA0s_VV.js} +16 -16
  77. package/dist/_chunks/{task-card-BUVMh6HN.js → task-card-CPyQ5AXC.js} +6 -5
  78. package/dist/_chunks/{task-tray-DRK0b0Qb.js → task-tray-B8jFv5FV.js} +36 -35
  79. package/dist/_chunks/{tr-da_UnkYH.js → tr-CMSs_Vgf.js} +2 -2
  80. package/dist/_chunks/{transcript-panel-DyhTpAP7.js → transcript-panel-CR7VY1uw.js} +8 -7
  81. package/dist/_chunks/unit-converter-EUwO6QYq.js +168 -0
  82. package/dist/_chunks/wallet-pay-button-DK4ESYge.js +250 -0
  83. package/dist/_chunks/{warning-stack-bDicCvxs.js → warning-stack-DNR3-IbP.js} +17 -16
  84. package/dist/_chunks/{workflow-map-uSiHbOWQ.js → workflow-map-C3gB0FvB.js} +3 -2
  85. package/dist/_chunks/{zh-CN-C9qi5oak.js → zh-CN-eXB-PFu4.js} +3 -3
  86. package/dist/agent-catalog.json +241 -1
  87. package/dist/brand/provider-marks/apple-pay.d.ts +12 -0
  88. package/dist/brand/provider-marks/apple.d.ts +12 -0
  89. package/dist/brand/provider-marks/google-pay.d.ts +12 -0
  90. package/dist/brand/provider-marks/google.d.ts +13 -0
  91. package/dist/components/_shared/insert-result.d.ts +47 -0
  92. package/dist/components/accordion/index.js +1 -1
  93. package/dist/components/agenda-tray/index.js +1 -1
  94. package/dist/components/bmi-calculator/bmi-calculator.d.ts +3 -0
  95. package/dist/components/bmi-calculator/index.js +6 -5
  96. package/dist/components/booking/index.js +1 -1
  97. package/dist/components/calculator-dialog/calculator-dialog.d.ts +26 -0
  98. package/dist/components/calculator-dialog/index.d.ts +3 -0
  99. package/dist/components/calculator-dialog/index.js +5 -0
  100. package/dist/components/chart/chart.d.ts +1 -1
  101. package/dist/components/chart/index.js +1 -1
  102. package/dist/components/chat-message/index.js +1 -1
  103. package/dist/components/collapsible/index.js +1 -1
  104. package/dist/components/contact-profile-card/index.js +1 -1
  105. package/dist/components/cycle-calculator/cycle-calculator.d.ts +21 -0
  106. package/dist/components/cycle-calculator/cycle.d.ts +37 -0
  107. package/dist/components/cycle-calculator/index.d.ts +4 -0
  108. package/dist/components/cycle-calculator/index.js +7 -0
  109. package/dist/components/data-table/index.js +1 -1
  110. package/dist/components/date-picker/index.js +1 -1
  111. package/dist/components/date-range-picker/index.js +1 -1
  112. package/dist/components/date-time-picker/index.js +1 -1
  113. package/dist/components/dependent-selector/dependent-selector.agent.d.ts +4 -0
  114. package/dist/components/dependent-selector/dependent-selector.d.ts +72 -0
  115. package/dist/components/dependent-selector/index.d.ts +4 -0
  116. package/dist/components/dependent-selector/index.js +6 -0
  117. package/dist/components/document-scanner/document-scanner.agent.d.ts +4 -0
  118. package/dist/components/document-scanner/document-scanner.d.ts +93 -0
  119. package/dist/components/document-scanner/index.d.ts +4 -0
  120. package/dist/components/document-scanner/index.js +6 -0
  121. package/dist/components/due-date-calculator/due-date-calculator.d.ts +3 -0
  122. package/dist/components/due-date-calculator/gestation.d.ts +16 -0
  123. package/dist/components/due-date-calculator/index.d.ts +1 -1
  124. package/dist/components/due-date-calculator/index.js +10 -7
  125. package/dist/components/file-upload/index.js +1 -1
  126. package/dist/components/fiscal-code-input/calculate-codice-fiscale.d.ts +24 -0
  127. package/dist/components/fiscal-code-input/fiscal-code-input.agent.d.ts +4 -0
  128. package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +61 -0
  129. package/dist/components/fiscal-code-input/index.d.ts +6 -0
  130. package/dist/components/fiscal-code-input/index.js +11 -0
  131. package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +21 -0
  132. package/dist/components/freemium-paywall/index.js +1 -1
  133. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +27 -0
  134. package/dist/components/gestational-age-calculator/index.d.ts +3 -0
  135. package/dist/components/gestational-age-calculator/index.js +5 -0
  136. package/dist/components/header-settings/header-settings.agent.d.ts +4 -0
  137. package/dist/components/header-settings/header-settings.d.ts +36 -0
  138. package/dist/components/header-settings/index.d.ts +2 -0
  139. package/dist/components/header-settings/index.js +2 -241
  140. package/dist/components/index.d.ts +14 -0
  141. package/dist/components/locale-picker/locale-picker.agent.d.ts +4 -0
  142. package/dist/components/locale-picker/locale-picker.d.ts +80 -0
  143. package/dist/components/logo/index.js +1 -1
  144. package/dist/components/map-view/index.js +1 -1
  145. package/dist/components/message-card/index.js +1 -1
  146. package/dist/components/message-tray/index.js +1 -1
  147. package/dist/components/notification-card/index.js +1 -1
  148. package/dist/components/notification-tray/index.js +1 -1
  149. package/dist/components/otp-input/index.d.ts +1 -1
  150. package/dist/components/otp-input/index.js +1 -1
  151. package/dist/components/otp-input/otp-input.d.ts +1 -1
  152. package/dist/components/payment-form/index.js +1 -1
  153. package/dist/components/pdf-viewer/index.js +1 -1
  154. package/dist/components/practice-results/index.js +1 -1
  155. package/dist/components/pregnancy-weight-gain/index.d.ts +4 -0
  156. package/dist/components/pregnancy-weight-gain/index.js +9 -0
  157. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +19 -0
  158. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +41 -0
  159. package/dist/components/privacy-lock/index.js +1 -1
  160. package/dist/components/public-footer/index.js +1 -1
  161. package/dist/components/qr-code/index.d.ts +5 -0
  162. package/dist/components/qr-code/index.js +8 -0
  163. package/dist/components/qr-code/qr-code.agent.d.ts +3 -0
  164. package/dist/components/qr-code/qr-code.d.ts +59 -0
  165. package/dist/components/qr-code/qr-encode.d.ts +46 -0
  166. package/dist/components/reviews-panel/index.js +1 -1
  167. package/dist/components/rich-text-editor/index.js +1 -1
  168. package/dist/components/session-countdown/index.d.ts +4 -0
  169. package/dist/components/session-countdown/index.js +6 -0
  170. package/dist/components/session-countdown/session-countdown.agent.d.ts +3 -0
  171. package/dist/components/session-countdown/session-countdown.d.ts +38 -0
  172. package/dist/components/sidebar/index.js +1 -1
  173. package/dist/components/sign-document/index.d.ts +4 -0
  174. package/dist/components/sign-document/index.js +6 -0
  175. package/dist/components/sign-document/sign-document.agent.d.ts +4 -0
  176. package/dist/components/sign-document/sign-document.d.ts +47 -0
  177. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  178. package/dist/components/signature-capture/index.js +1 -1
  179. package/dist/components/social-sign-in-button/index.d.ts +3 -0
  180. package/dist/components/social-sign-in-button/index.js +5 -0
  181. package/dist/components/social-sign-in-button/social-sign-in-button.d.ts +56 -0
  182. package/dist/components/sparkline/index.js +1 -1
  183. package/dist/components/sparkline/sparkline.d.ts +1 -1
  184. package/dist/components/stepper-accordion/index.js +1 -1
  185. package/dist/components/tag/index.js +1 -1
  186. package/dist/components/task-card/index.js +1 -1
  187. package/dist/components/task-tray/index.js +1 -1
  188. package/dist/components/transcript-panel/index.js +1 -1
  189. package/dist/components/unit-converter/index.d.ts +4 -0
  190. package/dist/components/unit-converter/index.js +9 -0
  191. package/dist/components/unit-converter/unit-converter.d.ts +21 -0
  192. package/dist/components/unit-converter/units.d.ts +18 -0
  193. package/dist/components/wallet-pay-button/index.d.ts +3 -0
  194. package/dist/components/wallet-pay-button/index.js +5 -0
  195. package/dist/components/wallet-pay-button/wallet-pay-button.d.ts +63 -0
  196. package/dist/components/warning-stack/index.js +1 -1
  197. package/dist/components/workflow/index.js +1 -1
  198. package/dist/i18n/locale-meta.d.ts +56 -0
  199. package/dist/i18n/locales/ar.d.ts +274 -0
  200. package/dist/i18n/locales/ar.js +271 -0
  201. package/dist/i18n/locales/de.d.ts +274 -0
  202. package/dist/i18n/locales/de.js +271 -0
  203. package/dist/i18n/locales/el.d.ts +274 -0
  204. package/dist/i18n/locales/el.js +271 -0
  205. package/dist/i18n/locales/en.d.ts +274 -0
  206. package/dist/i18n/locales/en.js +274 -0
  207. package/dist/i18n/locales/es.d.ts +274 -0
  208. package/dist/i18n/locales/es.js +271 -0
  209. package/dist/i18n/locales/fr.d.ts +274 -0
  210. package/dist/i18n/locales/fr.js +271 -0
  211. package/dist/i18n/locales/hi.d.ts +274 -0
  212. package/dist/i18n/locales/hi.js +271 -0
  213. package/dist/i18n/locales/it.d.ts +274 -0
  214. package/dist/i18n/locales/it.js +271 -0
  215. package/dist/i18n/locales/ja.d.ts +274 -0
  216. package/dist/i18n/locales/ja.js +267 -0
  217. package/dist/i18n/locales/nl.d.ts +274 -0
  218. package/dist/i18n/locales/nl.js +271 -0
  219. package/dist/i18n/locales/pl.d.ts +274 -0
  220. package/dist/i18n/locales/pl.js +271 -0
  221. package/dist/i18n/locales/pt.d.ts +274 -0
  222. package/dist/i18n/locales/pt.js +274 -0
  223. package/dist/i18n/locales/ro.d.ts +274 -0
  224. package/dist/i18n/locales/ro.js +271 -0
  225. package/dist/i18n/locales/ru.d.ts +274 -0
  226. package/dist/i18n/locales/ru.js +271 -0
  227. package/dist/i18n/locales/sq.d.ts +274 -0
  228. package/dist/i18n/locales/sq.js +271 -0
  229. package/dist/i18n/locales/sv.d.ts +274 -0
  230. package/dist/i18n/locales/sv.js +271 -0
  231. package/dist/i18n/locales/tr.d.ts +274 -0
  232. package/dist/i18n/locales/tr.js +271 -0
  233. package/dist/i18n/locales/zh.d.ts +274 -0
  234. package/dist/i18n/locales/zh.js +267 -0
  235. package/dist/index.js +590 -535
  236. package/dist/locales/ar.json +274 -0
  237. package/dist/locales/de.json +274 -0
  238. package/dist/locales/el.json +274 -0
  239. package/dist/locales/en.json +274 -0
  240. package/dist/locales/es.json +274 -0
  241. package/dist/locales/fr.json +274 -0
  242. package/dist/locales/hi.json +274 -0
  243. package/dist/locales/it.json +274 -0
  244. package/dist/locales/ja.json +274 -0
  245. package/dist/locales/nl.json +274 -0
  246. package/dist/locales/pl.json +274 -0
  247. package/dist/locales/pt.json +274 -0
  248. package/dist/locales/ro.json +274 -0
  249. package/dist/locales/ru.json +274 -0
  250. package/dist/locales/sq.json +274 -0
  251. package/dist/locales/sv.json +274 -0
  252. package/dist/locales/tr.json +274 -0
  253. package/dist/locales/zh.json +274 -0
  254. package/dist/patterns/alia-assistant/index.js +1 -1
  255. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  256. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +12 -8
  257. package/dist/patterns/patient-shell/index.js +1 -1
  258. package/dist/tokens.css +1 -1
  259. package/package.json +53 -1
  260. package/dist/_chunks/bmi-calculator-DQD5_nE-.js +0 -214
  261. package/dist/_chunks/due-date-calculator-kf9U_g7O.js +0 -173
  262. package/dist/_chunks/marketplace-app-shell-DXHxy9dj.js +0 -295
  263. package/dist/_chunks/subDays-D-WYRpdW.js +0 -8
@@ -0,0 +1,56 @@
1
+ import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as e } from "react";
3
+ const s = e((t, o) => /* @__PURE__ */ a(
4
+ "svg",
5
+ {
6
+ ref: o,
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ viewBox: "0 0 148 148",
9
+ fill: "currentColor",
10
+ ...t,
11
+ children: [
12
+ /* @__PURE__ */ r(
13
+ "rect",
14
+ {
15
+ x: "53.04",
16
+ y: "2.54",
17
+ width: "33.99",
18
+ height: "49.34",
19
+ rx: "4.56",
20
+ ry: "4.56",
21
+ transform: "translate(-4.66 19.05) rotate(-15)"
22
+ }
23
+ ),
24
+ /* @__PURE__ */ r(
25
+ "rect",
26
+ {
27
+ x: "96.12",
28
+ y: "53.04",
29
+ width: "49.34",
30
+ height: "33.99",
31
+ rx: "4.56",
32
+ ry: "4.56",
33
+ transform: "translate(-14.01 33.65) rotate(-15)"
34
+ }
35
+ ),
36
+ /* @__PURE__ */ r("path", { d: "M47.82,59.56c-.65-2.43-3.15-3.87-5.58-3.22L3.38,66.75c-2.43.65-3.87,3.15-3.22,5.58l6.44,24.03c.65,2.43,3.15,3.87,5.58,3.22l38.86-10.41c2.43-.65,3.87-3.15,3.22-5.58l-6.44-24.03Z" }),
37
+ /* @__PURE__ */ r(
38
+ "rect",
39
+ {
40
+ x: "60.97",
41
+ y: "96.12",
42
+ width: "33.99",
43
+ height: "49.34",
44
+ rx: "4.56",
45
+ ry: "4.56",
46
+ transform: "translate(-28.61 24.29) rotate(-15)"
47
+ }
48
+ )
49
+ ]
50
+ }
51
+ ));
52
+ s.displayName = "AlfadocsLogoMark";
53
+ export {
54
+ s as A
55
+ };
56
+ //# sourceMappingURL=Alfadocs_Logo_Mark-7o3L3WBI.js.map
@@ -70,8 +70,8 @@ const L = {
70
70
  variants: {
71
71
  variant: {
72
72
  default: "",
73
- card: "ds:bg-[var(--card)] ds:border ds:border-[var(--card-border,var(--border))] ds:rounded-[var(--radius-lg)] ds:overflow-hidden",
74
- separated: "ds:border ds:border-border ds:rounded-[var(--radius-md)] ds:overflow-hidden"
73
+ card: "ds:bg-[var(--card)] ds:border ds:border-[color:var(--card-border)] ds:rounded-[var(--radius-lg)] ds:overflow-hidden",
74
+ separated: "ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2 ds:rounded-[var(--radius-md)] ds:overflow-hidden"
75
75
  }
76
76
  },
77
77
  defaultVariants: {
@@ -97,12 +97,12 @@ const L = {
97
97
  ].join(" ")
98
98
  ), V = g(
99
99
  ({ variant: a = "default", className: t, children: n, id: r, ...p }, h) => {
100
- const v = b(null), N = F(h, v), R = J(v), c = p, A = p.type === "multiple", y = c.value !== void 0, [_, T] = S(
100
+ const v = b(null), N = F(h, v), _ = J(v), c = p, A = p.type === "multiple", y = c.value !== void 0, [R, T] = S(
101
101
  () => {
102
102
  const e = c.defaultValue;
103
103
  return e !== void 0 ? e : A ? [] : "";
104
104
  }
105
- ), k = c.value, i = y ? k : _, l = b(i);
105
+ ), k = c.value, i = y ? k : R, l = b(i);
106
106
  H(() => {
107
107
  l.current = i;
108
108
  }, [i]);
@@ -158,7 +158,7 @@ const L = {
158
158
  u.Root,
159
159
  {
160
160
  ref: N,
161
- dir: R,
161
+ dir: _,
162
162
  id: r,
163
163
  "data-component": "accordion",
164
164
  "data-component-id": r,
@@ -225,4 +225,4 @@ export {
225
225
  w as c,
226
226
  L as d
227
227
  };
228
- //# sourceMappingURL=accordion-bSU21uTV.js.map
228
+ //# sourceMappingURL=accordion-9lJSMMsZ.js.map
@@ -1,8 +1,8 @@
1
1
  import { jsx as a, jsxs as n } from "react/jsx-runtime";
2
2
  import { forwardRef as R, useRef as f, useImperativeHandle as z, useMemo as C } from "react";
3
3
  import { c as S } from "./index-D2ZczOXr.js";
4
- import { useTranslation as j } from "react-i18next";
5
- import { I as _ } from "./icon-button-CKEOrN37.js";
4
+ import { useTranslation as _ } from "react-i18next";
5
+ import { I as j } from "./icon-button-CKEOrN37.js";
6
6
  import { S as E } from "./skeleton-CZbwyJAA.js";
7
7
  import { E as P } from "./empty-state-BLy7tigq.js";
8
8
  import { A as H } from "./agenda-card-CFyWSX7Z.js";
@@ -68,6 +68,7 @@ const q = [
68
68
  [
69
69
  "ds:flex ds:flex-col",
70
70
  "ds:rounded-[var(--radius-md)] ds:shadow-[var(--shadow-card)]",
71
+ "ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2",
71
72
  "ds:bg-[color:var(--card)] ds:text-[color:var(--card-foreground)]",
72
73
  "ds:overflow-hidden"
73
74
  ].join(" "),
@@ -89,24 +90,24 @@ const q = [
89
90
  title: u,
90
91
  caption: c,
91
92
  size: l = "sm",
92
- onOpenAppointment: d,
93
+ onOpenAppointment: r,
93
94
  onAddAppointment: m,
94
95
  addLabel: v,
95
96
  loading: p = !1,
96
97
  emptyTitle: x,
97
98
  emptyDescription: k,
98
- className: T,
99
- ...w
100
- }, N) => {
101
- const { t: r } = j(), y = u ?? r("agendaTray.title", "Today's appointments"), b = v ?? r("agendaTray.add", "Add appointment"), I = !p && s.length === 0;
99
+ className: b,
100
+ ...T
101
+ }, w) => {
102
+ const { t: d } = _(), y = u ?? d("agendaTray.title", "Today's appointments"), N = v ?? d("agendaTray.add", "Add appointment"), I = !p && s.length === 0;
102
103
  let i;
103
104
  p ? i = /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [0, 1, 2].map((e) => /* @__PURE__ */ a(E, { variant: "rectangular", height: "2.5rem" }, e)) }) : I ? i = /* @__PURE__ */ a("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ a(
104
105
  P,
105
106
  {
106
107
  variant: "first-use",
107
108
  size: "sm",
108
- title: x ?? r("agendaTray.empty.title", "No appointments"),
109
- description: k ?? r(
109
+ title: x ?? d("agendaTray.empty.title", "No appointments"),
110
+ description: k ?? d(
110
111
  "agendaTray.empty.description",
111
112
  "New appointments will appear here."
112
113
  )
@@ -116,15 +117,15 @@ const q = [
116
117
  {
117
118
  item: e,
118
119
  size: l,
119
- onActivate: d,
120
+ onActivate: r,
120
121
  "data-appointment-id": e.id
121
122
  },
122
123
  e.id
123
124
  )) });
124
125
  const o = f(s);
125
126
  o.current = s;
126
- const g = f(null);
127
- z(N, () => g.current, []);
127
+ const h = f(null);
128
+ z(w, () => h.current, []);
128
129
  const M = C(
129
130
  () => ({
130
131
  getItems: () => o.current.map((e) => ({
@@ -132,21 +133,21 @@ const q = [
132
133
  status: e.status ?? "confirmed"
133
134
  })),
134
135
  selectItem: (e) => {
135
- const h = o.current.find((A) => A.id === e);
136
- h && (d == null || d(h));
136
+ const g = o.current.find((A) => A.id === e);
137
+ g && (r == null || r(g));
137
138
  }
138
139
  }),
139
- [d]
140
+ [r]
140
141
  );
141
142
  return K(D, M, t), /* @__PURE__ */ n(
142
143
  "section",
143
144
  {
144
- ref: g,
145
+ ref: h,
145
146
  "aria-label": y,
146
147
  "data-component": "agenda-tray",
147
148
  "data-component-id": t,
148
- className: F({ size: l, className: T }),
149
- ...w,
149
+ className: F({ size: l, className: b }),
150
+ ...T,
150
151
  children: [
151
152
  /* @__PURE__ */ n("header", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [
152
153
  /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)] ds:min-w-0", children: [
@@ -157,12 +158,12 @@ const q = [
157
158
  c ? /* @__PURE__ */ a("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: c }) : null
158
159
  ] }),
159
160
  m ? /* @__PURE__ */ a(
160
- _,
161
+ j,
161
162
  {
162
163
  icon: /* @__PURE__ */ a(V, {}),
163
164
  intent: "outline",
164
165
  size: "sm",
165
- "aria-label": b,
166
+ "aria-label": N,
166
167
  onClick: m
167
168
  }
168
169
  ) : null
@@ -178,4 +179,4 @@ export {
178
179
  G as A,
179
180
  D as a
180
181
  };
181
- //# sourceMappingURL=agenda-tray-By_asPN9.js.map
182
+ //# sourceMappingURL=agenda-tray-Dyj9ChHC.js.map
@@ -10,7 +10,7 @@ import { S as P } from "./sparkles-CuYXqQLg.js";
10
10
  import { A as k } from "./avatar-BNQNhoyL.js";
11
11
  import { B as D } from "./button-DD_0Xdmr.js";
12
12
  import { C as de } from "./chat-container-ogB4OskO.js";
13
- import { C as ie } from "./chat-message-D53_fH2w.js";
13
+ import { C as ie } from "./chat-message-ASgGtj-L.js";
14
14
  import { C as re } from "./chat-input-CQe7nR_v.js";
15
15
  import { S as le } from "./streaming-text-GH07yIYh.js";
16
16
  import { a as O, S as Q } from "./suggestion-chip-C4kxWUIs.js";
@@ -739,4 +739,4 @@ export {
739
739
  ze as b,
740
740
  Ce as c
741
741
  };
742
- //# sourceMappingURL=alia-sidebar-BEoMl6UL.js.map
742
+ //# sourceMappingURL=alia-sidebar-DXsYPinm.js.map
@@ -1,4 +1,4 @@
1
- import { o as s, q as r, r as i, v as d } from "./react-day-picker-DYDdR8Vv.js";
1
+ import { o as s, q as r, r as i, v as d } from "./react-day-picker-CdtIiKjx.js";
2
2
  const h = {
3
3
  lessThanXSeconds: {
4
4
  one: "أقل من ثانية",
@@ -396,4 +396,4 @@ const h = {
396
396
  export {
397
397
  z as ar
398
398
  };
399
- //# sourceMappingURL=ar-D1RwVZFj.js.map
399
+ //# sourceMappingURL=ar-Cn_NxqkN.js.map
@@ -0,0 +1,32 @@
1
+ const r = 0.45359237, e = 2.54, s = 12, f = (n) => n * r, l = (n) => n / r, u = (n) => n * e, a = (n) => n / e;
2
+ function _(n) {
3
+ const t = a(n), o = Math.floor(t / s);
4
+ return { ft: o, in: t - o * s };
5
+ }
6
+ const I = (n, t) => u(n * s + t);
7
+ function M(n, t) {
8
+ if (n === null || t === null || !Number.isFinite(n) || !Number.isFinite(t) || n <= 0 || t <= 0)
9
+ return null;
10
+ const o = t / 100;
11
+ return n / (o * o);
12
+ }
13
+ function m(n) {
14
+ return n < 18.5 ? "underweight" : n < 25 ? "normal" : n < 30 ? "overweight" : "obese";
15
+ }
16
+ const c = 12, i = 40;
17
+ function T(n) {
18
+ const t = (n - c) / (i - c) * 100;
19
+ return Math.min(100, Math.max(0, t));
20
+ }
21
+ export {
22
+ T as a,
23
+ m as b,
24
+ _ as c,
25
+ a as d,
26
+ M as e,
27
+ I as f,
28
+ u as i,
29
+ l as k,
30
+ f as l
31
+ };
32
+ //# sourceMappingURL=bmi-BxD-tFzU.js.map
@@ -0,0 +1,213 @@
1
+ import { jsxs as i, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as z, useId as U, useState as r, useMemo as O, useEffect as P } from "react";
3
+ import { c as R } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Y } from "react-i18next";
5
+ import { R as I } from "./radio-TWf9Q-mp.js";
6
+ import { R as _ } from "./radio-group-BcF92GEF.js";
7
+ import { F as T } from "./form-field-BOm9hK35.js";
8
+ import { N as h } from "./number-input-Dj5L3pXK.js";
9
+ import { C as q } from "./chart-Cbt0_sKv.js";
10
+ import { B as J } from "./badge-zsf5i5bH.js";
11
+ import { I as Q } from "./insert-result-yJ0QavoN.js";
12
+ import { a as X, b as Z, e as aa, c as la, f as S, l as G, k as ea } from "./bmi-BxD-tFzU.js";
13
+ const ta = R("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
14
+ variants: {
15
+ width: {
16
+ full: "ds:w-full",
17
+ auto: "ds:inline-flex"
18
+ }
19
+ },
20
+ defaultVariants: { width: "full" }
21
+ }), ia = {
22
+ underweight: "info",
23
+ normal: "success",
24
+ overweight: "warning",
25
+ obese: "error"
26
+ }, p = (f) => Math.round(f * 10) / 10, ra = z(
27
+ ({
28
+ defaultUnitSystem: f = "metric",
29
+ onResultChange: u,
30
+ onInsert: y,
31
+ id: k,
32
+ width: A,
33
+ className: H
34
+ }, K) => {
35
+ const { t: a, i18n: v } = Y(), x = U(), [s, V] = r(f), [d, N] = r(null), [g, w] = r(null), [o, F] = r(null), [n, $] = r(null), [m, B] = r(null), D = (M) => {
36
+ const C = M;
37
+ if (C !== s) {
38
+ if (C === "imperial") {
39
+ if (d !== null) {
40
+ const { ft: W, in: j } = la(d);
41
+ F(W), $(p(j));
42
+ }
43
+ g !== null && B(p(ea(g)));
44
+ } else
45
+ (o !== null || n !== null) && N(p(S(o ?? 0, n ?? 0))), m !== null && w(p(G(m)));
46
+ V(C);
47
+ }
48
+ }, E = s === "metric" ? d : o !== null || n !== null ? S(o ?? 0, n ?? 0) : null, L = s === "metric" ? g : m !== null ? G(m) : null, t = aa(L, E), e = t !== null ? Z(t) : null, b = O(
49
+ () => new Intl.NumberFormat(v.language, {
50
+ minimumFractionDigits: 1,
51
+ maximumFractionDigits: 1
52
+ }),
53
+ [v.language]
54
+ );
55
+ P(() => {
56
+ u == null || u(
57
+ t !== null && e !== null ? { bmi: t, category: e } : null
58
+ );
59
+ }, [t, e, u]);
60
+ const c = s === "metric";
61
+ return /* @__PURE__ */ i(
62
+ "div",
63
+ {
64
+ ref: K,
65
+ "data-component": "bmi-calculator",
66
+ "data-component-id": k,
67
+ className: ta({ width: A, className: H }),
68
+ children: [
69
+ /* @__PURE__ */ i(
70
+ _,
71
+ {
72
+ label: a("bmiCalculator.unitSystem.label"),
73
+ variant: "horizontal",
74
+ value: s,
75
+ onValueChange: D,
76
+ children: [
77
+ /* @__PURE__ */ l(I, { label: a("bmiCalculator.unitSystem.metric"), value: "metric" }),
78
+ /* @__PURE__ */ l(
79
+ I,
80
+ {
81
+ label: a("bmiCalculator.unitSystem.imperial"),
82
+ value: "imperial"
83
+ }
84
+ )
85
+ ]
86
+ }
87
+ ),
88
+ /* @__PURE__ */ i("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
89
+ c ? /* @__PURE__ */ l(
90
+ T,
91
+ {
92
+ label: `${a("bmiCalculator.height")} (${a("bmiCalculator.units.cm")})`,
93
+ children: /* @__PURE__ */ l(
94
+ h,
95
+ {
96
+ mode: "decimal",
97
+ min: 0,
98
+ step: 0.5,
99
+ value: d,
100
+ onChange: N
101
+ }
102
+ )
103
+ }
104
+ ) : /* @__PURE__ */ i("div", { role: "group", "aria-labelledby": x, children: [
105
+ /* @__PURE__ */ l(
106
+ "span",
107
+ {
108
+ id: x,
109
+ className: "type-label ds:mb-[var(--spacing-xs)] ds:block ds:text-foreground",
110
+ children: a("bmiCalculator.height")
111
+ }
112
+ ),
113
+ /* @__PURE__ */ i("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
114
+ /* @__PURE__ */ l(
115
+ h,
116
+ {
117
+ mode: "integer",
118
+ min: 0,
119
+ value: o,
120
+ onChange: F,
121
+ "aria-label": a("bmiCalculator.feet")
122
+ }
123
+ ),
124
+ /* @__PURE__ */ l("span", { className: "type-label ds:text-muted-foreground", children: a("bmiCalculator.units.ft") }),
125
+ /* @__PURE__ */ l(
126
+ h,
127
+ {
128
+ mode: "decimal",
129
+ min: 0,
130
+ max: 11.9,
131
+ step: 0.5,
132
+ value: n,
133
+ onChange: $,
134
+ "aria-label": a("bmiCalculator.inches")
135
+ }
136
+ ),
137
+ /* @__PURE__ */ l("span", { className: "type-label ds:text-muted-foreground", children: a("bmiCalculator.units.in") })
138
+ ] })
139
+ ] }),
140
+ /* @__PURE__ */ l(
141
+ T,
142
+ {
143
+ label: `${a("bmiCalculator.weight")} (${a(
144
+ c ? "bmiCalculator.units.kg" : "bmiCalculator.units.lb"
145
+ )})`,
146
+ children: /* @__PURE__ */ l(
147
+ h,
148
+ {
149
+ mode: "decimal",
150
+ min: 0,
151
+ step: c ? 0.1 : 0.5,
152
+ value: c ? g : m,
153
+ onChange: c ? w : B
154
+ }
155
+ )
156
+ }
157
+ )
158
+ ] }),
159
+ /* @__PURE__ */ l("p", { className: "ds:sr-only", role: "status", "aria-live": "polite", children: t !== null && e !== null ? a("bmiCalculator.gaugeAria", {
160
+ bmi: b.format(t),
161
+ category: a(`bmiCalculator.category.${e}`)
162
+ }) : "" }),
163
+ t !== null && e !== null ? /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-md)]", children: [
164
+ /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-xs)] ds:text-center", children: [
165
+ /* @__PURE__ */ l("span", { className: "type-label ds:text-muted-foreground", children: a("bmiCalculator.category.label") }),
166
+ /* @__PURE__ */ l(J, { variant: ia[e], size: "lg", children: a(`bmiCalculator.category.${e}`) }),
167
+ /* @__PURE__ */ l("p", { className: "type-body ds:text-muted-foreground", children: a(`bmiCalculator.range.${e}`) })
168
+ ] }),
169
+ /* @__PURE__ */ l("div", { className: "ds:w-[240px] ds:max-w-full", children: /* @__PURE__ */ l(
170
+ q,
171
+ {
172
+ type: "radialBar",
173
+ title: a("bmiCalculator.gaugeAria", {
174
+ bmi: b.format(t),
175
+ category: a(`bmiCalculator.category.${e}`)
176
+ }),
177
+ series: [X(t)],
178
+ labels: [a(`bmiCalculator.category.${e}`)],
179
+ radialValueFormatter: () => b.format(t),
180
+ height: 240
181
+ }
182
+ ) }),
183
+ y ? /* @__PURE__ */ l(
184
+ Q,
185
+ {
186
+ onInsert: y,
187
+ card: {
188
+ title: a("insert.title.bmi"),
189
+ highlight: a(`bmiCalculator.category.${e}`),
190
+ fields: [
191
+ {
192
+ label: a("insert.title.bmi"),
193
+ value: b.format(t)
194
+ },
195
+ {
196
+ label: a("bmiCalculator.category.label"),
197
+ value: a(`bmiCalculator.category.${e}`)
198
+ }
199
+ ]
200
+ }
201
+ }
202
+ ) : null
203
+ ] }) : /* @__PURE__ */ l("p", { className: "type-body ds:text-muted-foreground", children: a("bmiCalculator.empty") })
204
+ ]
205
+ }
206
+ );
207
+ }
208
+ );
209
+ ra.displayName = "BmiCalculator";
210
+ export {
211
+ ra as B
212
+ };
213
+ //# sourceMappingURL=bmi-calculator-DnEr513I.js.map
@@ -7,7 +7,7 @@ import { A as z } from "./alert-ywPR59NE.js";
7
7
  import { B as ie } from "./button-DD_0Xdmr.js";
8
8
  import { C as Ke } from "./checkbox-DRcOdmXv.js";
9
9
  import { C as Bt } from "./checkbox-group-CpUwlHug.js";
10
- import { D as Et } from "./date-picker-CXFpu-qY.js";
10
+ import { D as Et } from "./date-picker-CvQfs6Xh.js";
11
11
  import { E as Vt } from "./email-input-lQivsFrw.js";
12
12
  import { F as Z } from "./form-field-BOm9hK35.js";
13
13
  import { P as Lt } from "./phone-input-DfZbPPvh.js";
@@ -20,12 +20,12 @@ import { C as Ge } from "./combobox-BC-DFx8G.js";
20
20
  import { M as Ue } from "./multi-select-DOLO3K_z.js";
21
21
  import { S as Te } from "./skeleton-CZbwyJAA.js";
22
22
  import { E as dt } from "./empty-state-BLy7tigq.js";
23
- import { S as $t } from "./stepper-accordion-BfS6lUB9.js";
23
+ import { S as $t } from "./stepper-accordion-Dki6r9ZE.js";
24
24
  import { S as zt } from "./stepper-progress-DDjq5nei.js";
25
25
  import { p as F, S as Kt } from "./slot-grid-BlHHP9Qy.js";
26
26
  import { s as le, i as at } from "./isSameDay-DUEiAT0G.js";
27
- import { w as lt, n as ce, a as je, m as jt, h as ye, f as qt, i as _e, x as Me } from "./react-day-picker-DYDdR8Vv.js";
28
- import { s as Ht } from "./subDays-D-WYRpdW.js";
27
+ import { w as lt, i as ce, a as je, n as jt, h as ye, f as qt, j as _e, x as Me } from "./react-day-picker-CdtIiKjx.js";
28
+ import { s as Ht } from "./subDays-_T9YeKPX.js";
29
29
  import { C as Gt } from "./chevron-left-CX1jqD2M.js";
30
30
  import { C as Ut } from "./chevron-right-BrpYejk0.js";
31
31
  import { c as V } from "./createLucideIcon-CrFbzy84.js";
@@ -2697,4 +2697,4 @@ export {
2697
2697
  X as O,
2698
2698
  Da as b
2699
2699
  };
2700
- //# sourceMappingURL=booking-DqXsd1Mv.js.map
2700
+ //# sourceMappingURL=booking-4mCw3Mpl.js.map
@@ -0,0 +1,40 @@
1
+ import { jsxs as a, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as p } from "react";
3
+ import { D as r } from "./dialog-Cee13rHU.js";
4
+ const u = p(
5
+ ({
6
+ trigger: i,
7
+ title: e,
8
+ description: o,
9
+ children: t,
10
+ size: n = "lg",
11
+ open: c,
12
+ defaultOpen: d,
13
+ onOpenChange: m,
14
+ id: s,
15
+ className: g
16
+ }, h) => /* @__PURE__ */ a(
17
+ r,
18
+ {
19
+ open: c,
20
+ defaultOpen: d,
21
+ onOpenChange: m,
22
+ id: s,
23
+ children: [
24
+ /* @__PURE__ */ l(r.Trigger, { asChild: !0, children: i }),
25
+ /* @__PURE__ */ a(r.Content, { ref: h, size: n, children: [
26
+ /* @__PURE__ */ a(r.Header, { children: [
27
+ /* @__PURE__ */ l(r.Title, { children: e }),
28
+ o ? /* @__PURE__ */ l(r.Description, { children: o }) : null
29
+ ] }),
30
+ /* @__PURE__ */ l("div", { "data-component": "calculator-dialog", className: g, children: t })
31
+ ] })
32
+ ]
33
+ }
34
+ )
35
+ );
36
+ u.displayName = "CalculatorDialog";
37
+ export {
38
+ u as C
39
+ };
40
+ //# sourceMappingURL=calculator-dialog-B74fqpFZ.js.map