@alfadocs/ui-kit 0.30.5 → 0.31.2

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 (297) hide show
  1. package/dist/_chunks/{accordion-CNcodXuO.js → accordion-bSU21uTV.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DO9_yogb.js → agenda-card-UJA6Arbs.js} +3 -3
  3. package/dist/_chunks/{agenda-tray-WLbfMip6.js → agenda-tray-1fAxNOMz.js} +4 -4
  4. package/dist/_chunks/{ai-prompt-input-BXlwNnWe.js → ai-prompt-input-C6sCr1Vi.js} +11 -10
  5. package/dist/_chunks/{alia-sidebar-C-232sD7.js → alia-sidebar-BEoMl6UL.js} +9 -9
  6. package/dist/_chunks/ar-CEpIJtcO.js +399 -0
  7. package/dist/_chunks/{audio-recorder-DL800PE_.js → audio-recorder-C1rhKhSN.js} +114 -114
  8. package/dist/_chunks/audio-visualiser-l6zPd0AG.js +162 -0
  9. package/dist/_chunks/{autocomplete-CUh0f7Dj.js → autocomplete-DIgdhCGJ.js} +2 -2
  10. package/dist/_chunks/{avatar-D_H4emLo.js → avatar-BNQNhoyL.js} +19 -18
  11. package/dist/_chunks/{badge-CIjQ1Us1.js → badge-CptERaHx.js} +2 -2
  12. package/dist/_chunks/{booking-Cw92aqo3.js → booking-BIZ9GSer.js} +149 -160
  13. package/dist/_chunks/{breadcrumb--YI7lcHA.js → breadcrumb-CLlhx7qo.js} +2 -2
  14. package/dist/_chunks/{button-group-Bh2g_Ng-.js → button-group-Ciq6J4IW.js} +15 -14
  15. package/dist/_chunks/{calendar-WWNx448i.js → calendar-YHFknAGv.js} +22 -22
  16. package/dist/_chunks/calendar-clock-CYkcqdwl.js +19 -0
  17. package/dist/_chunks/{carousel.agent-C2Icc9_T.js → carousel.agent-DrX96W-1.js} +2 -2
  18. package/dist/_chunks/{chart-BLvFl169.js → chart-DLkVn_ex.js} +2 -2
  19. package/dist/_chunks/{chat-container-izziXViv.js → chat-container-ogB4OskO.js} +24 -23
  20. package/dist/_chunks/{chat-input-cyl_y9bh.js → chat-input-CQe7nR_v.js} +132 -118
  21. package/dist/_chunks/{chat-message-fg221-yx.js → chat-message-D53_fH2w.js} +2 -2
  22. package/dist/_chunks/{checkbox-Dgp_cfUr.js → checkbox-DRcOdmXv.js} +3 -3
  23. package/dist/_chunks/{checkbox-group-eVowqKcT.js → checkbox-group-CpUwlHug.js} +3 -3
  24. package/dist/_chunks/{collapsible-hHiyZp0b.js → collapsible-CERONory.js} +2 -2
  25. package/dist/_chunks/{color-picker-Bm-gzpsh.js → color-picker-9tL7pz5y.js} +192 -181
  26. package/dist/_chunks/{combobox-Da9eq00i.js → combobox-BC-DFx8G.js} +31 -30
  27. package/dist/_chunks/{command-palette-11BieSNq.js → command-palette-BiPAAno-.js} +125 -123
  28. package/dist/_chunks/{copy-field-BAF4mt9h.js → copy-field-CCq7j6Zc.js} +2 -2
  29. package/dist/_chunks/{date-picker-D0Ry1dMz.js → date-picker-B94HAV4A.js} +4 -4
  30. package/dist/_chunks/{date-range-picker-DYgHzMOo.js → date-range-picker-D4dgDlLU.js} +73 -73
  31. package/dist/_chunks/{date-time-picker-CGmGtcyc.js → date-time-picker-D1GEzf8p.js} +5 -5
  32. package/dist/_chunks/de-Dfbeau59.js +477 -0
  33. package/dist/_chunks/{description-list-CWjnaDGn.js → description-list-BEbK2g93.js} +2 -2
  34. package/dist/_chunks/{dialog-C-lTGVkB.js → dialog-Cee13rHU.js} +3 -3
  35. package/dist/_chunks/{dropdown-menu-DZxwF23X.js → dropdown-menu-BC5ZdOMo.js} +3 -3
  36. package/dist/_chunks/{editable-currency-cell-renderer-CztRy_21.js → editable-currency-cell-renderer-BpicmolK.js} +308 -322
  37. package/dist/_chunks/el-Dro3J7CP.js +373 -0
  38. package/dist/_chunks/{email-input-DvJ_kPKL.js → email-input-lQivsFrw.js} +3 -3
  39. package/dist/_chunks/es-Dvg8u70B.js +373 -0
  40. package/dist/_chunks/{file-upload-DxAQprcU.js → file-upload-CdozCPct.js} +226 -233
  41. package/dist/_chunks/fr-VOGjBSPP.js +338 -0
  42. package/dist/_chunks/{freemium-paywall-B9c8Ylww.js → freemium-paywall-D1N02Oam.js} +4 -4
  43. package/dist/_chunks/{header-DDj7uGD-.js → header-CTZWX-tm.js} +2 -2
  44. package/dist/_chunks/hi-BSDxWU_y.js +433 -0
  45. package/dist/_chunks/{icon-button-DPEqBKBQ.js → icon-button-CKEOrN37.js} +2 -2
  46. package/dist/_chunks/{icon-button-group-DeV3FpNY.js → icon-button-group-C48khLE0.js} +23 -22
  47. package/dist/_chunks/{isSameDay-DHG8Xade.js → isSameDay-DUEiAT0G.js} +2 -2
  48. package/dist/_chunks/isSameWeek-Dfzu29cW.js +14 -0
  49. package/dist/_chunks/it-CuonvcI_.js +401 -0
  50. package/dist/_chunks/ja-DO57gIOT.js +366 -0
  51. package/dist/_chunks/{key-value-pair-BvDY3zuc.js → key-value-pair-C8DaR3Xs.js} +2 -2
  52. package/dist/_chunks/{list-BdvDctBz.js → list-BOwqwy03.js} +44 -43
  53. package/dist/_chunks/{locale-picker-CY89MChR.js → locale-picker-D99UyZVJ.js} +4 -4
  54. package/dist/_chunks/{map-view-DyB8tr6c.js → map-view-WEWqXzof.js} +569 -557
  55. package/dist/_chunks/{message-card-D6iyPacd.js → message-card-BbRhZkDI.js} +3 -3
  56. package/dist/_chunks/{message-tray-Bh-0ra-Y.js → message-tray-B762TKuv.js} +11 -10
  57. package/dist/_chunks/{multi-select-dSe6Xtc4.js → multi-select-DOLO3K_z.js} +26 -25
  58. package/dist/_chunks/{navigation-menu-CyS1fBJ7.js → navigation-menu-C6lBYVv9.js} +3 -3
  59. package/dist/_chunks/nl-DjPaaWaW.js +326 -0
  60. package/dist/_chunks/{notification-card-vaMaA7Wa.js → notification-card-DMdO4g54.js} +2 -2
  61. package/dist/_chunks/{notification-tray-Cnum6LwM.js → notification-tray-Dl3FTleW.js} +17 -16
  62. package/dist/_chunks/{number-input-BZXu6bPY.js → number-input-Dj5L3pXK.js} +2 -2
  63. package/dist/_chunks/{otp-input-BDF_iNpa.js → otp-input-BEg_sn8A.js} +2 -2
  64. package/dist/_chunks/{pagination-BWaXF7W0.js → pagination-DQOgnxxw.js} +2 -2
  65. package/dist/_chunks/{parseISO-Dk4xa7q6.js → parseISO-DEpUNwxZ.js} +2 -2
  66. package/dist/_chunks/{patient-search-ZpHN-pgJ.js → patient-search-hFiYbqcl.js} +8 -8
  67. package/dist/_chunks/{patient-shell-CYaNkbA1.js → patient-shell-CDvMw_Nk.js} +6 -6
  68. package/dist/_chunks/{payment-form-Ds3rxvad.js → payment-form-D5rgnZu7.js} +2 -2
  69. package/dist/_chunks/{pdf-viewer-CIuaocnq.js → pdf-viewer-DvtEHcEP.js} +347 -320
  70. package/dist/_chunks/{phone-input-DKSHX7NQ.js → phone-input-DfZbPPvh.js} +217 -201
  71. package/dist/_chunks/pl-Cl4lOx2N.js +514 -0
  72. package/dist/_chunks/{popover-BfHSBEKq.js → popover-Devce-tT.js} +3 -3
  73. package/dist/_chunks/practice-results-JQunxBIg.js +1618 -0
  74. package/dist/_chunks/{privacy-lock-C6Ra5m3p.js → privacy-lock-DD-wHxBg.js} +3 -3
  75. package/dist/_chunks/{progress-B-PSO5OS.js → progress-kzIRcdaq.js} +11 -10
  76. package/dist/_chunks/pt-D7qO5CzD.js +370 -0
  77. package/dist/_chunks/{public-footer.agent-Bc99tE5Z.js → public-footer.agent-Bh0rnx4i.js} +21 -14
  78. package/dist/_chunks/{public-header.agent-B-B0WDAi.js → public-header.agent-B2dDg2_d.js} +3 -3
  79. package/dist/_chunks/{radio-i4ogu3cq.js → radio-TWf9Q-mp.js} +2 -2
  80. package/dist/_chunks/{radio-group-CTlGc36r.js → radio-group-BcF92GEF.js} +4 -4
  81. package/dist/_chunks/{react-day-picker-D3yzgvDB.js → react-day-picker-DsjfS7uI.js} +662 -615
  82. package/dist/_chunks/recaptcha-widget-CFYyLSEX.js +221 -0
  83. package/dist/_chunks/refresh-cw-CC8jSKMr.js +17 -0
  84. package/dist/_chunks/registry-nPAVE19X.js +21 -0
  85. package/dist/_chunks/{resizable-COV-cnth.js → resizable-3vzqDlg6.js} +29 -28
  86. package/dist/_chunks/{reviews-panel-bKEUKSic.js → reviews-panel-yanuBZs-.js} +4 -4
  87. package/dist/_chunks/{rich-text-editor-J-wAz9eN.js → rich-text-editor-CHmr9Bz8.js} +2 -2
  88. package/dist/_chunks/ro-CP2-VJ_O.js +361 -0
  89. package/dist/_chunks/ru-RPn9_Lpq.js +561 -0
  90. package/dist/_chunks/{scroll-area-DEDU-lp-.js → scroll-area-BWqCkEGz.js} +2 -2
  91. package/dist/_chunks/{search-bar-BRMW1-WG.js → search-bar-CP6wUJFY.js} +3 -3
  92. package/dist/_chunks/{search-input-CIA6pPfn.js → search-input-C1C3jQpD.js} +24 -23
  93. package/dist/_chunks/{select-C92AT_OZ.js → select-hsCaJSX3.js} +3 -3
  94. package/dist/_chunks/{sheet-D8Yl0nKR.js → sheet-BV-yuLE2.js} +3 -3
  95. package/dist/_chunks/{sidebar-DkyC6GvS.js → sidebar-BbR8f6oe.js} +3 -3
  96. package/dist/_chunks/{signature-capture-DjMlFOzS.js → signature-capture-C-fF71xI.js} +213 -205
  97. package/dist/_chunks/{slider-CfEzeseL.js → slider-BHWzXdjt.js} +3 -3
  98. package/dist/_chunks/{slot-grid-Q94gVmhn.js → slot-grid-Dz13dH82.js} +4 -4
  99. package/dist/_chunks/smile-BSYLAHy6.js +17 -0
  100. package/dist/_chunks/{sparkline-B5Ms55PZ.js → sparkline-DEROcSl0.js} +2 -2
  101. package/dist/_chunks/sq-AQvefouo.js +355 -0
  102. package/dist/_chunks/{stepper-progress-jFY8BSf7.js → stepper-progress-DDjq5nei.js} +16 -15
  103. package/dist/_chunks/streaming-text-GH07yIYh.js +127 -0
  104. package/dist/_chunks/sv-zkx9eBtD.js +376 -0
  105. package/dist/_chunks/{switch-D916VW86.js → switch-BJ6HD3Mn.js} +2 -2
  106. package/dist/_chunks/{tabs-aEQfQV3x.js → tabs-BpPYVme_.js} +4 -4
  107. package/dist/_chunks/{tag-bBPAvXyh.js → tag-CyoaEmf_.js} +2 -2
  108. package/dist/_chunks/{task-tray-6NlryfMJ.js → task-tray-DRK0b0Qb.js} +3 -3
  109. package/dist/_chunks/{text-area-D5GAe8pV.js → text-area-BIx0tZ05.js} +27 -26
  110. package/dist/_chunks/{text-input-CakysYnD.js → text-input-BaClJL8Y.js} +2 -2
  111. package/dist/_chunks/{theme-toggle-JoeMs_ws.js → theme-toggle-DpC28kt5.js} +6 -6
  112. package/dist/_chunks/{time-picker-DeVZkIY2.js → time-picker-B5umYwfv.js} +2 -2
  113. package/dist/_chunks/{timeline-CR7HjZCK.js → timeline-D0Wo7v_o.js} +3 -3
  114. package/dist/_chunks/{toast.agent-DVpKt38p.js → toast.agent-WHHfw5VX.js} +322 -320
  115. package/dist/_chunks/{tooltip-ClJd0ciy.js → tooltip-DvmfrNvB.js} +29 -20
  116. package/dist/_chunks/{tooth-scheme-3mITSXiZ.js → tooth-scheme-CxlsLjfN.js} +2 -2
  117. package/dist/_chunks/tr-Dmr412Ac.js +378 -0
  118. package/dist/_chunks/{transaction-chip-z9ENE50O.js → transaction-chip-B8ujzowA.js} +47 -60
  119. package/dist/_chunks/{transcript-panel-QUQ9XJmf.js → transcript-panel-DyhTpAP7.js} +21 -20
  120. package/dist/_chunks/{use-direction-D6rvvG9G.js → use-direction-Dp8h70PP.js} +7 -6
  121. package/dist/_chunks/use-isomorphic-layout-effect-BGfaCOP1.js +6 -0
  122. package/dist/_chunks/use-media-query-CcAx5SMM.js +16 -0
  123. package/dist/_chunks/{use-password-requirements-E0sSfx5X.js → use-password-requirements-DsgduV1x.js} +3 -3
  124. package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js +43 -0
  125. package/dist/_chunks/{workflow-map-DlWBJJBt.js → workflow-map-BSvQS3be.js} +6 -6
  126. package/dist/_chunks/zh-CN-DxVt64Zk.js +388 -0
  127. package/dist/agent/registry.d.ts +1 -6
  128. package/dist/agent-catalog.json +42 -1
  129. package/dist/components/_shared/date-locale.d.ts +7 -2
  130. package/dist/components/_shared/index.d.ts +1 -1
  131. package/dist/components/accordion/index.js +1 -1
  132. package/dist/components/agenda-card/index.js +1 -1
  133. package/dist/components/agenda-tray/index.js +1 -1
  134. package/dist/components/ai-prompt-input/index.js +1 -1
  135. package/dist/components/audio-recorder/index.js +1 -1
  136. package/dist/components/audio-visualiser/index.js +1 -1
  137. package/dist/components/autocomplete/index.js +1 -1
  138. package/dist/components/avatar/index.js +1 -1
  139. package/dist/components/badge/index.js +1 -1
  140. package/dist/components/booking/index.js +1 -1
  141. package/dist/components/breadcrumb/index.js +1 -1
  142. package/dist/components/button/index.js +1 -1
  143. package/dist/components/button-group/index.js +1 -1
  144. package/dist/components/calendar/index.js +1 -1
  145. package/dist/components/carousel/index.js +1 -1
  146. package/dist/components/chart/index.js +1 -1
  147. package/dist/components/chat-container/index.js +1 -1
  148. package/dist/components/chat-input/index.js +1 -1
  149. package/dist/components/chat-message/index.js +1 -1
  150. package/dist/components/checkbox/index.js +1 -1
  151. package/dist/components/checkbox-group/index.js +1 -1
  152. package/dist/components/collapsible/index.js +1 -1
  153. package/dist/components/color-picker/index.js +1 -1
  154. package/dist/components/combobox/index.js +1 -1
  155. package/dist/components/command-palette/index.js +1 -1
  156. package/dist/components/copy-field/index.js +1 -1
  157. package/dist/components/data-table/index.js +1 -1
  158. package/dist/components/date-picker/index.js +1 -1
  159. package/dist/components/date-range-picker/index.js +1 -1
  160. package/dist/components/date-time-picker/index.js +1 -1
  161. package/dist/components/description-list/index.js +1 -1
  162. package/dist/components/dialog/index.js +1 -1
  163. package/dist/components/dropdown-menu/index.js +1 -1
  164. package/dist/components/email-input/index.js +1 -1
  165. package/dist/components/file-upload/index.js +1 -1
  166. package/dist/components/freemium-paywall/index.js +1 -1
  167. package/dist/components/header/index.js +1 -1
  168. package/dist/components/header-settings/index.js +6 -6
  169. package/dist/components/icon-button/index.js +1 -1
  170. package/dist/components/icon-button-group/index.js +1 -1
  171. package/dist/components/index.d.ts +1 -0
  172. package/dist/components/key-value-pair/index.js +1 -1
  173. package/dist/components/list/index.js +1 -1
  174. package/dist/components/locale-picker/index.js +1 -1
  175. package/dist/components/map-view/index.js +1 -1
  176. package/dist/components/map-view/map-view.d.ts +10 -0
  177. package/dist/components/message-card/index.js +1 -1
  178. package/dist/components/message-tray/index.js +1 -1
  179. package/dist/components/multi-select/index.js +1 -1
  180. package/dist/components/navigation-menu/index.js +1 -1
  181. package/dist/components/notification-card/index.js +1 -1
  182. package/dist/components/notification-tray/index.js +1 -1
  183. package/dist/components/number-input/index.js +1 -1
  184. package/dist/components/otp-input/index.js +1 -1
  185. package/dist/components/pagination/index.js +1 -1
  186. package/dist/components/password-input/index.js +1 -1
  187. package/dist/components/patient-search/index.js +1 -1
  188. package/dist/components/payment-form/index.js +1 -1
  189. package/dist/components/pdf-viewer/index.js +1 -1
  190. package/dist/components/phone-input/index.js +1 -1
  191. package/dist/components/popover/index.js +1 -1
  192. package/dist/components/practice-results/index.d.ts +4 -0
  193. package/dist/components/practice-results/index.js +6 -0
  194. package/dist/components/practice-results/practice-results.agent.d.ts +4 -0
  195. package/dist/components/practice-results/practice-results.d.ts +159 -0
  196. package/dist/components/privacy-lock/index.js +1 -1
  197. package/dist/components/progress/index.js +1 -1
  198. package/dist/components/public-footer/index.js +1 -1
  199. package/dist/components/public-header/index.js +1 -1
  200. package/dist/components/radio/index.js +1 -1
  201. package/dist/components/radio-group/index.js +2 -2
  202. package/dist/components/recaptcha-widget/index.js +1 -1
  203. package/dist/components/resizable/index.js +1 -1
  204. package/dist/components/reviews-panel/index.js +1 -1
  205. package/dist/components/rich-text-editor/index.js +1 -1
  206. package/dist/components/scroll-area/index.js +1 -1
  207. package/dist/components/search-bar/index.js +1 -1
  208. package/dist/components/search-input/index.js +1 -1
  209. package/dist/components/select/index.js +1 -1
  210. package/dist/components/sheet/index.js +1 -1
  211. package/dist/components/sidebar/index.js +1 -1
  212. package/dist/components/signature-capture/index.js +1 -1
  213. package/dist/components/slider/index.js +1 -1
  214. package/dist/components/slot-grid/index.js +1 -1
  215. package/dist/components/sparkline/index.js +1 -1
  216. package/dist/components/stepper-progress/index.js +1 -1
  217. package/dist/components/streaming-text/index.js +1 -1
  218. package/dist/components/switch/index.js +1 -1
  219. package/dist/components/tabs/index.js +1 -1
  220. package/dist/components/tag/index.js +1 -1
  221. package/dist/components/task-tray/index.js +1 -1
  222. package/dist/components/text-area/index.js +1 -1
  223. package/dist/components/text-input/index.js +1 -1
  224. package/dist/components/theme-toggle/index.js +1 -1
  225. package/dist/components/time-picker/index.js +1 -1
  226. package/dist/components/timeline/index.js +1 -1
  227. package/dist/components/toast/index.js +1 -1
  228. package/dist/components/tooltip/index.js +1 -1
  229. package/dist/components/tooth-scheme/index.js +1 -1
  230. package/dist/components/transaction-chip/index.js +1 -1
  231. package/dist/components/transcript-panel/index.js +1 -1
  232. package/dist/components/workflow/index.js +1 -1
  233. package/dist/hooks/index.js +69 -66
  234. package/dist/i18n/locales/ar.d.ts +92 -0
  235. package/dist/i18n/locales/ar.js +82 -0
  236. package/dist/i18n/locales/de.d.ts +92 -0
  237. package/dist/i18n/locales/de.js +81 -0
  238. package/dist/i18n/locales/el.d.ts +92 -0
  239. package/dist/i18n/locales/el.js +82 -0
  240. package/dist/i18n/locales/en.d.ts +92 -0
  241. package/dist/i18n/locales/en.js +92 -0
  242. package/dist/i18n/locales/es.d.ts +92 -0
  243. package/dist/i18n/locales/es.js +81 -0
  244. package/dist/i18n/locales/fr.d.ts +92 -0
  245. package/dist/i18n/locales/fr.js +81 -0
  246. package/dist/i18n/locales/hi.d.ts +92 -0
  247. package/dist/i18n/locales/hi.js +82 -0
  248. package/dist/i18n/locales/it.d.ts +92 -0
  249. package/dist/i18n/locales/it.js +81 -0
  250. package/dist/i18n/locales/ja.d.ts +92 -0
  251. package/dist/i18n/locales/ja.js +82 -0
  252. package/dist/i18n/locales/nl.d.ts +92 -0
  253. package/dist/i18n/locales/nl.js +81 -0
  254. package/dist/i18n/locales/pl.d.ts +92 -0
  255. package/dist/i18n/locales/pl.js +82 -0
  256. package/dist/i18n/locales/pt.d.ts +92 -0
  257. package/dist/i18n/locales/pt.js +83 -0
  258. package/dist/i18n/locales/ro.d.ts +92 -0
  259. package/dist/i18n/locales/ro.js +82 -0
  260. package/dist/i18n/locales/ru.d.ts +92 -0
  261. package/dist/i18n/locales/ru.js +82 -0
  262. package/dist/i18n/locales/sq.d.ts +92 -0
  263. package/dist/i18n/locales/sq.js +82 -0
  264. package/dist/i18n/locales/sv.d.ts +92 -0
  265. package/dist/i18n/locales/sv.js +82 -0
  266. package/dist/i18n/locales/tr.d.ts +92 -0
  267. package/dist/i18n/locales/tr.js +82 -0
  268. package/dist/i18n/locales/zh.d.ts +92 -0
  269. package/dist/i18n/locales/zh.js +82 -0
  270. package/dist/index.js +532 -528
  271. package/dist/locales/ar.json +92 -0
  272. package/dist/locales/de.json +92 -0
  273. package/dist/locales/el.json +92 -0
  274. package/dist/locales/en.json +92 -0
  275. package/dist/locales/es.json +92 -0
  276. package/dist/locales/fr.json +92 -0
  277. package/dist/locales/hi.json +92 -0
  278. package/dist/locales/it.json +92 -0
  279. package/dist/locales/ja.json +92 -0
  280. package/dist/locales/nl.json +92 -0
  281. package/dist/locales/pl.json +92 -0
  282. package/dist/locales/pt.json +92 -0
  283. package/dist/locales/ro.json +92 -0
  284. package/dist/locales/ru.json +92 -0
  285. package/dist/locales/sq.json +92 -0
  286. package/dist/locales/sv.json +92 -0
  287. package/dist/locales/tr.json +92 -0
  288. package/dist/locales/zh.json +92 -0
  289. package/dist/patterns/alia-assistant/index.js +1 -1
  290. package/dist/patterns/patient-shell/index.js +1 -1
  291. package/dist/tokens.css +1 -1
  292. package/package.json +5 -2
  293. package/dist/_chunks/audio-visualiser-I-T4Z7EU.js +0 -145
  294. package/dist/_chunks/recaptcha-widget-BtBNb6tB.js +0 -192
  295. package/dist/_chunks/registry-C9nwlNyL.js +0 -21
  296. package/dist/_chunks/streaming-text-BgjCTVOw.js +0 -105
  297. package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js +0 -55
