@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
@@ -48,7 +48,9 @@ const Pe = {
48
48
  "ds:signature-capture-alfadocs ds:flex ds:flex-col",
49
49
  "ds:gap-[var(--spacing-sm)]",
50
50
  "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
51
- "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
51
+ "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--card-border)]",
52
+ "ds:shadow-[var(--shadow-card)]",
53
+ "ds:[.theme-accessible_&]:border-2",
52
54
  "ds:p-[var(--spacing-sm)]",
53
55
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
54
56
  ].join(" ")
@@ -138,7 +140,8 @@ const Pe = {
138
140
  "ds:inline-size-[var(--signature-width)]",
139
141
  "ds:block-size-[var(--signature-height)]",
140
142
  "ds:rounded-[var(--radius-sm)]",
141
- "ds:border ds:border-[color:var(--border)]",
143
+ "ds:border ds:border-[color:var(--card-border)]",
144
+ "ds:[.theme-accessible_&]:border-2",
142
145
  "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
143
146
  "ds:font-[family-name:var(--font-sans)]",
144
147
  "ds:italic",
@@ -187,13 +190,13 @@ async function Ie(t) {
187
190
  return "";
188
191
  }
189
192
  function He(t, n, s, i, a) {
190
- const m = Math.max(
193
+ const v = Math.max(
191
194
  1,
192
195
  typeof window < "u" ? window.devicePixelRatio : 1
193
196
  ), z = document.createElement("canvas");
194
- z.width = Math.floor(n * m), z.height = Math.floor(s * m);
197
+ z.width = Math.floor(n * v), z.height = Math.floor(s * v);
195
198
  const l = z.getContext("2d");
196
- return l && (l.setTransform(m, 0, 0, m, 0, 0), l.fillStyle = a, l.fillRect(0, 0, n, s), l.fillStyle = i, l.font = "32px italic sans-serif", l.textAlign = "center", l.textBaseline = "middle", l.fillText(t, n / 2, s / 2, n - 16)), z;
199
+ return l && (l.setTransform(v, 0, 0, v, 0, 0), l.fillStyle = a, l.fillRect(0, 0, n, s), l.fillStyle = i, l.font = "32px italic sans-serif", l.textAlign = "center", l.textBaseline = "middle", l.fillText(t, n / 2, s / 2, n - 16)), z;
197
200
  }
198
201
  const Ue = ze(
199
202
  ({
@@ -202,7 +205,7 @@ const Ue = ze(
202
205
  onClear: s,
203
206
  onStart: i,
204
207
  width: a = 400,
205
- height: m = 200,
208
+ height: v = 200,
206
209
  penColor: z,
207
210
  backgroundColor: l,
208
211
  allowTypedFallback: ce = !0,
@@ -213,13 +216,13 @@ const Ue = ze(
213
216
  const { t: o } = Me(), G = Se(), Z = `${ae(
214
217
  () => `sig-${G.replace(/[^a-zA-Z0-9-_]/g, "")}`,
215
218
  [G]
216
- )}-live`, F = C(null), J = C(null), V = C(null), K = C(null), y = C(null), [d, ge] = N("draw"), [S, L] = N(""), [pe, I] = N(!1), ve = C("empty"), [me, be] = N(""), [b, he] = N(""), [w, ye] = N(""), j = C(i), E = C(s), B = C(n);
219
+ )}-live`, F = C(null), J = C(null), V = C(null), K = C(null), y = C(null), [d, ge] = N("draw"), [S, L] = N(""), [pe, I] = N(!1), me = C("empty"), [ve, be] = N(""), [b, he] = N(""), [w, ye] = N(""), j = C(i), E = C(s), B = C(n);
217
220
  P(() => {
218
221
  j.current = i, E.current = s, B.current = n;
219
222
  }, [i, s, n]);
220
223
  const g = T(
221
224
  (e) => {
222
- ve.current = e, be(o(`signature.state.${e}`));
225
+ me.current = e, be(o(`signature.state.${e}`));
223
226
  },
224
227
  [o]
225
228
  );
@@ -272,10 +275,10 @@ const Ue = ze(
272
275
  ), p = Math.max(1, Math.floor(r.width * c)), x = Math.max(1, Math.floor(r.height * c)), A = Math.min(p, Q), k = Math.min(x, Q);
273
276
  if (e.width === A && e.height === k)
274
277
  return;
275
- const v = y.current, M = v ? v.toData() : null;
278
+ const m = y.current, M = m ? m.toData() : null;
276
279
  e.width = A, e.height = k;
277
280
  const D = e.getContext("2d");
278
- D && D.scale(c, c), v && (w && (v.backgroundColor = w), b && (v.penColor = b), v.clear(), M && M.length > 0 && v.fromData(M));
281
+ D && D.scale(c, c), m && (w && (m.backgroundColor = w), b && (m.penColor = b), m.clear(), M && M.length > 0 && m.fromData(M));
279
282
  },
280
283
  [w, b]
281
284
  );
@@ -304,18 +307,18 @@ const Ue = ze(
304
307
  if (d === "typed") return S.trim().length === 0;
305
308
  const e = y.current;
306
309
  return e ? e.isEmpty() : !0;
307
- }, [d, S]), O = T(async () => {
310
+ }, [d, S]), _ = T(async () => {
308
311
  var ne;
309
312
  const e = de(
310
313
  typeof a == "number" ? `${a}` : String(a)
311
314
  ), r = de(
312
- typeof m == "number" ? `${m}` : String(m)
315
+ typeof v == "number" ? `${v}` : String(v)
313
316
  ), c = d === "draw" ? V.current ?? J.current ?? F.current : K.current ?? F.current, p = c == null ? void 0 : c.getBoundingClientRect(), x = e ?? (p ? p.width : 400), A = r ?? (p ? p.height : 200);
314
- let k = "", v = "", M;
317
+ let k = "", m = "", M;
315
318
  if (d === "draw") {
316
319
  const u = y.current;
317
320
  if (!u || u.isEmpty()) return null;
318
- k = u.toDataURL("image/png"), v = u.toSVG(), M = u.toData();
321
+ k = u.toDataURL("image/png"), m = u.toSVG(), M = u.toData();
319
322
  } else {
320
323
  const u = S.trim();
321
324
  if (u.length === 0) return null;
@@ -327,7 +330,7 @@ const Ue = ze(
327
330
  w || "transparent"
328
331
  ).toDataURL("image/png");
329
332
  const W = u.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
330
- v = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${x} ${A}" width="${x}" height="${A}"><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-family="sans-serif" font-style="italic" font-size="32" fill="${b || "currentColor"}" letter-spacing="3">${W}</text></svg>`;
333
+ m = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${x} ${A}" width="${x}" height="${A}"><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-family="sans-serif" font-style="italic" font-size="32" fill="${b || "currentColor"}" letter-spacing="3">${W}</text></svg>`;
331
334
  }
332
335
  const D = x * 25.4 / 96, ke = A * 25.4 / 96, Ce = (/* @__PURE__ */ new Date()).toISOString();
333
336
  let te = "";
@@ -337,7 +340,7 @@ const Ue = ze(
337
340
  }
338
341
  const re = {
339
342
  png: k,
340
- svg: v,
343
+ svg: m,
341
344
  widthMm: D,
342
345
  heightMm: ke,
343
346
  capturedAt: Ce,
@@ -345,23 +348,23 @@ const Ue = ze(
345
348
  strokes: M
346
349
  };
347
350
  return g("captured"), (ne = B.current) == null || ne.call(B, re), re;
348
- }, [d, S, a, m, b, w, g]), _ = ae(
351
+ }, [d, S, a, v, b, w, g]), O = ae(
349
352
  () => ({
350
353
  clear: H,
351
354
  undo: U,
352
355
  isEmpty: Y,
353
- confirm: O
356
+ confirm: _
354
357
  }),
355
- [H, U, Y, O]
358
+ [H, U, Y, _]
356
359
  );
357
- Re(fe, () => _, [_]), Ne(Pe, _, t);
360
+ Re(fe, () => O, [O]), Ne(Pe, O, t);
358
361
  const we = d === "typed" ? S.trim().length > 0 : pe, ee = f || !we, xe = {
359
362
  "--signature-width": oe(
360
363
  a,
361
364
  "var(--signature-default-width)"
362
365
  ),
363
366
  "--signature-height": oe(
364
- m,
367
+ v,
365
368
  "var(--signature-default-height)"
366
369
  )
367
370
  };
@@ -421,7 +424,7 @@ const Ue = ze(
421
424
  "aria-atomic": "true",
422
425
  className: "ds:sr-only",
423
426
  "data-testid": "signature-live",
424
- children: me
427
+ children: ve
425
428
  }
426
429
  ),
427
430
  /* @__PURE__ */ X(
@@ -473,7 +476,7 @@ const Ue = ze(
473
476
  {
474
477
  type: "button",
475
478
  onClick: () => {
476
- ee || O();
479
+ ee || _();
477
480
  },
478
481
  "aria-disabled": ee || void 0,
479
482
  "aria-describedby": Z,
@@ -495,4 +498,4 @@ export {
495
498
  Ue as S,
496
499
  Pe as s
497
500
  };
498
- //# sourceMappingURL=signature-capture-C-fF71xI.js.map
501
+ //# sourceMappingURL=signature-capture-BRzCklg4.js.map
@@ -0,0 +1,243 @@
1
+ import { jsx as s, jsxs as m } from "react/jsx-runtime";
2
+ import { forwardRef as y, useRef as p, useEffect as N } from "react";
3
+ import { c as n } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as j } from "react-i18next";
5
+ import { S as V } from "./spinner-CCByyvcb.js";
6
+ function A({ className: e }) {
7
+ return /* @__PURE__ */ s(
8
+ "svg",
9
+ {
10
+ "aria-hidden": "true",
11
+ focusable: "false",
12
+ viewBox: "0 0 24 24",
13
+ fill: "currentColor",
14
+ xmlns: "http://www.w3.org/2000/svg",
15
+ className: e,
16
+ children: /* @__PURE__ */ s("path", { d: "M17.05 12.536c-.024-2.51 2.05-3.715 2.143-3.774-1.168-1.708-2.985-1.942-3.63-1.967-1.546-.157-3.018.91-3.802.91-.783 0-1.99-.888-3.273-.864-1.684.025-3.236.978-4.102 2.485-1.748 3.03-.448 7.513 1.255 9.97.832 1.203 1.825 2.552 3.127 2.504 1.255-.05 1.73-.81 3.247-.81 1.518 0 1.945.81 3.273.786 1.351-.025 2.206-1.227 3.03-2.434.955-1.394 1.348-2.745 1.372-2.815-.03-.013-2.633-1.01-2.66-4.001m-2.48-7.343c.692-.838 1.158-2.002 1.03-3.163-.997.04-2.205.664-2.92 1.502-.64.742-1.2 1.927-1.05 3.066 1.112.086 2.247-.566 2.94-1.405" })
17
+ }
18
+ );
19
+ }
20
+ function v({ className: e }) {
21
+ return /* @__PURE__ */ m(
22
+ "svg",
23
+ {
24
+ "aria-hidden": "true",
25
+ focusable: "false",
26
+ viewBox: "0 0 24 24",
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ className: e,
29
+ children: [
30
+ /* @__PURE__ */ s(
31
+ "path",
32
+ {
33
+ fill: "#4285F4",
34
+ d: "M23.52 12.273c0-.851-.076-1.67-.218-2.455H12v4.642h6.458a5.52 5.52 0 0 1-2.394 3.622v3.01h3.878c2.269-2.09 3.578-5.166 3.578-8.819z"
35
+ }
36
+ ),
37
+ /* @__PURE__ */ s(
38
+ "path",
39
+ {
40
+ fill: "#34A853",
41
+ d: "M12 24c3.24 0 5.956-1.075 7.942-2.908l-3.878-3.01c-1.075.72-2.45 1.146-4.064 1.146-3.125 0-5.77-2.11-6.714-4.946H1.276v3.106A11.995 11.995 0 0 0 12 24z"
42
+ }
43
+ ),
44
+ /* @__PURE__ */ s(
45
+ "path",
46
+ {
47
+ fill: "#FBBC05",
48
+ d: "M5.286 14.282A7.213 7.213 0 0 1 4.91 12c0-.792.136-1.562.376-2.282V6.612H1.276A11.995 11.995 0 0 0 0 12c0 1.936.464 3.768 1.276 5.388l4.01-3.106z"
49
+ }
50
+ ),
51
+ /* @__PURE__ */ s(
52
+ "path",
53
+ {
54
+ fill: "#EA4335",
55
+ d: "M12 4.773c1.762 0 3.344.605 4.589 1.794l3.442-3.442C17.951 1.19 15.235 0 12 0A11.995 11.995 0 0 0 1.276 6.612l4.01 3.106C6.23 6.882 8.875 4.773 12 4.773z"
56
+ }
57
+ )
58
+ ]
59
+ }
60
+ );
61
+ }
62
+ const M = n(
63
+ [
64
+ "ds:relative ds:inline-flex ds:items-center ds:justify-center",
65
+ "ds:font-medium ds:whitespace-nowrap",
66
+ "ds:rounded-[var(--radius-md)]",
67
+ "ds:gap-[var(--spacing-sm)]",
68
+ "ds:border ds:border-solid",
69
+ "ds:active:opacity-90",
70
+ "ds:transition-[background-color,box-shadow,opacity]",
71
+ "ds:duration-[var(--animation-duration)]",
72
+ // Focus ring is `var(--ring)` (the kit primary), NEVER the brand
73
+ // surface colour — painting the ring in the brand hue on a brand
74
+ // surface makes it invisible. Same rule WhatsAppButton codifies.
75
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
76
+ "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
77
+ // Windows High Contrast Mode strips brand fills — repaint a solid
78
+ // border edge + swap the focus ring to CanvasText so the affordance
79
+ // stays identifiable.
80
+ "ds:forced-colors:border-[ButtonBorder]",
81
+ "ds:forced-colors:focus-visible:outline-[CanvasText]",
82
+ "ds:disabled:opacity-50 ds:disabled:cursor-not-allowed",
83
+ "ds:aria-busy:cursor-wait",
84
+ "ds:motion-reduce:transition-none"
85
+ ].join(" "),
86
+ {
87
+ variants: {
88
+ provider: {
89
+ apple: "",
90
+ google: ""
91
+ },
92
+ appearance: {
93
+ light: "",
94
+ dark: ""
95
+ },
96
+ size: {
97
+ // Heights mirror Button (sm 32 / md 40 / lg 48). `sm` (32px) and
98
+ // `md` (40px) both fall below `--min-target-size` (44 base / 48
99
+ // accessible), so each adds the ::before pseudo-element touch-
100
+ // target expansion to reach the minimum on mobile, collapsing
101
+ // above the `sm:` breakpoint. This component is the patient
102
+ // check-in (HTP-5104) mobile sign-in surface and `md` is the
103
+ // DEFAULT size rendered there, so it MUST meet WCAG 2.5.5 at both
104
+ // theme levels — unlike Button/WhatsApp, we do not leave md short.
105
+ // `lg` (48px) already meets the minimum natively.
106
+ sm: [
107
+ "ds:h-8 ds:ps-3 ds:pe-3 ds:text-[length:var(--font-size-sm)] ds:[&_svg]:size-4",
108
+ "ds:min-h-[var(--min-target-size)] ds:sm:min-h-0",
109
+ 'ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:hidden'
110
+ ].join(" "),
111
+ md: [
112
+ "ds:h-10 ds:ps-4 ds:pe-4 ds:text-[length:var(--font-size-base)] ds:[&_svg]:size-5",
113
+ "ds:min-h-[var(--min-target-size)] ds:sm:min-h-0",
114
+ 'ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:hidden'
115
+ ].join(" "),
116
+ lg: "ds:h-12 ds:ps-5 ds:pe-5 ds:text-[length:var(--font-size-lg)] ds:[&_svg]:size-6"
117
+ }
118
+ },
119
+ compoundVariants: [
120
+ /* Apple — light: white surface, black logo + text. */
121
+ {
122
+ provider: "apple",
123
+ appearance: "light",
124
+ class: "ds:bg-[var(--brand-apple-light)] ds:text-[var(--brand-apple-light-foreground)] ds:border-[var(--brand-apple-light-border)] ds:hover:bg-[var(--brand-apple-light-hover)]"
125
+ },
126
+ /* Apple — dark: black surface, white logo + text. */
127
+ {
128
+ provider: "apple",
129
+ appearance: "dark",
130
+ class: "ds:bg-[var(--brand-apple-dark)] ds:text-[var(--brand-apple-dark-foreground)] ds:border-[var(--brand-apple-dark)] ds:hover:bg-[var(--brand-apple-dark-hover)]"
131
+ },
132
+ /* Google — light: white/neutral surface, grey text. */
133
+ {
134
+ provider: "google",
135
+ appearance: "light",
136
+ class: "ds:bg-[var(--brand-google-light)] ds:text-[var(--brand-google-light-foreground)] ds:border-[var(--brand-google-light-border)] ds:hover:bg-[var(--brand-google-light-hover)]"
137
+ },
138
+ /* Google — dark: Google-blue surface, white text. */
139
+ {
140
+ provider: "google",
141
+ appearance: "dark",
142
+ class: "ds:bg-[var(--brand-google-dark)] ds:text-[var(--brand-google-dark-foreground)] ds:border-[var(--brand-google-dark)] ds:hover:bg-[var(--brand-google-dark-hover)]"
143
+ }
144
+ ],
145
+ defaultVariants: {
146
+ appearance: "light",
147
+ size: "md"
148
+ }
149
+ }
150
+ ), _ = {
151
+ sm: "md",
152
+ md: "lg",
153
+ lg: "lg"
154
+ }, C = n(
155
+ "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
156
+ {
157
+ variants: {
158
+ size: {
159
+ sm: "ds:size-4",
160
+ md: "ds:size-5",
161
+ lg: "ds:size-6"
162
+ }
163
+ },
164
+ defaultVariants: { size: "md" }
165
+ }
166
+ ), E = n(
167
+ "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
168
+ {
169
+ variants: {
170
+ appearance: {
171
+ light: "",
172
+ dark: "ds:rounded-[var(--radius-sm)] ds:bg-[var(--brand-google-tile)]"
173
+ },
174
+ size: {
175
+ sm: "ds:[&_svg]:size-4",
176
+ md: "ds:[&_svg]:size-5",
177
+ lg: "ds:[&_svg]:size-6"
178
+ }
179
+ },
180
+ compoundVariants: [
181
+ { appearance: "dark", size: "sm", class: "ds:p-1" },
182
+ { appearance: "dark", size: "md", class: "ds:p-1.5" },
183
+ { appearance: "dark", size: "lg", class: "ds:p-2" }
184
+ ],
185
+ defaultVariants: { appearance: "light", size: "md" }
186
+ }
187
+ ), I = y(
188
+ ({
189
+ provider: e,
190
+ appearance: r = "light",
191
+ size: d = "md",
192
+ loading: a = !1,
193
+ disabled: u,
194
+ label: b,
195
+ onLoadingCancelled: i,
196
+ type: f = "button",
197
+ className: h,
198
+ ...z
199
+ }, k) => {
200
+ const { t } = j(), l = d ?? "md", w = b ?? t(`socialSignInButton.${e}`), c = p(a), o = p(i);
201
+ c.current = a, o.current = i, N(() => {
202
+ const g = (B) => {
203
+ B.persisted && c.current && o.current && o.current();
204
+ };
205
+ return window.addEventListener("pageshow", g), () => window.removeEventListener("pageshow", g);
206
+ }, []);
207
+ const x = [
208
+ M({ provider: e, appearance: r, size: d }),
209
+ h
210
+ ].filter(Boolean).join(" "), S = e === "apple" ? /* @__PURE__ */ s(A, { className: "ds:shrink-0" }) : r === "dark" ? /* @__PURE__ */ s("span", { className: E({ appearance: r, size: d }), children: /* @__PURE__ */ s(v, {}) }) : /* @__PURE__ */ s(v, { className: "ds:shrink-0" });
211
+ return /* @__PURE__ */ m(
212
+ "button",
213
+ {
214
+ ref: k,
215
+ type: f,
216
+ disabled: u || a,
217
+ "aria-busy": a || void 0,
218
+ "data-component": "social-sign-in-button",
219
+ "data-provider": e,
220
+ "data-appearance": r,
221
+ className: x,
222
+ ...z,
223
+ children: [
224
+ a ? /* @__PURE__ */ s("span", { className: C({ size: l }), children: /* @__PURE__ */ s(
225
+ V,
226
+ {
227
+ size: _[l],
228
+ variant: "pulse",
229
+ className: "ds:size-full",
230
+ label: t("socialSignInButton.loading")
231
+ }
232
+ ) }) : S,
233
+ /* @__PURE__ */ s("span", { children: w })
234
+ ]
235
+ }
236
+ );
237
+ }
238
+ );
239
+ I.displayName = "SocialSignInButton";
240
+ export {
241
+ I as S
242
+ };
243
+ //# sourceMappingURL=social-sign-in-button-X54ySJr1.js.map
@@ -1,9 +1,9 @@
1
- import { jsx as w, jsxs as P } from "react/jsx-runtime";
2
- import { forwardRef as j, useId as G, useMemo as R, useRef as V, useState as H, useEffect as z, useImperativeHandle as Z } from "react";
1
+ import { jsx as v, jsxs as P } from "react/jsx-runtime";
2
+ import { forwardRef as j, useId as G, useMemo as w, useRef as V, useState as A, useEffect as H, useImperativeHandle as Z } from "react";
3
3
  import { c as $ } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as q } from "react-i18next";
5
5
  import J from "react-apexcharts";
6
- import v from "apexcharts";
6
+ import R from "apexcharts";
7
7
  import { g as D, u as K } from "./apexcharts-theme-BJigns_V.js";
8
8
  import { u as Q } from "./registry-nPAVE19X.js";
9
9
  function X(n) {
@@ -15,8 +15,8 @@ function X(n) {
15
15
  const o = s - a;
16
16
  i += o * (n[s] - c), l += o * o;
17
17
  }
18
- const d = l === 0 ? 0 : i / l, b = 0.01 * (Math.max(...n) - Math.min(...n) || 1), k = Math.abs(d) < b ? "steady" : d > 0 ? "increasing" : "decreasing";
19
- return { slope: d, direction: k };
18
+ const d = l === 0 ? 0 : i / l, k = 0.01 * (Math.max(...n) - Math.min(...n) || 1), u = Math.abs(d) < k ? "steady" : d > 0 ? "increasing" : "decreasing";
19
+ return { slope: d, direction: u };
20
20
  }
21
21
  const Y = {
22
22
  id: "sparkline",
@@ -50,7 +50,10 @@ const Y = {
50
50
  size: {
51
51
  xs: "ds:h-6",
52
52
  sm: "ds:h-8",
53
- md: "ds:h-10"
53
+ md: "ds:h-10",
54
+ // Applied when an explicit `height` prop is given: the wrapper
55
+ // grows with the svg instead of clipping at the size's fixed height.
56
+ auto: ""
54
57
  }
55
58
  },
56
59
  defaultVariants: { size: "md" }
@@ -76,26 +79,26 @@ const ne = j(
76
79
  color: l,
77
80
  showEndpoint: d = !1,
78
81
  showTooltip: M = !1,
79
- width: b,
80
- height: k,
82
+ width: k,
83
+ height: u,
81
84
  className: s,
82
85
  ...o
83
86
  }, _) => {
84
- var A;
85
- const { t: u, i18n: C } = q(), T = G(), m = R(
87
+ var S;
88
+ const { t: m, i18n: C } = q(), T = G(), p = w(
86
89
  () => `sparkline-${T.replace(/[^a-zA-Z0-9-_]/g, "")}`,
87
90
  [T]
88
- ), p = V(null), [O, E] = H(0), { direction: y } = X(t), N = R(() => {
91
+ ), h = V(null), [O, E] = A(0), { direction: y } = X(t), z = w(() => {
89
92
  if (t.length === 0)
90
- return u("sparkline.noData", "No data");
91
- const e = (g) => new Intl.NumberFormat(C.language).format(g), r = u(`sparkline.direction.${y}`), f = {
93
+ return m("sparkline.noData", "No data");
94
+ const e = (b) => new Intl.NumberFormat(C.language).format(b), r = m(`sparkline.direction.${y}`), g = {
92
95
  min: e(Math.min(...t)),
93
96
  max: e(Math.max(...t)),
94
97
  current: e(t[t.length - 1]),
95
98
  direction: r
96
99
  };
97
- return i ? u("sparkline.summary", { label: i, ...f }) : u("sparkline.summaryNoLabel", f);
98
- }, [t, i, y, C.language, u]), [h, W] = H(
100
+ return i ? m("sparkline.summary", { label: i, ...g }) : m("sparkline.summaryNoLabel", g);
101
+ }, [t, i, y, C.language, m]), [f, W] = A(
99
102
  () => {
100
103
  try {
101
104
  return D();
@@ -104,7 +107,7 @@ const ne = j(
104
107
  }
105
108
  }
106
109
  );
107
- z(() => {
110
+ H(() => {
108
111
  let e;
109
112
  const r = new MutationObserver(() => {
110
113
  clearTimeout(e), e = setTimeout(() => {
@@ -120,57 +123,60 @@ const ne = j(
120
123
  }), () => {
121
124
  clearTimeout(e), r.disconnect();
122
125
  };
123
- }, []), z(() => {
124
- const e = p.current;
126
+ }, []), H(() => {
127
+ const e = h.current;
125
128
  if (!e) return;
126
- const r = new ResizeObserver((f) => {
127
- const g = f[0];
128
- g && E(Math.floor(g.contentRect.width));
129
+ const r = new ResizeObserver((g) => {
130
+ const b = g[0];
131
+ b && E(Math.floor(b.contentRect.width));
129
132
  });
130
133
  return r.observe(e), () => r.disconnect();
131
- }, []), K(p);
132
- const x = R(
134
+ }, []), K(h);
135
+ const x = w(
133
136
  () => ({
134
137
  updateSeries(e) {
135
138
  var r;
136
- (r = v.getChartByID(m)) == null || r.updateSeries([{ data: e }]);
139
+ (r = R.getChartByID(p)) == null || r.updateSeries([{ data: e }]);
137
140
  },
138
141
  updateOptions(e) {
139
142
  var r;
140
- (r = v.getChartByID(m)) == null || r.updateOptions(e);
143
+ (r = R.getChartByID(p)) == null || r.updateOptions(e);
141
144
  },
142
145
  async dataURI() {
143
- const e = v.getChartByID(m);
146
+ const e = R.getChartByID(p);
144
147
  return e ? (await e.dataURI()).imgURI : "";
145
148
  }
146
149
  }),
147
- [m]
150
+ [p]
148
151
  );
149
152
  Z(_, () => x, [x]), Q(Y, x, n);
150
- const I = l ?? ((A = h.colors) == null ? void 0 : A[0]) ?? "currentColor";
153
+ const I = l ?? ((S = f.colors) == null ? void 0 : S[0]) ?? "currentColor";
151
154
  if (t.length === 0)
152
- return /* @__PURE__ */ w(
155
+ return /* @__PURE__ */ v(
153
156
  "div",
154
157
  {
155
- ref: p,
158
+ ref: h,
156
159
  role: "img",
157
- "aria-label": N,
160
+ "aria-label": z,
158
161
  dir: "ltr",
159
- className: U({ size: c, className: s }),
162
+ className: U({
163
+ size: u !== void 0 ? "auto" : c,
164
+ className: s
165
+ }),
160
166
  ...o
161
167
  }
162
168
  );
163
- const S = re(), B = {
164
- ...h,
169
+ const N = re(), B = {
170
+ ...f,
165
171
  chart: {
166
- ...h.chart,
167
- id: m,
172
+ ...f.chart,
173
+ id: p,
168
174
  type: a,
169
175
  sparkline: { enabled: !0 },
170
176
  toolbar: { show: !1 },
171
177
  animations: {
172
- enabled: !S,
173
- dynamicAnimation: { enabled: !S }
178
+ enabled: !N,
179
+ dynamicAnimation: { enabled: !N }
174
180
  },
175
181
  zoom: { enabled: !1 },
176
182
  parentHeightOffset: 0
@@ -200,26 +206,29 @@ const ne = j(
200
206
  ]
201
207
  } : { size: 0 },
202
208
  grid: {
203
- ...h.grid,
209
+ ...f.grid,
204
210
  show: !1,
205
211
  // ApexCharts grid.padding uses physical keys (not CSS logical properties).
206
212
  // The chart wrapper enforces dir="ltr" so these always resolve correctly.
207
213
  padding: { top: 2, right: 2, bottom: 2, left: 2 }
208
214
  }
209
- }, F = b ?? (O > 0 ? O : "100%"), L = k ?? te[c ?? "md"];
215
+ }, F = k ?? (O > 0 ? O : "100%"), L = u ?? te[c ?? "md"];
210
216
  return /* @__PURE__ */ P(
211
217
  "div",
212
218
  {
213
- ref: p,
219
+ ref: h,
214
220
  role: "img",
215
- "aria-label": N,
221
+ "aria-label": z,
216
222
  dir: "ltr",
217
- className: U({ size: c, className: s }),
223
+ className: U({
224
+ size: u !== void 0 ? "auto" : c,
225
+ className: s
226
+ }),
218
227
  "data-component": "sparkline",
219
228
  "data-component-id": n,
220
229
  ...o,
221
230
  children: [
222
- /* @__PURE__ */ w(
231
+ /* @__PURE__ */ v(
223
232
  J,
224
233
  {
225
234
  type: a,
@@ -230,7 +239,7 @@ const ne = j(
230
239
  "aria-hidden": "true"
231
240
  }
232
241
  ),
233
- d && /* @__PURE__ */ w(
242
+ d && /* @__PURE__ */ v(
234
243
  "span",
235
244
  {
236
245
  "aria-hidden": "true",
@@ -249,4 +258,4 @@ export {
249
258
  Y as s,
250
259
  X as u
251
260
  };
252
- //# sourceMappingURL=sparkline-DEROcSl0.js.map
261
+ //# sourceMappingURL=sparkline-DGhCSw8M.js.map
@@ -1,4 +1,4 @@
1
- import { o as s, q as r, r as i, v as m } from "./react-day-picker-DYDdR8Vv.js";
1
+ import { o as s, q as r, r as i, v as m } from "./react-day-picker-CdtIiKjx.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  one: "më pak se një sekondë",
@@ -352,4 +352,4 @@ const d = {
352
352
  export {
353
353
  T as sq
354
354
  };
355
- //# sourceMappingURL=sq-ChTlGFcJ.js.map
355
+ //# sourceMappingURL=sq-BujHSAWu.js.map
@@ -88,7 +88,7 @@ const J = [
88
88
  }), Q = v(
89
89
  [
90
90
  "ds:group/item ds:overflow-hidden ds:rounded-[var(--radius-md)]",
91
- "ds:border ds:border-[var(--border)] ds:bg-[var(--card)]",
91
+ "ds:border ds:border-[color:var(--card-border)] ds:[.theme-accessible_&]:border-2 ds:bg-[var(--card)]",
92
92
  "ds:data-[state=open]:border-[var(--primary)]",
93
93
  "ds:transition-[border-color] ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
94
94
  "ds:motion-reduce:transition-none"
@@ -254,4 +254,4 @@ ne.displayName = "StepperAccordion";
254
254
  export {
255
255
  ne as S
256
256
  };
257
- //# sourceMappingURL=stepper-accordion-BfS6lUB9.js.map
257
+ //# sourceMappingURL=stepper-accordion-Dki6r9ZE.js.map
@@ -0,0 +1,8 @@
1
+ import { a as o } from "./react-day-picker-CdtIiKjx.js";
2
+ function n(a, s, r) {
3
+ return o(a, -s, r);
4
+ }
5
+ export {
6
+ n as s
7
+ };
8
+ //# sourceMappingURL=subDays-_T9YeKPX.js.map
@@ -1,4 +1,4 @@
1
- import { o as d, q as r, r as i, v as m } from "./react-day-picker-DYDdR8Vv.js";
1
+ import { o as d, q as r, r as i, v as m } from "./react-day-picker-CdtIiKjx.js";
2
2
  const s = {
3
3
  lessThanXSeconds: {
4
4
  one: "mindre än en sekund",
@@ -373,4 +373,4 @@ const s = {
373
373
  export {
374
374
  q as sv
375
375
  };
376
- //# sourceMappingURL=sv-Do_gs6ir.js.map
376
+ //# sourceMappingURL=sv-C8AeDrTA.js.map