@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
@@ -1,15 +1,16 @@
1
- import { jsxs as t, jsx as c } from "react/jsx-runtime";
2
- import { forwardRef as e } from "react";
1
+ import { jsxs as r, jsx as c } from "react/jsx-runtime";
2
+ import { forwardRef as i } from "react";
3
3
  import { c as n } from "./index-D2ZczOXr.js";
4
- const v = e((r, a) => /* @__PURE__ */ t(
4
+ import { A as w } from "./Alfadocs_Logo_Mark-7o3L3WBI.js";
5
+ const v = i((a, t) => /* @__PURE__ */ r(
5
6
  "svg",
6
7
  {
7
- ref: a,
8
+ ref: t,
8
9
  xmlns: "http://www.w3.org/2000/svg",
9
10
  viewBox: "0 0 805 148",
10
- ...r,
11
+ ...a,
11
12
  children: [
12
- /* @__PURE__ */ t("g", { className: "ds:fill-[color:var(--color-blue-500)]", children: [
13
+ /* @__PURE__ */ r("g", { className: "ds:fill-[color:var(--color-blue-500)]", children: [
13
14
  /* @__PURE__ */ c("path", { d: "M460.58,51.29h-10.51c-3.57,0-6.52.99-8.85,2.97-2.32,1.98-3.48,4.71-3.48,8.18v.15h-1.62c-.62,0-1.21-.34-1.49-.89-.26-.51-.55-1.01-.86-1.49-.21-.34-.43-.68-.68-1.01,0-.04-.02-.07-.06-.11-.21-.28-.4-.55-.64-.83-.05-.1-.12-.18-.22-.28-.21-.26-.43-.53-.66-.78-.04-.06-.1-.12-.17-.18-.18-.21-.37-.42-.57-.61-.36-.37-.75-.73-1.16-1.09-.82-.74-1.68-1.46-2.63-2.15-1.08-.76-2.29-1.41-3.66-1.93-.32-.13-.65-.26-.98-.37-.4-.13-.82-.27-1.26-.39-.4-.11-.82-.22-1.23-.32-1.26-.31-2.63-.53-4.11-.67-.26-.02-.54-.05-.82-.07-.24-.02-.5-.05-.75-.06-1.15-.09-2.36-.12-3.62-.12-1.47,0-2.9.09-4.32.27-.54.07-1.08.15-1.6.24-3.73.65-7.25,1.96-10.58,3.88-.81.47-1.58.98-2.34,1.52-.31.21-.61.43-.91.66-.09.07-.17.13-.25.2-.98.76-1.91,1.58-2.78,2.47-.03.03-.06.07-.1.1-.02.02-.04.03-.06.05-.78.78-1.52,1.61-2.23,2.51-.35.44-.7.89-1.03,1.36-.89,1.25-1.72,2.57-2.49,3.99-3.07,5.65-4.61,12.48-4.61,20.5v2.37c0,8.02,1.54,14.85,4.61,20.5.77,1.42,1.6,2.74,2.49,3.99.33.46.67.92,1.03,1.36.71.89,1.44,1.72,2.23,2.51.02.02.04.04.06.06.04.04.07.07.1.11.86.88,1.79,1.7,2.76,2.46.09.07.18.14.27.21.3.22.6.44.9.65.76.54,1.53,1.05,2.34,1.52,3.33,1.92,6.85,3.23,10.58,3.88.53.09,1.06.17,1.6.24,1.42.17,2.86.27,4.32.27,1.26,0,2.47-.04,3.62-.12.24-.01.5-.04.75-.06.28-.01.55-.04.82-.07,1.48-.15,2.85-.37,4.11-.67.43-.1.83-.2,1.23-.32.43-.12.86-.26,1.26-.39.33-.12.66-.24.98-.37,1.37-.53,2.58-1.17,3.66-1.93.96-.68,1.82-1.41,2.63-2.15h0c.4-.36.79-.72,1.16-1.09.2-.21.39-.4.57-.61.06-.06.12-.12.17-.18.23-.26.45-.53.66-.78.09-.1.16-.18.22-.28.23-.28.43-.55.64-.83.01-.04.04-.07.06-.11.26-.33.48-.67.68-1.01.31-.49.6-.99.86-1.49.29-.55.87-.89,1.49-.89h1.62v.15c0,3.47,1.16,6.2,3.48,8.18,2.34,1.98,5.28,2.97,8.85,2.97h9.87c2.75,0,4.98-2.23,4.98-4.98v-5.49c0-2.75-2.23-4.98-4.98-4.98h-.96c-2.78,0-4.17-1.49-4.17-4.46v-33.87c0-2.97,1.39-4.46,4.17-4.46h1.59c2.4,0,4.35-1.95,4.35-4.35v-6.76c0-2.4-1.95-4.35-4.35-4.35ZM436.41,88.88c0,.89-.02,1.75-.09,2.59-.02.32-.05.62-.09.93-.06.61-.13,1.21-.23,1.8-.05.29-.11.59-.16.87-.1.53-.22,1.03-.35,1.53-.93,3.47-2.56,6.32-4.88,8.55-2.74,2.64-5.95,4.34-9.65,5.11-.54.11-1.08.2-1.64.27-1,.13-2.05.2-3.13.2-5.75,0-10.55-1.86-14.41-5.57-3.86-3.7-5.79-9.13-5.79-16.26v-1.49c0-7.13,1.93-12.56,5.79-16.26,3.86-3.72,8.67-5.57,14.41-5.57,1.08,0,2.13.06,3.13.2.56.07,1.1.16,1.64.27,3.69.77,6.91,2.47,9.65,5.11,2.32,2.23,3.95,5.07,4.88,8.55.13.5.26,1,.35,1.53.06.28.11.57.16.87.1.59.17,1.19.23,1.8.04.31.06.61.09.93.06.84.09,1.7.09,2.59v1.49Z" }),
14
15
  /* @__PURE__ */ c("path", { d: "M245.66,25.95c-.77-2.92-3.41-4.96-6.44-4.96h-23.91c-3.02,0-5.67,2.04-6.44,4.96l-24.7,93.97c-.67,2.56,1.26,5.06,3.9,5.06h11.81c1.86,0,3.47-1.27,3.92-3.07l4.57-18.51c.19-.76.87-1.3,1.66-1.3h34.46c.79,0,1.47.54,1.66,1.3l4.64,18.82c.4,1.62,1.85,2.76,3.52,2.76h12.67c2.38,0,4.11-2.25,3.51-4.55l-24.84-94.49ZM239.04,83.98h-23.55c-1.11,0-1.93-1.05-1.66-2.13l11.78-47.24c.19-.76.87-1.3,1.66-1.3s1.47.54,1.66,1.3l11.78,47.24c.27,1.08-.55,2.13-1.66,2.13Z" }),
15
16
  /* @__PURE__ */ c("rect", { x: "281.2", y: "20.98", width: "18.72", height: "104", rx: "4.8", ry: "4.8" }),
@@ -19,7 +20,7 @@ const v = e((r, a) => /* @__PURE__ */ t(
19
20
  /* @__PURE__ */ c("path", { d: "M725.81,97.59l-8.12-1.93c-2.45-.58-5,.74-5.84,3.12-1,2.85-2.5,5.27-4.49,7.26-2.92,2.92-7.21,4.38-12.85,4.38-3.77,0-7.16-.82-10.18-2.45-3.02-1.63-5.4-4.06-7.13-7.28-1.73-3.22-2.6-7.15-2.6-11.81v-1.49c0-4.65.87-8.59,2.6-11.81,1.73-3.22,4.11-5.65,7.13-7.28,3.02-1.63,6.41-2.45,10.18-2.45s6.91.69,9.43,2.08c2.53,1.39,4.48,3.27,5.87,5.65.72,1.23,1.3,2.54,1.76,3.93.74,2.28,3.1,3.62,5.45,3.12l8.8-1.88c2.77-.59,4.38-3.47,3.49-6.16-1.14-3.43-2.76-6.59-4.86-9.5-3.12-4.31-7.21-7.7-12.26-10.18-5.05-2.47-11.09-3.71-18.13-3.71s-13.59,1.49-19.39,4.46c-5.79,2.97-10.38,7.28-13.74,12.93-3.37,5.65-5.05,12.48-5.05,20.5v2.08c0,8.02,1.68,14.86,5.05,20.5,3.37,5.65,7.95,9.95,13.74,12.93,5.79,2.97,12.26,4.46,19.39,4.46s13.07-1.24,18.13-3.71c5.05-2.47,9.14-5.87,12.26-10.18,1.99-2.75,3.6-5.68,4.85-8.81,1.14-2.86-.49-6.06-3.48-6.77Z" }),
20
21
  /* @__PURE__ */ c("path", { d: "M801.06,90.59c-2.63-3.02-6.19-5.35-10.7-6.98-4.51-1.63-9.53-2.95-15.08-3.94l-4.16-.74c-3.37-.59-6.04-1.46-8.02-2.6-1.98-1.14-2.97-2.9-2.97-5.27,0-2.18.94-3.89,2.82-5.13,1.88-1.24,4.61-1.86,8.17-1.86s6.56.79,8.99,2.38c1.53,1,2.74,2.44,3.62,4.31.92,1.95,3.31,3.06,5.38,2.43l8.61-2.65c2.62-.81,3.96-3.79,2.7-6.23-1.97-3.78-4.9-6.98-8.79-9.6-5.45-3.66-12.28-5.5-20.5-5.5-8.72,0-15.75,1.96-21.1,5.87-5.35,3.91-8.02,9.53-8.02,16.86,0,4.85,1.29,8.82,3.86,11.89,2.57,3.07,5.99,5.47,10.25,7.21,4.26,1.73,8.96,3.1,14.11,4.09l4.16.74c4.36.79,7.53,1.81,9.51,3.05,1.98,1.24,2.97,3,2.97,5.27s-1.04,4.19-3.12,5.72c-2.08,1.54-5.3,2.3-9.66,2.3-2.87,0-5.52-.42-7.95-1.26-2.43-.84-4.46-2.25-6.09-4.23-.98-1.19-1.8-2.65-2.44-4.38-.76-2.04-3.17-3.25-5.28-2.7l-8.74,2.26c-2.56.66-3.96,3.26-3.12,5.77,1.82,5.5,5.16,9.88,10,13.17,6.14,4.16,14.01,6.24,23.62,6.24s16.91-2.1,22.51-6.31c5.59-4.21,8.39-10.18,8.39-17.9,0-5.15-1.31-9.23-3.94-12.26Z" })
21
22
  ] }),
22
- /* @__PURE__ */ t("g", { className: "ds:fill-[color:var(--color-violet-500)]", children: [
23
+ /* @__PURE__ */ r("g", { className: "ds:fill-[color:var(--color-violet-500)]", children: [
23
24
  /* @__PURE__ */ c(
24
25
  "rect",
25
26
  {
@@ -62,16 +63,16 @@ const v = e((r, a) => /* @__PURE__ */ t(
62
63
  }
63
64
  ));
64
65
  v.displayName = "AlfadocsLogoMain";
65
- const i = e((r, a) => /* @__PURE__ */ t(
66
+ const d = i((a, t) => /* @__PURE__ */ r(
66
67
  "svg",
67
68
  {
68
- ref: a,
69
+ ref: t,
69
70
  xmlns: "http://www.w3.org/2000/svg",
70
71
  viewBox: "0 0 805 148",
71
72
  fill: "currentColor",
72
- ...r,
73
+ ...a,
73
74
  children: [
74
- /* @__PURE__ */ t("g", { children: [
75
+ /* @__PURE__ */ r("g", { children: [
75
76
  /* @__PURE__ */ c("path", { d: "M460.58,51.29h-10.51c-3.57,0-6.52.99-8.85,2.97-2.32,1.98-3.48,4.71-3.48,8.18v.15h-1.62c-.62,0-1.21-.34-1.49-.89-.26-.51-.55-1.01-.86-1.49-.21-.34-.43-.68-.68-1.01,0-.04-.02-.07-.06-.11-.21-.28-.4-.55-.64-.83-.05-.1-.12-.18-.22-.28-.21-.26-.43-.53-.66-.78-.04-.06-.1-.12-.17-.18-.18-.21-.37-.42-.57-.61-.36-.37-.75-.73-1.16-1.09-.82-.74-1.68-1.46-2.63-2.15-1.08-.76-2.29-1.41-3.66-1.93-.32-.13-.65-.26-.98-.37-.4-.13-.82-.27-1.26-.39-.4-.11-.82-.22-1.23-.32-1.26-.31-2.63-.53-4.11-.67-.26-.02-.54-.05-.82-.07-.24-.02-.5-.05-.75-.06-1.15-.09-2.36-.12-3.62-.12-1.47,0-2.9.09-4.32.27-.54.07-1.08.15-1.6.24-3.73.65-7.25,1.96-10.58,3.88-.81.47-1.58.98-2.34,1.52-.31.21-.61.43-.91.66-.09.07-.17.13-.25.2-.98.76-1.91,1.58-2.78,2.47-.03.03-.06.07-.1.1-.02.02-.04.03-.06.05-.78.78-1.52,1.61-2.23,2.51-.35.44-.7.89-1.03,1.36-.89,1.25-1.72,2.57-2.49,3.99-3.07,5.65-4.61,12.48-4.61,20.5v2.37c0,8.02,1.54,14.85,4.61,20.5.77,1.42,1.6,2.74,2.49,3.99.33.46.67.92,1.03,1.36.71.89,1.44,1.72,2.23,2.51.02.02.04.04.06.06.04.04.07.07.1.11.86.88,1.79,1.7,2.76,2.46.09.07.18.14.27.21.3.22.6.44.9.65.76.54,1.53,1.05,2.34,1.52,3.33,1.92,6.85,3.23,10.58,3.88.53.09,1.06.17,1.6.24,1.42.17,2.86.27,4.32.27,1.26,0,2.47-.04,3.62-.12.24-.01.5-.04.75-.06.28-.01.55-.04.82-.07,1.48-.15,2.85-.37,4.11-.67.43-.1.83-.2,1.23-.32.43-.12.86-.26,1.26-.39.33-.12.66-.24.98-.37,1.37-.53,2.58-1.17,3.66-1.93.96-.68,1.82-1.41,2.63-2.15h0c.4-.36.79-.72,1.16-1.09.2-.21.39-.4.57-.61.06-.06.12-.12.17-.18.23-.26.45-.53.66-.78.09-.1.16-.18.22-.28.23-.28.43-.55.64-.83.01-.04.04-.07.06-.11.26-.33.48-.67.68-1.01.31-.49.6-.99.86-1.49.29-.55.87-.89,1.49-.89h1.62v.15c0,3.47,1.16,6.2,3.48,8.18,2.34,1.98,5.28,2.97,8.85,2.97h9.87c2.75,0,4.98-2.23,4.98-4.98v-5.49c0-2.75-2.23-4.98-4.98-4.98h-.96c-2.78,0-4.17-1.49-4.17-4.46v-33.87c0-2.97,1.39-4.46,4.17-4.46h1.59c2.4,0,4.35-1.95,4.35-4.35v-6.76c0-2.4-1.95-4.35-4.35-4.35ZM436.41,88.88c0,.89-.02,1.75-.09,2.59-.02.32-.05.62-.09.93-.06.61-.13,1.21-.23,1.8-.05.29-.11.59-.16.87-.1.53-.22,1.03-.35,1.53-.93,3.47-2.56,6.32-4.88,8.55-2.74,2.64-5.95,4.34-9.65,5.11-.54.11-1.08.2-1.64.27-1,.13-2.05.2-3.13.2-5.75,0-10.55-1.86-14.41-5.57-3.86-3.7-5.79-9.13-5.79-16.26v-1.49c0-7.13,1.93-12.56,5.79-16.26,3.86-3.72,8.67-5.57,14.41-5.57,1.08,0,2.13.06,3.13.2.56.07,1.1.16,1.64.27,3.69.77,6.91,2.47,9.65,5.11,2.32,2.23,3.95,5.07,4.88,8.55.13.5.26,1,.35,1.53.06.28.11.57.16.87.1.59.17,1.19.23,1.8.04.31.06.61.09.93.06.84.09,1.7.09,2.59v1.49Z" }),
76
77
  /* @__PURE__ */ c("path", { d: "M245.66,25.95c-.77-2.92-3.41-4.96-6.44-4.96h-23.91c-3.02,0-5.67,2.04-6.44,4.96l-24.7,93.97c-.67,2.56,1.26,5.06,3.9,5.06h11.81c1.86,0,3.47-1.27,3.92-3.07l4.57-18.51c.19-.76.87-1.3,1.66-1.3h34.46c.79,0,1.47.54,1.66,1.3l4.64,18.82c.4,1.62,1.85,2.76,3.52,2.76h12.67c2.38,0,4.11-2.25,3.51-4.55l-24.84-94.49ZM239.04,83.98h-23.55c-1.11,0-1.93-1.05-1.66-2.13l11.78-47.24c.19-.76.87-1.3,1.66-1.3s1.47.54,1.66,1.3l11.78,47.24c.27,1.08-.55,2.13-1.66,2.13Z" }),
77
78
  /* @__PURE__ */ c("rect", { x: "281.2", y: "20.98", width: "18.72", height: "104", rx: "4.8", ry: "4.8" }),
@@ -81,7 +82,7 @@ const i = e((r, a) => /* @__PURE__ */ t(
81
82
  /* @__PURE__ */ c("path", { d: "M725.81,97.59l-8.12-1.93c-2.45-.58-5,.74-5.84,3.12-1,2.85-2.5,5.27-4.49,7.26-2.92,2.92-7.21,4.38-12.85,4.38-3.77,0-7.16-.82-10.18-2.45-3.02-1.63-5.4-4.06-7.13-7.28-1.73-3.22-2.6-7.15-2.6-11.81v-1.49c0-4.65.87-8.59,2.6-11.81,1.73-3.22,4.11-5.65,7.13-7.28,3.02-1.63,6.41-2.45,10.18-2.45s6.91.69,9.43,2.08c2.53,1.39,4.48,3.27,5.87,5.65.72,1.23,1.3,2.54,1.76,3.93.74,2.28,3.1,3.62,5.45,3.12l8.8-1.88c2.77-.59,4.38-3.47,3.49-6.16-1.14-3.43-2.76-6.59-4.86-9.5-3.12-4.31-7.21-7.7-12.26-10.18-5.05-2.47-11.09-3.71-18.13-3.71s-13.59,1.49-19.39,4.46c-5.79,2.97-10.38,7.28-13.74,12.93-3.37,5.65-5.05,12.48-5.05,20.5v2.08c0,8.02,1.68,14.86,5.05,20.5,3.37,5.65,7.95,9.95,13.74,12.93,5.79,2.97,12.26,4.46,19.39,4.46s13.07-1.24,18.13-3.71c5.05-2.47,9.14-5.87,12.26-10.18,1.99-2.75,3.6-5.68,4.85-8.81,1.14-2.86-.49-6.06-3.48-6.77Z" }),
82
83
  /* @__PURE__ */ c("path", { d: "M801.06,90.59c-2.63-3.02-6.19-5.35-10.7-6.98-4.51-1.63-9.53-2.95-15.08-3.94l-4.16-.74c-3.37-.59-6.04-1.46-8.02-2.6-1.98-1.14-2.97-2.9-2.97-5.27,0-2.18.94-3.89,2.82-5.13,1.88-1.24,4.61-1.86,8.17-1.86s6.56.79,8.99,2.38c1.53,1,2.74,2.44,3.62,4.31.92,1.95,3.31,3.06,5.38,2.43l8.61-2.65c2.62-.81,3.96-3.79,2.7-6.23-1.97-3.78-4.9-6.98-8.79-9.6-5.45-3.66-12.28-5.5-20.5-5.5-8.72,0-15.75,1.96-21.1,5.87-5.35,3.91-8.02,9.53-8.02,16.86,0,4.85,1.29,8.82,3.86,11.89,2.57,3.07,5.99,5.47,10.25,7.21,4.26,1.73,8.96,3.1,14.11,4.09l4.16.74c4.36.79,7.53,1.81,9.51,3.05,1.98,1.24,2.97,3,2.97,5.27s-1.04,4.19-3.12,5.72c-2.08,1.54-5.3,2.3-9.66,2.3-2.87,0-5.52-.42-7.95-1.26-2.43-.84-4.46-2.25-6.09-4.23-.98-1.19-1.8-2.65-2.44-4.38-.76-2.04-3.17-3.25-5.28-2.7l-8.74,2.26c-2.56.66-3.96,3.26-3.12,5.77,1.82,5.5,5.16,9.88,10,13.17,6.14,4.16,14.01,6.24,23.62,6.24s16.91-2.1,22.51-6.31c5.59-4.21,8.39-10.18,8.39-17.9,0-5.15-1.31-9.23-3.94-12.26Z" })
83
84
  ] }),
84
- /* @__PURE__ */ t("g", { children: [
85
+ /* @__PURE__ */ r("g", { children: [
85
86
  /* @__PURE__ */ c(
86
87
  "rect",
87
88
  {
@@ -123,58 +124,8 @@ const i = e((r, a) => /* @__PURE__ */ t(
123
124
  ]
124
125
  }
125
126
  ));
126
- i.displayName = "AlfadocsLogoNeg";
127
- const m = e((r, a) => /* @__PURE__ */ t(
128
- "svg",
129
- {
130
- ref: a,
131
- xmlns: "http://www.w3.org/2000/svg",
132
- viewBox: "0 0 148 148",
133
- fill: "currentColor",
134
- ...r,
135
- children: [
136
- /* @__PURE__ */ c(
137
- "rect",
138
- {
139
- x: "53.04",
140
- y: "2.54",
141
- width: "33.99",
142
- height: "49.34",
143
- rx: "4.56",
144
- ry: "4.56",
145
- transform: "translate(-4.66 19.05) rotate(-15)"
146
- }
147
- ),
148
- /* @__PURE__ */ c(
149
- "rect",
150
- {
151
- x: "96.12",
152
- y: "53.04",
153
- width: "49.34",
154
- height: "33.99",
155
- rx: "4.56",
156
- ry: "4.56",
157
- transform: "translate(-14.01 33.65) rotate(-15)"
158
- }
159
- ),
160
- /* @__PURE__ */ c("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" }),
161
- /* @__PURE__ */ c(
162
- "rect",
163
- {
164
- x: "60.97",
165
- y: "96.12",
166
- width: "33.99",
167
- height: "49.34",
168
- rx: "4.56",
169
- ry: "4.56",
170
- transform: "translate(-28.61 24.29) rotate(-15)"
171
- }
172
- )
173
- ]
174
- }
175
- ));
176
- m.displayName = "AlfadocsLogoMark";
177
- const f = n(
127
+ d.displayName = "AlfadocsLogoNeg";
128
+ const M = n(
178
129
  [
179
130
  "ds:align-middle ds:shrink-0",
180
131
  // `leading-none` zeros the implicit line-height on the SVG so the
@@ -195,7 +146,7 @@ const f = n(
195
146
  },
196
147
  defaultVariants: { size: "md" }
197
148
  }
198
- ), M = n("ds:inline-flex ds:items-center", {
149
+ ), f = n("ds:inline-flex ds:items-center", {
199
150
  variants: {
200
151
  variant: {
201
152
  mark: "ds:text-[color:var(--primary)]",
@@ -208,44 +159,44 @@ const f = n(
208
159
  }
209
160
  },
210
161
  defaultVariants: { variant: "wordmark", tone: "auto" }
211
- }), y = e(
162
+ }), Z = i(
212
163
  ({
213
- variant: r = "wordmark",
214
- tone: a = "auto",
215
- size: g,
216
- className: x,
164
+ variant: a = "wordmark",
165
+ tone: t = "auto",
166
+ size: m,
167
+ className: g,
217
168
  decorative: p,
218
- "aria-label": w,
169
+ "aria-label": x,
219
170
  ...o
220
- }, h) => {
221
- const l = p ? { role: "presentation", "aria-hidden": !0 } : { role: "img", "aria-label": w }, s = f({ size: g, className: x }), d = M({ variant: r, tone: a });
222
- return r === "mark" ? /* @__PURE__ */ c(
171
+ }, e) => {
172
+ const h = p ? { role: "presentation", "aria-hidden": !0 } : { role: "img", "aria-label": x }, s = M({ size: m, className: g }), l = f({ variant: a, tone: t });
173
+ return a === "mark" ? /* @__PURE__ */ c(
223
174
  "span",
224
175
  {
225
- ref: h,
226
- ...l,
176
+ ref: e,
177
+ ...h,
227
178
  ...o,
228
- className: d,
179
+ className: l,
229
180
  "data-component": "logo",
230
- children: /* @__PURE__ */ c(m, { "aria-hidden": !0, className: s })
181
+ children: /* @__PURE__ */ c(w, { "aria-hidden": !0, className: s })
231
182
  }
232
- ) : r === "monochrome" ? /* @__PURE__ */ c(
183
+ ) : a === "monochrome" ? /* @__PURE__ */ c(
233
184
  "span",
234
185
  {
235
- ref: h,
236
- ...l,
186
+ ref: e,
187
+ ...h,
237
188
  ...o,
238
- className: d,
189
+ className: l,
239
190
  "data-component": "logo",
240
- children: /* @__PURE__ */ c(i, { "aria-hidden": !0, className: s })
191
+ children: /* @__PURE__ */ c(d, { "aria-hidden": !0, className: s })
241
192
  }
242
- ) : /* @__PURE__ */ t(
193
+ ) : /* @__PURE__ */ r(
243
194
  "span",
244
195
  {
245
- ref: h,
246
- ...l,
196
+ ref: e,
197
+ ...h,
247
198
  ...o,
248
- className: d,
199
+ className: l,
249
200
  "data-component": "logo",
250
201
  children: [
251
202
  /* @__PURE__ */ c(
@@ -256,7 +207,7 @@ const f = n(
256
207
  }
257
208
  ),
258
209
  /* @__PURE__ */ c(
259
- i,
210
+ d,
260
211
  {
261
212
  "aria-hidden": !0,
262
213
  className: `${s} ds:hidden ds:[.theme-dark_&]:inline-block ds:text-[color:var(--foreground)]`
@@ -267,8 +218,8 @@ const f = n(
267
218
  );
268
219
  }
269
220
  );
270
- y.displayName = "Logo";
221
+ Z.displayName = "Logo";
271
222
  export {
272
- y as L
223
+ Z as L
273
224
  };
274
- //# sourceMappingURL=logo-_Z-jLq80.js.map
225
+ //# sourceMappingURL=logo-yituK7sE.js.map
@@ -1584,7 +1584,7 @@ const Bt = {
1584
1584
  },
1585
1585
  surface: {
1586
1586
  bordered: "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
1587
- elevated: "ds:rounded-[var(--radius-md)] ds:shadow-[var(--shadow-card)]",
1587
+ elevated: "ds:rounded-[var(--radius-md)] ds:shadow-[var(--shadow-card)] ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2",
1588
1588
  bare: "ds:rounded-none ds:border-0"
1589
1589
  }
1590
1590
  },
@@ -1847,4 +1847,4 @@ Zt.displayName = "MapView";
1847
1847
  export {
1848
1848
  Zt as M
1849
1849
  };
1850
- //# sourceMappingURL=map-view-vD5pvWs9.js.map
1850
+ //# sourceMappingURL=map-view-qJLybrmN.js.map
@@ -0,0 +1,296 @@
1
+ import { jsxs as t, jsx as e, Fragment as M } from "react/jsx-runtime";
2
+ import { forwardRef as f, useState as T } from "react";
3
+ import { useTranslation as k } from "react-i18next";
4
+ import { A as B } from "./app-frame-BYx1gcV7.js";
5
+ import { A as I } from "./avatar-BNQNhoyL.js";
6
+ import { A as L } from "./alert-ywPR59NE.js";
7
+ import { C as x } from "./card-DPmk26CL.js";
8
+ import { D as i } from "./dropdown-menu-BC5ZdOMo.js";
9
+ import { H as O, g as j, f as P, e as W, a as R, c as D, d as E } from "./header-CTZWX-tm.js";
10
+ import { H as $ } from "./header-settings-CBLwUK6t.js";
11
+ import { S as F } from "./sign-in-with-alfadocs-button-DeHBFRNS.js";
12
+ import { S as V, a as q, h as G, j as J, k as K, i as Q } from "./sidebar-_vJXI9rB.js";
13
+ import { T as U } from "./theme-root-BOO73p5t.js";
14
+ import { a as X } from "./tooltip-DvmfrNvB.js";
15
+ import { u as Y } from "./use-theme-C2dHKUAN.js";
16
+ import { c as N } from "./index-D2ZczOXr.js";
17
+ import { L as Z } from "./logo-yituK7sE.js";
18
+ const _ = N("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), ee = N(
19
+ [
20
+ "ds:[font-family:var(--font-serif)]",
21
+ "ds:font-semibold",
22
+ "ds:leading-none",
23
+ "ds:tracking-[0.01em]",
24
+ "ds:whitespace-nowrap",
25
+ // Forced-colors: drop the transparent text-fill and paint the label
26
+ // as solid CanvasText so it never disappears under Windows HCM —
27
+ // a gradient/transparent fill has no meaning there.
28
+ "ds:forced-colors:text-[CanvasText]",
29
+ "ds:forced-colors:[-webkit-text-fill-color:CanvasText]"
30
+ ],
31
+ {
32
+ variants: {
33
+ size: {
34
+ sm: "ds:text-[calc(var(--logo-size-sm)*0.95)]",
35
+ md: "ds:text-[calc(var(--logo-size-md)*0.95)]",
36
+ lg: "ds:text-[calc(var(--logo-size-lg)*0.95)]",
37
+ xl: "ds:text-[calc(var(--logo-size-xl)*0.95)]"
38
+ },
39
+ tone: {
40
+ // Brand gradient filled into the glyphs via background-clip:text.
41
+ // `--gradient-wordmark` rides the theme aliases, so it stays
42
+ // AA-safe and adapts per theme on its own (and flattens to a solid
43
+ // ink in the accessible / forced-colors blocks — see tokens).
44
+ gradient: [
45
+ "ds:italic",
46
+ "ds:bg-[image:var(--gradient-wordmark)]",
47
+ "ds:bg-clip-text",
48
+ "ds:text-transparent",
49
+ "ds:[-webkit-text-fill-color:transparent]"
50
+ ],
51
+ // Monochrome: solid currentColor ink, upright, no gradient — for
52
+ // print, single-colour work, and coloured chrome (e.g. app-shell
53
+ // headers) where the lockup must ride the surrounding ink.
54
+ solid: "ds:text-current"
55
+ }
56
+ },
57
+ defaultVariants: { size: "md", tone: "gradient" }
58
+ }
59
+ ), u = f(
60
+ ({ name: s, monochrome: a = !1, size: r = "md", className: n, ...l }, d) => /* @__PURE__ */ t(
61
+ "span",
62
+ {
63
+ ref: d,
64
+ role: "img",
65
+ "aria-label": `Alfadocs ${s}`.trim(),
66
+ className: _({ className: n }),
67
+ "data-component": "product-lockup",
68
+ ...l,
69
+ children: [
70
+ /* @__PURE__ */ e(
71
+ Z,
72
+ {
73
+ variant: a ? "monochrome" : "wordmark",
74
+ size: r,
75
+ decorative: !0
76
+ }
77
+ ),
78
+ /* @__PURE__ */ e(
79
+ "span",
80
+ {
81
+ "aria-hidden": !0,
82
+ className: ee({
83
+ size: r,
84
+ tone: a ? "solid" : "gradient"
85
+ }),
86
+ children: s
87
+ }
88
+ )
89
+ ]
90
+ }
91
+ )
92
+ );
93
+ u.displayName = "ProductLockup";
94
+ function ae(s) {
95
+ return s > 99 ? "99+" : String(s);
96
+ }
97
+ function se({
98
+ user: s,
99
+ labels: a,
100
+ onSignOut: r,
101
+ onToggleFullscreen: n
102
+ }) {
103
+ const { t: l } = k(), d = a.fullscreen ?? l("patientShell.settings.fullscreen");
104
+ return (
105
+ // Non-modal: an account menu shouldn't inert/aria-hide the whole shell
106
+ // behind it (which leaves the still-focusable chrome inside an
107
+ // aria-hidden region — an `aria-hidden-focus` violation).
108
+ /* @__PURE__ */ t(i.Root, { modal: !1, children: [
109
+ /* @__PURE__ */ e(i.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
110
+ "button",
111
+ {
112
+ type: "button",
113
+ "aria-label": a.accountMenu,
114
+ "data-testid": "marketplace-account-trigger",
115
+ className: "ds:rounded-full ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)] ds:justify-center ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
116
+ children: [
117
+ /* @__PURE__ */ e(I, { name: s.name, src: s.avatarSrc, size: "md" }),
118
+ /* @__PURE__ */ e("span", { className: "ds:hidden ds:sm:inline", children: s.name })
119
+ ]
120
+ }
121
+ ) }),
122
+ /* @__PURE__ */ t(i.Content, { align: "end", children: [
123
+ /* @__PURE__ */ e(i.Label, { children: /* @__PURE__ */ t("span", { className: "ds:flex ds:flex-col", children: [
124
+ /* @__PURE__ */ e("span", { className: "ds:font-medium", children: s.name }),
125
+ s.email ? /* @__PURE__ */ e("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)]", children: s.email }) : null
126
+ ] }) }),
127
+ n ? /* @__PURE__ */ t(M, { children: [
128
+ /* @__PURE__ */ e(i.Separator, {}),
129
+ /* @__PURE__ */ e(
130
+ i.Item,
131
+ {
132
+ onSelect: n,
133
+ "data-testid": "marketplace-fullscreen",
134
+ children: d
135
+ }
136
+ )
137
+ ] }) : null,
138
+ /* @__PURE__ */ e(i.Separator, {}),
139
+ /* @__PURE__ */ e(
140
+ i.Item,
141
+ {
142
+ onSelect: r,
143
+ "data-testid": "marketplace-sign-out",
144
+ children: a.signOut
145
+ }
146
+ )
147
+ ] })
148
+ ] })
149
+ );
150
+ }
151
+ function te({ nav: s }) {
152
+ return /* @__PURE__ */ e(q, { children: s.map((a) => {
153
+ const r = typeof a.badgeCount == "number" && a.badgeCount > 0 ? a.badgeCount : void 0;
154
+ return /* @__PURE__ */ t(
155
+ G,
156
+ {
157
+ href: a.href,
158
+ "aria-label": a.label,
159
+ isActive: a.isActive,
160
+ children: [
161
+ a.icon ? /* @__PURE__ */ e(J, { children: a.icon }) : null,
162
+ /* @__PURE__ */ e(K, { children: a.label }),
163
+ r !== void 0 ? /* @__PURE__ */ e(Q, { children: ae(r) }) : null
164
+ ]
165
+ },
166
+ a.id
167
+ );
168
+ }) });
169
+ }
170
+ const re = f(
171
+ ({
172
+ productName: s,
173
+ productHref: a = "/",
174
+ nav: r,
175
+ user: n,
176
+ labels: l,
177
+ onSignOut: d,
178
+ onToggleFullscreen: c,
179
+ sidebarState: o,
180
+ mainAriaLabel: m,
181
+ children: p
182
+ }, h) => {
183
+ const { t: S } = k(), { theme: y, accessibility: C, resolvedTheme: g } = Y(), w = y !== "system" || C !== "system", A = g.startsWith("dark") ? "dark" : "light", z = g.endsWith("-accessible"), [H, v] = T(!1), b = /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e(
184
+ B,
185
+ {
186
+ mainAriaLabel: m,
187
+ mainClassName: "ds:bg-[color:var(--app-shell-background)]",
188
+ header: /* @__PURE__ */ t(O, { children: [
189
+ /* @__PURE__ */ t(j, { children: [
190
+ /* @__PURE__ */ e(P, { href: "#main-content" }),
191
+ /* @__PURE__ */ e(W, { onMenuOpen: () => v(!0) }),
192
+ /* @__PURE__ */ e(
193
+ R,
194
+ {
195
+ href: a,
196
+ logo: /* @__PURE__ */ e(u, { name: s, size: "md", monochrome: !0 })
197
+ }
198
+ )
199
+ ] }),
200
+ /* @__PURE__ */ e(D, {}),
201
+ /* @__PURE__ */ t(E, { children: [
202
+ /* @__PURE__ */ e($, { size: "sm" }),
203
+ /* @__PURE__ */ e(
204
+ se,
205
+ {
206
+ user: n,
207
+ labels: l,
208
+ onSignOut: d,
209
+ onToggleFullscreen: c
210
+ }
211
+ )
212
+ ] })
213
+ ] }),
214
+ sidebar: /* @__PURE__ */ e(
215
+ V,
216
+ {
217
+ ...o !== void 0 ? { state: o } : { defaultState: "expanded" },
218
+ open: H,
219
+ onOpenChange: v,
220
+ "aria-label": S("navigation.sidebar.label"),
221
+ "data-testid": "marketplace-app-shell-sidebar",
222
+ children: /* @__PURE__ */ e(te, { nav: r })
223
+ }
224
+ ),
225
+ children: p
226
+ }
227
+ ) });
228
+ return w ? /* @__PURE__ */ e(
229
+ U,
230
+ {
231
+ ref: h,
232
+ theme: A,
233
+ accessible: z,
234
+ className: "ds:contents",
235
+ "data-component": "marketplace-app-shell",
236
+ children: b
237
+ }
238
+ ) : /* @__PURE__ */ e(
239
+ "div",
240
+ {
241
+ ref: h,
242
+ className: "ds:contents",
243
+ "data-component": "marketplace-app-shell",
244
+ children: b
245
+ }
246
+ );
247
+ }
248
+ );
249
+ re.displayName = "MarketplaceAppShell";
250
+ const ne = f(
251
+ ({
252
+ productName: s,
253
+ title: a,
254
+ description: r,
255
+ connectLabel: n,
256
+ status: l = "idle",
257
+ error: d,
258
+ onConnect: c,
259
+ footer: o,
260
+ className: m
261
+ }, p) => /* @__PURE__ */ e(
262
+ "div",
263
+ {
264
+ ref: p,
265
+ "data-component": "connect-with-alfadocs",
266
+ className: `ds:flex ds:min-h-dvh ds:items-center ds:justify-center ds:bg-[color:var(--app-shell-background)] ds:p-[var(--spacing-lg)] ${m ?? ""}`,
267
+ children: /* @__PURE__ */ e(x, { className: "ds:w-full ds:max-w-[400px]", children: /* @__PURE__ */ t(x.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
268
+ /* @__PURE__ */ e(u, { name: s, size: "lg" }),
269
+ /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
270
+ /* @__PURE__ */ e("h1", { className: "type-title-card", children: a }),
271
+ /* @__PURE__ */ e("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: r })
272
+ ] }),
273
+ l === "error" && d ? /* @__PURE__ */ e(L, { variant: "error", className: "ds:w-full ds:text-start", children: d }) : null,
274
+ /* @__PURE__ */ e(
275
+ F,
276
+ {
277
+ intent: "primary",
278
+ className: "ds:w-full",
279
+ loading: l === "connecting",
280
+ onClick: c,
281
+ label: n,
282
+ "data-testid": "connect-with-alfadocs-button"
283
+ }
284
+ ),
285
+ o ? /* @__PURE__ */ e("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: o }) : null
286
+ ] }) })
287
+ }
288
+ )
289
+ );
290
+ ne.displayName = "ConnectWithAlfadocs";
291
+ export {
292
+ ne as C,
293
+ re as M,
294
+ u as P
295
+ };
296
+ //# sourceMappingURL=marketplace-app-shell-BlxVizU4.js.map