@@ -1,10 +1,10 @@
1
- import { jsxs as W, jsx as b } from "react/jsx-runtime";
2
- import { forwardRef as ve, useId as me, useMemo as Y, useRef as S, useState as R, useEffect as M, useCallback as N, useImperativeHandle as be } from "react";
3
- import he from "signature_pad";
4
- import { c as k } from "./index-D2ZczOXr.js";
5
- import { useTranslation as ye } from "react-i18next";
6
- import { u as we } from "./registry-C9nwlNyL.js";
7
- const xe = {
1
+ import { jsxs as X, jsx as h } from "react/jsx-runtime";
2
+ import { forwardRef as ze, useId as Se, useMemo as ae, useRef as C, useState as N, useEffect as P, useCallback as T, useImperativeHandle as Re } from "react";
3
+ import Ae from "signature_pad";
4
+ import { c as R } from "./index-D2ZczOXr.js";
5
+ import { useTranslation as Me } from "react-i18next";
6
+ import { u as Ne } from "./registry-nPAVE19X.js";
7
+ const Pe = {
8
8
  id: "signature-capture",
9
9
  capabilities: ["edit_inline", "submit"],
10
10
  state: {
@@ -43,7 +43,7 @@ const xe = {
43
43
  description: "Sourced from the id prop."
44
44
  }
45
45
  }
46
- }, ke = k(
46
+ }, Te = R(
47
47
  [
48
48
  "ds:signature-capture-alfadocs ds:flex ds:flex-col",
49
49
  "ds:gap-[var(--spacing-sm)]",
@@ -52,7 +52,7 @@ const xe = {
52
52
  "ds:p-[var(--spacing-sm)]",
53
53
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
54
54
  ].join(" ")
55
- ), ze = k(
55
+ ), Ve = R(
56
56
  [
57
57
  "ds:relative ds:block",
58
58
  "ds:inline-size-[var(--signature-width)]",
@@ -67,7 +67,7 @@ const xe = {
67
67
  "ds:focus-visible:outline-[var(--ring)]",
68
68
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
69
69
  ].join(" ")
70
- ), Ce = k(
70
+ ), je = R(
71
71
  [
72
72
  "ds:block",
73
73
  "ds:inline-size-full",
@@ -75,9 +75,9 @@ const xe = {
75
75
  "ds:touch-none",
76
76
  "ds:select-none"
77
77
  ].join(" ")
78
- ), Se = k(
78
+ ), Ee = R(
79
79
  ["ds:flex ds:items-center ds:flex-wrap ds:gap-[var(--spacing-xs)]"].join(" ")
80
- ), X = k(
80
+ ), q = R(
81
81
  [
82
82
  "ds:inline-flex ds:items-center ds:justify-center",
83
83
  "ds:min-block-size-[var(--min-target-size)]",
@@ -97,7 +97,7 @@ const xe = {
97
97
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
98
98
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
99
99
  ].join(" ")
100
- ), Ae = k(
100
+ ), Be = R(
101
101
  [
102
102
  "ds:inline-flex ds:items-center ds:justify-center",
103
103
  "ds:min-block-size-[var(--min-target-size)]",
@@ -115,7 +115,7 @@ const xe = {
115
115
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
116
116
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
117
117
  ].join(" ")
118
- ), Me = k(
118
+ ), $e = R(
119
119
  [
120
120
  "ds:block ds:inline-size-full",
121
121
  "ds:min-block-size-[var(--min-target-size)]",
@@ -132,7 +132,7 @@ const xe = {
132
132
  "ds:focus-visible:outline-[var(--ring)]",
133
133
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
134
134
  ].join(" ")
135
- ), Ne = k(
135
+ ), De = R(
136
136
  [
137
137
  "ds:flex ds:items-center ds:justify-center",
138
138
  "ds:inline-size-[var(--signature-width)]",
@@ -147,86 +147,87 @@ const xe = {
147
147
  "ds:p-[var(--spacing-md)]"
148
148
  ].join(" ")
149
149
  );
150
- function ee(t) {
150
+ function ie(t) {
151
151
  return typeof document > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(t).trim();
152
152
  }
153
- function te(t, n) {
153
+ function oe(t, n) {
154
154
  return typeof t == "number" ? `${t}px` : typeof t == "string" && t.length > 0 ? t : n;
155
155
  }
156
- function re(t, n) {
157
- const s = parseFloat(t);
158
- return Number.isFinite(s) ? s : n;
156
+ function de(t) {
157
+ if (typeof t == "string" && /[^0-9.\s\-px]/i.test(t)) return null;
158
+ const n = parseFloat(t);
159
+ return Number.isFinite(n) ? n : null;
159
160
  }
160
- function Ee(t) {
161
+ function Fe(t) {
161
162
  let n = "";
162
163
  for (let s = 0; s < t.length; s += 1) {
163
- const o = t[s];
164
- n += o.toString(16).padStart(2, "0");
164
+ const i = t[s];
165
+ n += i.toString(16).padStart(2, "0");
165
166
  }
166
167
  return n;
167
168
  }
168
- function Re(t) {
169
+ function Le(t) {
169
170
  if (typeof atob == "function") {
170
- const s = atob(t), o = new Uint8Array(s.length);
171
- for (let i = 0; i < s.length; i += 1) o[i] = s.charCodeAt(i);
172
- return o;
171
+ const s = atob(t), i = new Uint8Array(s.length);
172
+ for (let a = 0; a < s.length; a += 1) i[a] = s.charCodeAt(a);
173
+ return i;
173
174
  }
174
175
  const n = globalThis;
175
176
  return n.Buffer ? n.Buffer.from(t, "base64") : new Uint8Array();
176
177
  }
177
- async function Te(t) {
178
+ async function Ie(t) {
178
179
  var s;
179
180
  const n = globalThis;
180
181
  if ((s = n.crypto) != null && s.subtle) {
181
- const o = new Uint8Array(t.byteLength);
182
- o.set(t);
183
- const i = await n.crypto.subtle.digest("SHA-256", o.buffer);
184
- return Ee(new Uint8Array(i));
182
+ const i = new Uint8Array(t.byteLength);
183
+ i.set(t);
184
+ const a = await n.crypto.subtle.digest("SHA-256", i.buffer);
185
+ return Fe(new Uint8Array(a));
185
186
  }
186
187
  return "";
187
188
  }
188
- function Ve(t, n, s, o, i) {
189
- const p = Math.max(
189
+ function He(t, n, s, i, a) {
190
+ const m = Math.max(
190
191
  1,
191
192
  typeof window < "u" ? window.devicePixelRatio : 1
192
- ), x = document.createElement("canvas");
193
- x.width = Math.floor(n * p), x.height = Math.floor(s * p);
194
- const c = x.getContext("2d");
195
- return c && (c.setTransform(p, 0, 0, p, 0, 0), c.fillStyle = i, c.fillRect(0, 0, n, s), c.fillStyle = o, c.font = "32px italic sans-serif", c.textAlign = "center", c.textBaseline = "middle", c.fillText(t, n / 2, s / 2, n - 16)), x;
193
+ ), z = document.createElement("canvas");
194
+ z.width = Math.floor(n * m), z.height = Math.floor(s * m);
195
+ 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;
196
197
  }
197
- const je = ve(
198
+ const Ue = ze(
198
199
  ({
199
200
  id: t,
200
201
  onConfirm: n,
201
202
  onClear: s,
202
- onStart: o,
203
- width: i = 400,
204
- height: p = 200,
205
- penColor: x,
206
- backgroundColor: c,
207
- allowTypedFallback: ne = !0,
208
- disabled: u = !1,
209
- ariaLabel: se,
210
- className: ae
211
- }, ie) => {
212
- const { t: d } = ye(), q = me(), G = `${Y(
213
- () => `sig-${q.replace(/[^a-zA-Z0-9-_]/g, "")}`,
214
- [q]
215
- )}-live`, oe = S(null), F = S(null), h = S(null), [f, de] = R("draw"), [z, L] = R(""), ce = S("empty"), [le, ue] = R(""), [v, fe] = R(""), [y, ge] = R(""), T = S(o), V = S(s), j = S(n);
216
- M(() => {
217
- T.current = o, V.current = s, j.current = n;
218
- }, [o, s, n]);
219
- const g = N(
203
+ onStart: i,
204
+ width: a = 400,
205
+ height: m = 200,
206
+ penColor: z,
207
+ backgroundColor: l,
208
+ allowTypedFallback: ce = !0,
209
+ disabled: f = !1,
210
+ ariaLabel: le,
211
+ className: ue
212
+ }, fe) => {
213
+ const { t: o } = Me(), G = Se(), Z = `${ae(
214
+ () => `sig-${G.replace(/[^a-zA-Z0-9-_]/g, "")}`,
215
+ [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);
217
+ P(() => {
218
+ j.current = i, E.current = s, B.current = n;
219
+ }, [i, s, n]);
220
+ const g = T(
220
221
  (e) => {
221
- ce.current = e, ue(d(`signature.state.${e}`));
222
+ ve.current = e, be(o(`signature.state.${e}`));
222
223
  },
223
- [d]
224
+ [o]
224
225
  );
225
- M(() => {
226
+ P(() => {
226
227
  if (typeof document > "u") return;
227
228
  function e() {
228
- const a = x ?? ee("--foreground"), m = c ?? ee("--background");
229
- fe(a || "currentColor"), ge(m || "transparent");
229
+ const c = z ?? ie("--foreground"), p = l ?? ie("--background");
230
+ he(c || "currentColor"), ye(p || "transparent");
230
231
  }
231
232
  e();
232
233
  const r = new MutationObserver(() => {
@@ -236,242 +237,249 @@ const je = ve(
236
237
  attributes: !0,
237
238
  attributeFilter: ["class"]
238
239
  }), () => r.disconnect();
239
- }, [x, c]), M(() => {
240
- const e = h.current;
241
- e && (v && (e.penColor = v), y && (e.backgroundColor = y));
242
- }, [v, y]), M(() => {
243
- if (f !== "draw") return;
244
- const e = F.current;
240
+ }, [z, l]), P(() => {
241
+ const e = y.current;
242
+ e && (b && (e.penColor = b), w && (e.backgroundColor = w));
243
+ }, [b, w]), P(() => {
244
+ if (d !== "draw") return;
245
+ const e = V.current;
245
246
  if (!e) return;
246
- const r = new he(e, {
247
- penColor: v || "currentColor",
248
- backgroundColor: y || "transparent",
247
+ const r = new Ae(e, {
248
+ penColor: b || "currentColor",
249
+ backgroundColor: w || "transparent",
249
250
  minWidth: 0.5,
250
251
  maxWidth: 2.5,
251
252
  velocityFilterWeight: 0.7
252
253
  });
253
- h.current = r;
254
- const a = () => {
255
- var C;
256
- g("drawing"), (C = T.current) == null || C.call(T);
257
- }, m = () => {
254
+ y.current = r;
255
+ const c = () => {
256
+ var x;
257
+ I(!0), g("drawing"), (x = j.current) == null || x.call(j);
258
+ }, p = () => {
258
259
  };
259
- return r.addEventListener("beginStroke", a), r.addEventListener("endStroke", m), B(e), g("empty"), () => {
260
- r.removeEventListener("beginStroke", a), r.removeEventListener("endStroke", m), r.clear(), r.off(), h.current = null;
260
+ return r.addEventListener("beginStroke", c), r.addEventListener("endStroke", p), $(e), g("empty"), () => {
261
+ r.removeEventListener("beginStroke", c), r.removeEventListener("endStroke", p), r.clear(), r.off(), y.current = null;
261
262
  };
262
- }, [f]), M(() => {
263
- const e = h.current;
264
- e && (u ? e.off() : e.on());
265
- }, [u, f]);
266
- const Z = 4096, B = N(
263
+ }, [d]), P(() => {
264
+ const e = y.current;
265
+ e && (f ? e.off() : e.on());
266
+ }, [f, d]);
267
+ const Q = 4096, $ = T(
267
268
  (e) => {
268
- const r = e.getBoundingClientRect(), a = Math.max(
269
+ const r = e.getBoundingClientRect(), c = Math.max(
269
270
  1,
270
271
  typeof window < "u" ? window.devicePixelRatio : 1
271
- ), m = Math.max(1, Math.floor(r.width * a)), C = Math.max(1, Math.floor(r.height * a)), $ = Math.min(m, Z), D = Math.min(C, Z);
272
- if (e.width === $ && e.height === D)
272
+ ), 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
+ if (e.width === A && e.height === k)
273
274
  return;
274
- const w = h.current, A = w ? w.toData() : null;
275
- e.width = $, e.height = D;
276
- const E = e.getContext("2d");
277
- E && E.scale(a, a), w && (y && (w.backgroundColor = y), v && (w.penColor = v), w.clear(), A && A.length > 0 && w.fromData(A));
275
+ const v = y.current, M = v ? v.toData() : null;
276
+ e.width = A, e.height = k;
277
+ 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));
278
279
  },
279
- [y, v]
280
+ [w, b]
280
281
  );
281
- M(() => {
282
- const e = F.current;
282
+ P(() => {
283
+ const e = V.current;
283
284
  if (!e) return;
284
285
  if (typeof ResizeObserver > "u") {
285
- B(e);
286
+ $(e);
286
287
  return;
287
288
  }
288
289
  const r = new ResizeObserver(() => {
289
- B(e);
290
+ $(e);
290
291
  });
291
292
  return r.observe(e), () => r.disconnect();
292
- }, [B]);
293
- const P = N(() => {
293
+ }, [$]);
294
+ const H = T(() => {
294
295
  var r;
295
- const e = h.current;
296
- e && e.clear(), L(""), g("cleared"), (r = V.current) == null || r.call(V);
297
- }, [g]), I = N(() => {
298
- const e = h.current;
296
+ const e = y.current;
297
+ e && e.clear(), L(""), I(!1), g("cleared"), (r = E.current) == null || r.call(E);
298
+ }, [g]), U = T(() => {
299
+ const e = y.current;
299
300
  if (!e) return;
300
301
  const r = e.toData();
301
- !r || r.length === 0 || (r.pop(), e.fromData(r), r.length === 0 && g("empty"));
302
- }, [g]), U = N(() => {
303
- if (f === "typed") return z.trim().length === 0;
304
- const e = h.current;
302
+ !r || r.length === 0 || (r.pop(), e.fromData(r), r.length === 0 && (I(!1), g("empty")));
303
+ }, [g]), Y = T(() => {
304
+ if (d === "typed") return S.trim().length === 0;
305
+ const e = y.current;
305
306
  return e ? e.isEmpty() : !0;
306
- }, [f, z]), H = N(async () => {
307
- var K;
308
- const e = re(
309
- typeof i == "number" ? `${i}` : String(i),
310
- 400
311
- ), r = re(
312
- typeof p == "number" ? `${p}` : String(p),
313
- 200
314
- );
315
- let a = "", m = "", C;
316
- if (f === "draw") {
317
- const l = h.current;
318
- if (!l || l.isEmpty()) return null;
319
- a = l.toDataURL("image/png"), m = l.toSVG(), C = l.toData();
307
+ }, [d, S]), O = T(async () => {
308
+ var ne;
309
+ const e = de(
310
+ typeof a == "number" ? `${a}` : String(a)
311
+ ), r = de(
312
+ typeof m == "number" ? `${m}` : String(m)
313
+ ), 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;
315
+ if (d === "draw") {
316
+ const u = y.current;
317
+ if (!u || u.isEmpty()) return null;
318
+ k = u.toDataURL("image/png"), v = u.toSVG(), M = u.toData();
320
319
  } else {
321
- const l = z.trim();
322
- if (l.length === 0) return null;
323
- a = Ve(
324
- l,
325
- e,
326
- r,
327
- v || "currentColor",
328
- y || "transparent"
320
+ const u = S.trim();
321
+ if (u.length === 0) return null;
322
+ k = He(
323
+ u,
324
+ x,
325
+ A,
326
+ b || "currentColor",
327
+ w || "transparent"
329
328
  ).toDataURL("image/png");
330
- const _ = l.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
331
- m = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${e} ${r}" width="${e}" height="${r}"><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-family="sans-serif" font-style="italic" font-size="32" fill="${v || "currentColor"}" letter-spacing="3">${_}</text></svg>`;
329
+ 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>`;
332
331
  }
333
- const $ = e * 25.4 / 96, D = r * 25.4 / 96, w = (/* @__PURE__ */ new Date()).toISOString();
334
- let A = "";
335
- if (a) {
336
- const l = a.indexOf(","), Q = l >= 0 ? a.slice(l + 1) : "", _ = Re(Q);
337
- A = await Te(_);
332
+ const D = x * 25.4 / 96, ke = A * 25.4 / 96, Ce = (/* @__PURE__ */ new Date()).toISOString();
333
+ let te = "";
334
+ if (k) {
335
+ const u = k.indexOf(","), se = u >= 0 ? k.slice(u + 1) : "", W = Le(se);
336
+ te = await Ie(W);
338
337
  }
339
- const E = {
340
- png: a,
341
- svg: m,
342
- widthMm: $,
343
- heightMm: D,
344
- capturedAt: w,
345
- sha256: A,
346
- strokes: C
338
+ const re = {
339
+ png: k,
340
+ svg: v,
341
+ widthMm: D,
342
+ heightMm: ke,
343
+ capturedAt: Ce,
344
+ sha256: te,
345
+ strokes: M
347
346
  };
348
- return g("captured"), (K = j.current) == null || K.call(j, E), E;
349
- }, [f, z, i, p, v, y, g]), O = Y(
347
+ return g("captured"), (ne = B.current) == null || ne.call(B, re), re;
348
+ }, [d, S, a, m, b, w, g]), _ = ae(
350
349
  () => ({
351
- clear: P,
352
- undo: I,
353
- isEmpty: U,
354
- confirm: H
350
+ clear: H,
351
+ undo: U,
352
+ isEmpty: Y,
353
+ confirm: O
355
354
  }),
356
- [P, I, U, H]
355
+ [H, U, Y, O]
357
356
  );
358
- be(ie, () => O, [O]), we(xe, O, t);
359
- const J = u || U(), pe = {
360
- "--signature-width": te(
361
- i,
357
+ Re(fe, () => _, [_]), Ne(Pe, _, t);
358
+ const we = d === "typed" ? S.trim().length > 0 : pe, ee = f || !we, xe = {
359
+ "--signature-width": oe(
360
+ a,
362
361
  "var(--signature-default-width)"
363
362
  ),
364
- "--signature-height": te(
365
- p,
363
+ "--signature-height": oe(
364
+ m,
366
365
  "var(--signature-default-height)"
367
366
  )
368
367
  };
369
- return /* @__PURE__ */ W(
368
+ return /* @__PURE__ */ X(
370
369
  "div",
371
370
  {
371
+ ref: F,
372
372
  role: "group",
373
- "aria-label": se ?? d("signature.padLabel"),
374
- "aria-disabled": u || void 0,
375
- className: [ke(), ae].filter(Boolean).join(" "),
376
- style: pe,
373
+ "aria-label": le ?? o("signature.padLabel"),
374
+ "aria-disabled": f || void 0,
375
+ className: [Te(), ue].filter(Boolean).join(" "),
376
+ style: xe,
377
377
  "data-component": "signature-capture",
378
378
  "data-component-id": t,
379
379
  children: [
380
- f === "draw" ? /* @__PURE__ */ b("div", { ref: oe, className: ze(), children: /* @__PURE__ */ b(
380
+ d === "draw" ? /* @__PURE__ */ h("div", { ref: J, className: Ve(), children: /* @__PURE__ */ h(
381
381
  "canvas",
382
382
  {
383
- ref: F,
383
+ ref: V,
384
384
  role: "img",
385
- "aria-label": d("signature.padLabel"),
386
- className: Ce(),
385
+ "aria-label": o("signature.padLabel"),
386
+ className: je(),
387
387
  "data-testid": "signature-canvas"
388
388
  }
389
- ) }) : /* @__PURE__ */ W("label", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
390
- /* @__PURE__ */ b("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: d("signature.typedFallback.label") }),
391
- /* @__PURE__ */ b(
389
+ ) }) : /* @__PURE__ */ X("label", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
390
+ /* @__PURE__ */ h("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: o("signature.typedFallback.label") }),
391
+ /* @__PURE__ */ h(
392
392
  "input",
393
393
  {
394
394
  type: "text",
395
- value: z,
395
+ value: S,
396
396
  onChange: (e) => {
397
397
  L(e.target.value), e.target.value.length > 0 ? g("drawing") : g("empty");
398
398
  },
399
- placeholder: d("signature.typedFallback.placeholder"),
400
- "aria-label": d("signature.typedFallback.label"),
401
- disabled: u,
402
- className: Me(),
399
+ placeholder: o("signature.typedFallback.placeholder"),
400
+ "aria-label": o("signature.typedFallback.label"),
401
+ disabled: f,
402
+ className: $e(),
403
403
  "data-testid": "signature-typed-input"
404
404
  }
405
405
  ),
406
- z ? /* @__PURE__ */ b("div", { className: Ne(), "aria-hidden": "true", children: z }) : null
406
+ S ? /* @__PURE__ */ h(
407
+ "div",
408
+ {
409
+ ref: K,
410
+ className: De(),
411
+ "aria-hidden": "true",
412
+ children: S
413
+ }
414
+ ) : null
407
415
  ] }),
408
- /* @__PURE__ */ b(
416
+ /* @__PURE__ */ h(
409
417
  "div",
410
418
  {
411
- id: G,
419
+ id: Z,
412
420
  "aria-live": "polite",
413
421
  "aria-atomic": "true",
414
422
  className: "ds:sr-only",
415
423
  "data-testid": "signature-live",
416
- children: le
424
+ children: me
417
425
  }
418
426
  ),
419
- /* @__PURE__ */ W(
427
+ /* @__PURE__ */ X(
420
428
  "div",
421
429
  {
422
- className: Se(),
430
+ className: Ee(),
423
431
  role: "group",
424
- "aria-label": d("signature.padLabel"),
432
+ "aria-label": o("signature.padLabel"),
425
433
  children: [
426
- /* @__PURE__ */ b(
434
+ /* @__PURE__ */ h(
427
435
  "button",
428
436
  {
429
437
  type: "button",
430
438
  onClick: () => {
431
- u || P();
439
+ f || H();
432
440
  },
433
- "aria-disabled": u || void 0,
434
- className: X(),
435
- children: d("signature.clear")
441
+ "aria-disabled": f || void 0,
442
+ className: q(),
443
+ children: o("signature.clear")
436
444
  }
437
445
  ),
438
- f === "draw" ? /* @__PURE__ */ b(
446
+ d === "draw" ? /* @__PURE__ */ h(
439
447
  "button",
440
448
  {
441
449
  type: "button",
442
450
  onClick: () => {
443
- u || I();
451
+ f || U();
444
452
  },
445
- "aria-disabled": u || void 0,
446
- className: X(),
447
- children: d("signature.undo")
453
+ "aria-disabled": f || void 0,
454
+ className: q(),
455
+ children: o("signature.undo")
448
456
  }
449
457
  ) : null,
450
- ne ? /* @__PURE__ */ b(
458
+ ce ? /* @__PURE__ */ h(
451
459
  "button",
452
460
  {
453
461
  type: "button",
454
462
  onClick: () => {
455
- u || (L(""), de((e) => e === "draw" ? "typed" : "draw"), g("cleared"));
463
+ f || (L(""), ge((e) => e === "draw" ? "typed" : "draw"), g("cleared"));
456
464
  },
457
- "aria-disabled": u || void 0,
458
- className: X(),
459
- "aria-pressed": f === "typed",
460
- children: d(f === "draw" ? "signature.typedFallback.toggle" : "signature.typedFallback.toggleDraw")
465
+ "aria-disabled": f || void 0,
466
+ className: q(),
467
+ "aria-pressed": d === "typed",
468
+ children: o(d === "draw" ? "signature.typedFallback.toggle" : "signature.typedFallback.toggleDraw")
461
469
  }
462
470
  ) : null,
463
- /* @__PURE__ */ b(
471
+ /* @__PURE__ */ h(
464
472
  "button",
465
473
  {
466
474
  type: "button",
467
475
  onClick: () => {
468
- J || H();
476
+ ee || O();
469
477
  },
470
- "aria-disabled": J || void 0,
471
- "aria-describedby": G,
472
- className: Ae(),
478
+ "aria-disabled": ee || void 0,
479
+ "aria-describedby": Z,
480
+ className: Be(),
473
481
  "data-testid": "signature-confirm",
474
- children: d("signature.confirm")
482
+ children: o("signature.confirm")
475
483
  }
476
484
  )
477
485
  ]
@@ -482,9 +490,9 @@ const je = ve(
482
490
  );
483
491
  }
484
492
  );
485
- je.displayName = "SignatureCapture";
493
+ Ue.displayName = "SignatureCapture";
486
494
  export {
487
- je as S,
488
- xe as s
495
+ Ue as S,
496
+ Pe as s
489
497
  };
490
- //# sourceMappingURL=signature-capture-DjMlFOzS.js.map
498
+ //# sourceMappingURL=signature-capture-C-fF71xI.js.map
@@ -5,8 +5,8 @@ import { c as t } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as va } from "react-i18next";
6
6
  import { u as ha, F as ba } from "./form-field-context-B3APVHKx.js";
7
7
  import { c as ga } from "./compose-refs-C0k0tdqF.js";
8
- import { u as xa } from "./use-direction-D6rvvG9G.js";
9
- import { u as wa } from "./registry-C9nwlNyL.js";
8
+ import { u as xa } from "./use-direction-Dp8h70PP.js";
9
+ import { u as wa } from "./registry-nPAVE19X.js";
10
10
  const ya = {
11
11
  id: "slider",
12
12
  capabilities: ["pick", "range_pick"],
@@ -323,4 +323,4 @@ Aa.displayName = "Slider";
323
323
  export {
324
324
  Aa as S
325
325
  };
326
- //# sourceMappingURL=slider-CfEzeseL.js.map
326
+ //# sourceMappingURL=slider-BHWzXdjt.js.map