@alfadocs/ui-kit 1.67.0 → 1.68.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 (291) hide show
  1. package/dist/_chunks/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
  2. package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
  4. package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
  5. package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
  6. package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
  7. package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
  8. package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
  9. package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
  10. package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
  11. package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
  12. package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
  13. package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
  14. package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
  15. package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
  16. package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
  17. package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
  18. package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
  19. package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
  20. package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
  21. package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
  22. package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-CYK1M83j.js} +18 -18
  23. package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
  24. package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
  25. package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
  26. package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
  27. package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
  28. package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
  29. package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
  30. package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
  31. package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
  32. package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
  33. package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
  34. package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
  35. package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
  36. package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
  37. package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
  38. package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
  39. package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
  40. package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
  41. package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
  42. package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
  43. package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
  44. package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
  45. package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
  46. package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
  47. package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
  48. package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
  49. package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
  50. package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
  51. package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
  52. package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
  53. package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
  54. package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
  55. package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
  56. package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
  57. package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
  58. package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
  59. package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
  60. package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
  61. package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
  62. package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
  63. package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
  64. package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
  65. package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-C4Dyo7Ck.js} +4 -4
  66. package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-DROvUkFu.js} +4 -4
  67. package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
  68. package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-CAimxbuI.js} +4 -4
  69. package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
  70. package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
  71. package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
  72. package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
  73. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
  74. package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
  75. package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
  76. package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
  77. package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
  78. package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
  79. package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
  80. package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
  81. package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
  82. package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
  83. package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
  84. package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
  85. package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
  86. package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
  87. package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
  88. package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
  89. package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
  90. package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
  91. package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
  92. package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
  93. package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
  94. package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
  95. package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
  96. package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
  97. package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
  98. package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
  99. package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
  100. package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
  101. package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-CUGfE0hV.js} +12 -12
  102. package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
  103. package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
  104. package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
  105. package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
  106. package/dist/agent-catalog.json +172 -4
  107. package/dist/agent-i18n/en.json +25 -1
  108. package/dist/components/_shared/format-number.d.ts +20 -0
  109. package/dist/components/_shared/length-token.d.ts +12 -0
  110. package/dist/components/_shared/option.d.ts +1 -0
  111. package/dist/components/address-fields/index.js +1 -1
  112. package/dist/components/agenda-card/index.js +1 -1
  113. package/dist/components/agenda-tray/index.js +1 -1
  114. package/dist/components/ai-credits-notice/index.js +1 -1
  115. package/dist/components/ai-permission-notice/index.js +1 -1
  116. package/dist/components/ai-prompt-input/index.js +1 -1
  117. package/dist/components/alert/alert.d.ts +26 -0
  118. package/dist/components/alert/index.js +1 -1
  119. package/dist/components/anamnesis-summary-card/index.js +1 -1
  120. package/dist/components/appointment-card/index.js +2 -2
  121. package/dist/components/appointment-details-panel/index.js +1 -1
  122. package/dist/components/appointment-peek/index.js +1 -1
  123. package/dist/components/appointment-timeline/index.js +1 -1
  124. package/dist/components/audio-recorder/index.js +1 -1
  125. package/dist/components/avatar/avatar.d.ts +2 -0
  126. package/dist/components/avatar/index.js +1 -1
  127. package/dist/components/bishop-score/index.js +1 -1
  128. package/dist/components/booking/index.js +1 -1
  129. package/dist/components/calendar/index.js +1 -1
  130. package/dist/components/chat-message/index.js +1 -1
  131. package/dist/components/clinical-note-card/index.js +1 -1
  132. package/dist/components/color-picker/index.js +1 -1
  133. package/dist/components/combobox/index.js +1 -1
  134. package/dist/components/contact-profile-card/index.js +1 -1
  135. package/dist/components/control-room-rail/index.js +1 -1
  136. package/dist/components/country-select/index.js +1 -1
  137. package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
  138. package/dist/components/dashboard-grid/index.js +1 -1
  139. package/dist/components/data-table/index.js +2 -2
  140. package/dist/components/dependent-selector/index.js +1 -1
  141. package/dist/components/document-preview/index.js +1 -1
  142. package/dist/components/document-scanner/index.js +1 -1
  143. package/dist/components/editable-description/index.js +1 -1
  144. package/dist/components/entity-summary/index.js +1 -1
  145. package/dist/components/error-summary/index.js +1 -1
  146. package/dist/components/face-scheme/index.js +1 -1
  147. package/dist/components/file-manager/index.js +1 -1
  148. package/dist/components/freemium-paywall/index.js +1 -1
  149. package/dist/components/gestational-age-calculator/index.js +1 -1
  150. package/dist/components/header-settings/index.js +1 -1
  151. package/dist/components/heatmap/index.js +1 -1
  152. package/dist/components/index.d.ts +4 -2
  153. package/dist/components/map-view/index.d.ts +1 -1
  154. package/dist/components/map-view/index.js +1 -1
  155. package/dist/components/map-view/map-view.d.ts +51 -0
  156. package/dist/components/message-card/index.js +1 -1
  157. package/dist/components/message-tray/index.js +1 -1
  158. package/dist/components/multi-select/index.js +1 -1
  159. package/dist/components/muscle-scheme/index.js +1 -1
  160. package/dist/components/note-timeline/index.js +1 -1
  161. package/dist/components/notes-panel/index.js +1 -1
  162. package/dist/components/notice-group/index.d.ts +3 -0
  163. package/dist/components/notice-group/index.js +6 -0
  164. package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
  165. package/dist/components/notice-group/notice-group.d.ts +43 -0
  166. package/dist/components/notification-tray/index.js +1 -1
  167. package/dist/components/operator-hero/index.js +1 -1
  168. package/dist/components/optical-prescription/index.js +1 -1
  169. package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
  170. package/dist/components/panel-header/index.js +1 -1
  171. package/dist/components/panel-header/panel-header.d.ts +10 -0
  172. package/dist/components/panel-subview/index.js +1 -1
  173. package/dist/components/patient-details/index.js +1 -1
  174. package/dist/components/patient-search/index.js +1 -1
  175. package/dist/components/patient-summary-card/index.js +1 -1
  176. package/dist/components/patient-table/index.js +1 -1
  177. package/dist/components/payment-form/index.js +1 -1
  178. package/dist/components/pdf-viewer/index.js +1 -1
  179. package/dist/components/periodontal-risk-chart/index.js +1 -1
  180. package/dist/components/practice-profile-hero/index.js +1 -1
  181. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
  182. package/dist/components/practice-results/index.js +1 -1
  183. package/dist/components/practice-results/practice-results.d.ts +10 -2
  184. package/dist/components/pregnancy-dating/index.js +1 -1
  185. package/dist/components/product-hub-tray/index.js +1 -1
  186. package/dist/components/progress-notice/index.d.ts +3 -0
  187. package/dist/components/progress-notice/index.js +6 -0
  188. package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
  189. package/dist/components/progress-notice/progress-notice.d.ts +81 -0
  190. package/dist/components/province-select/index.js +1 -1
  191. package/dist/components/radiograph-panel/index.js +1 -1
  192. package/dist/components/rating/index.js +1 -1
  193. package/dist/components/reviews-panel/index.js +1 -1
  194. package/dist/components/rich-text-editor/index.js +2 -2
  195. package/dist/components/select/index.js +1 -1
  196. package/dist/components/select/select.d.ts +6 -0
  197. package/dist/components/sign-document/index.js +1 -1
  198. package/dist/components/skeleton/index.d.ts +1 -1
  199. package/dist/components/skeleton/index.js +1 -1
  200. package/dist/components/skeleton/skeleton.d.ts +41 -1
  201. package/dist/components/skeleton-scheme/index.js +1 -1
  202. package/dist/components/slot-grid/index.js +1 -1
  203. package/dist/components/tabs/index.js +1 -1
  204. package/dist/components/task-card/index.js +1 -1
  205. package/dist/components/task-editor/index.js +1 -1
  206. package/dist/components/task-tray/index.js +1 -1
  207. package/dist/components/tasks-panel/index.js +1 -1
  208. package/dist/components/theme-toggle/index.js +1 -1
  209. package/dist/components/timeline/index.js +1 -1
  210. package/dist/components/tool-rail/index.js +1 -1
  211. package/dist/components/transcript-panel/index.js +1 -1
  212. package/dist/components/treatment-receipt/index.js +1 -1
  213. package/dist/components/unit-converter/index.js +1 -1
  214. package/dist/components/voice-control-panel/index.js +1 -1
  215. package/dist/components/warning-stack/index.js +1 -1
  216. package/dist/components/workflow/index.js +1 -1
  217. package/dist/hooks/index.d.ts +1 -0
  218. package/dist/hooks/index.js +81 -76
  219. package/dist/hooks/use-dismissed.d.ts +58 -0
  220. package/dist/i18n/locales/ar.d.ts +22 -0
  221. package/dist/i18n/locales/ar.js +22 -0
  222. package/dist/i18n/locales/de.d.ts +22 -0
  223. package/dist/i18n/locales/de.js +22 -0
  224. package/dist/i18n/locales/el.d.ts +22 -0
  225. package/dist/i18n/locales/el.js +22 -0
  226. package/dist/i18n/locales/en.d.ts +22 -0
  227. package/dist/i18n/locales/en.js +22 -0
  228. package/dist/i18n/locales/es.d.ts +22 -0
  229. package/dist/i18n/locales/es.js +22 -0
  230. package/dist/i18n/locales/fr.d.ts +22 -0
  231. package/dist/i18n/locales/fr.js +22 -0
  232. package/dist/i18n/locales/hi.d.ts +22 -0
  233. package/dist/i18n/locales/hi.js +22 -0
  234. package/dist/i18n/locales/it.d.ts +22 -0
  235. package/dist/i18n/locales/it.js +22 -0
  236. package/dist/i18n/locales/ja.d.ts +22 -0
  237. package/dist/i18n/locales/ja.js +22 -0
  238. package/dist/i18n/locales/nl.d.ts +22 -0
  239. package/dist/i18n/locales/nl.js +22 -0
  240. package/dist/i18n/locales/pl.d.ts +22 -0
  241. package/dist/i18n/locales/pl.js +22 -0
  242. package/dist/i18n/locales/pt.d.ts +22 -0
  243. package/dist/i18n/locales/pt.js +22 -0
  244. package/dist/i18n/locales/ro.d.ts +22 -0
  245. package/dist/i18n/locales/ro.js +22 -0
  246. package/dist/i18n/locales/ru.d.ts +22 -0
  247. package/dist/i18n/locales/ru.js +22 -0
  248. package/dist/i18n/locales/sq.d.ts +22 -0
  249. package/dist/i18n/locales/sq.js +22 -0
  250. package/dist/i18n/locales/sv.d.ts +22 -0
  251. package/dist/i18n/locales/sv.js +22 -0
  252. package/dist/i18n/locales/tr.d.ts +22 -0
  253. package/dist/i18n/locales/tr.js +22 -0
  254. package/dist/i18n/locales/zh.d.ts +22 -0
  255. package/dist/i18n/locales/zh.js +22 -0
  256. package/dist/index.js +1194 -1183
  257. package/dist/locales/ar.json +22 -0
  258. package/dist/locales/de.json +22 -0
  259. package/dist/locales/el.json +22 -0
  260. package/dist/locales/en.json +22 -0
  261. package/dist/locales/es.json +22 -0
  262. package/dist/locales/fr.json +22 -0
  263. package/dist/locales/hi.json +22 -0
  264. package/dist/locales/it.json +22 -0
  265. package/dist/locales/ja.json +22 -0
  266. package/dist/locales/nl.json +22 -0
  267. package/dist/locales/pl.json +22 -0
  268. package/dist/locales/pt.json +22 -0
  269. package/dist/locales/ro.json +22 -0
  270. package/dist/locales/ru.json +22 -0
  271. package/dist/locales/sq.json +22 -0
  272. package/dist/locales/sv.json +22 -0
  273. package/dist/locales/tr.json +22 -0
  274. package/dist/locales/zh.json +22 -0
  275. package/dist/patterns/alia-assistant/index.js +1 -1
  276. package/dist/patterns/anamnesis/index.js +1 -1
  277. package/dist/patterns/calendar/index.js +1 -1
  278. package/dist/patterns/forgot-password-form/index.js +1 -1
  279. package/dist/patterns/help-me-write-templates/index.js +2 -2
  280. package/dist/patterns/login-form/index.js +1 -1
  281. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  282. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  283. package/dist/patterns/registration-form/index.js +1 -1
  284. package/dist/patterns/signature-request/index.js +1 -1
  285. package/dist/tokens.css +1 -1
  286. package/package.json +9 -1
  287. package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
  288. package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
  289. package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
  290. package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
  291. package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
@@ -15,7 +15,7 @@ import br from "@fullcalendar/interaction";
15
15
  import { u as Tr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
16
16
  import { u as xr } from "./registry-DvAUVLHh.js";
17
17
  import { w as wr, C as Dr } from "./calendar-event-card-DXAYWH6k.js";
18
- import { A as Cr } from "./avatar-WZY3eGE7.js";
18
+ import { A as Cr } from "./avatar-BPiPL7ND.js";
19
19
  import { B as kr } from "./button-D-MQxsA_.js";
20
20
  import { a as je, R as Ar } from "./resource-chip-DB5jDwUO.js";
21
21
  import { T as _e } from "./tooltip-uEBdD1-5.js";
@@ -1469,4 +1469,4 @@ export {
1469
1469
  Er as c,
1470
1470
  be as r
1471
1471
  };
1472
- //# sourceMappingURL=calendar-BhN-jisv.js.map
1472
+ //# sourceMappingURL=calendar-BvOM8rG3.js.map
@@ -2,40 +2,40 @@ import { jsxs as m, jsx as n, Fragment as Ke } from "react/jsx-runtime";
2
2
  import { createElement as ao, useContext as ii, createContext as oi, useState as T, useCallback as Z, useMemo as te, useRef as F, useEffect as oe, useId as Hn, forwardRef as Bs, Fragment as so, useLayoutEffect as Ar } from "react";
3
3
  import { useTranslation as Ue } from "react-i18next";
4
4
  import { u as ro } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
5
- import { A as io } from "./appointment-timeline-CCqjORFb.js";
5
+ import { A as io } from "./appointment-timeline-VFP6HoXT.js";
6
6
  import { a as ci } from "./workflow-status-Dc_CyEz5.js";
7
- import { A as cs, g as oo } from "./avatar-WZY3eGE7.js";
7
+ import { A as cs, g as oo } from "./avatar-BPiPL7ND.js";
8
8
  import { B as sn } from "./badge-BUk4RjTS.js";
9
- import { S as $t, C as di } from "./skeleton-B1KTdJ4N.js";
10
- import { G as qa, h as Er, c as co, A as lo, C as li } from "./color-picker-BsggJovx.js";
9
+ import { S as $t, C as di } from "./skeleton-tTWJpvAq.js";
10
+ import { G as qa, h as Er, c as co, A as lo, C as li } from "./color-picker-AcaWuKah.js";
11
11
  import { s as uo, S as po } from "./signature-status-chip-pIoQjvH8.js";
12
12
  import { b as ho } from "./appointment-workflow-status-DMjuIK90.js";
13
- import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-CVSPoP5j.js";
13
+ import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-CUGfE0hV.js";
14
14
  import { A as Rr, a as mi } from "./entity-card-fpm-KUKc.js";
15
15
  import { S as xs } from "./stethoscope-sZXGC43m.js";
16
- import { T as Do, P as wo, E as gi, S as To } from "./task-editor-Bb5MMcid.js";
17
- import { C as Lo, a as Ao, u as vi, d as Eo } from "./control-room-rail-DUerqHeo.js";
16
+ import { T as Do, P as wo, E as gi, S as To } from "./task-editor-BomyxGoZ.js";
17
+ import { C as Lo, a as Ao, u as vi, d as Eo } from "./control-room-rail-BB6rCDWI.js";
18
18
  import { S as ir } from "./scroll-area-CY5SLYNw.js";
19
19
  import { d as vn, c as Mr, b as aa } from "./toast-6T519aLz.js";
20
20
  import { T as Ua, a as Oo } from "./tooltip-uEBdD1-5.js";
21
- import { A as ue } from "./alert-DjsJMGRE.js";
21
+ import { A as ue } from "./alert-9kEwDza3.js";
22
22
  import { B as ke } from "./button-D-MQxsA_.js";
23
23
  import { V as pa } from "./visually-hidden-BHxEUGyT.js";
24
24
  import { createPortal as Ro } from "react-dom";
25
25
  import { R as xn } from "./radio-BZQs6_36.js";
26
26
  import { R as Ca } from "./radio-group-ChIKyeSJ.js";
27
- import { N as Mo } from "./notes-panel-IdsmqRFC.js";
27
+ import { N as Mo } from "./notes-panel-BXN46XkF.js";
28
28
  import { E as or } from "./empty-state-pL1qum99.js";
29
- import { P as ds } from "./panel-header-BJkaUwnl.js";
30
- import { P as fi } from "./panel-subview-yP4qIbKS.js";
29
+ import { P as ds } from "./panel-header-CbtlTe85.js";
30
+ import { P as fi } from "./panel-subview-BPU7220K.js";
31
31
  import { F as Se } from "./form-field-Ani72sVY.js";
32
- import { C as cr } from "./combobox-U5yfO6o0.js";
32
+ import { C as cr } from "./combobox-vF9O-QoG.js";
33
33
  import { S as Wo } from "./state-backed-text-input-Cgh4ms3p.js";
34
34
  import { T as bi } from "./text-area-COMVJ1yE.js";
35
35
  import { N as Wr } from "./number-input-CVwI1ltI.js";
36
36
  import { T as Po } from "./time-picker-DVfyAR81.js";
37
37
  import { a as Ss } from "./whatsapp-button-DV9JFmtq.js";
38
- import { D as Bo } from "./data-table-COoCQ4n_.js";
38
+ import { D as Bo } from "./data-table-Cty4-Jht.js";
39
39
  import { C as _t } from "./checkbox-BjDv-r3o.js";
40
40
  import { T as ls } from "./tag-DOZGz0fT.js";
41
41
  import { D as K } from "./dropdown-menu-D1we7oAY.js";
@@ -49,7 +49,7 @@ import { C as _o, b as $o, a as zo } from "./collapsible-DVPM46bq.js";
49
49
  import { D as sa } from "./date-picker-KcoNNsM0.js";
50
50
  import { D as It } from "./dialog-D6fkpRc4.js";
51
51
  import { P as Tt } from "./popover-4ZVtH_At.js";
52
- import { S as an } from "./select-k4gBdS8N.js";
52
+ import { S as an } from "./select-4S-eYZUf.js";
53
53
  import { c as Ma } from "./index-D2ZczOXr.js";
54
54
  import { T as Fo } from "./transaction-chip-CohY6sTA.js";
55
55
  import { V as Ho } from "./video-BheNGvsu.js";
@@ -82,12 +82,12 @@ import { U as wi } from "./user-cog-BTn98Arm.js";
82
82
  import { S as Yo } from "./settings-d25ju_6L.js";
83
83
  import { R as js } from "./rotate-ccw-BBQnIVTr.js";
84
84
  import { H as Ra } from "./hourglass-BEAzW1wE.js";
85
- import { C as Xo } from "./calendar-BhN-jisv.js";
85
+ import { C as Xo } from "./calendar-BvOM8rG3.js";
86
86
  import { C as ps } from "./card-BA4Ig_kn.js";
87
87
  import { K as Jo } from "./kbd-Bx7eQv9f.js";
88
88
  import { R as Zo } from "./resource-chip-DB5jDwUO.js";
89
89
  import { S as Qo, a as ec, E as tc } from "./calendar-event-card-DXAYWH6k.js";
90
- import { A as nc } from "./appointment-peek-B5mcDcXt.js";
90
+ import { A as nc } from "./appointment-peek-D5XCfYKu.js";
91
91
  import { H as Qa } from "./hover-card-CTNhQXWS.js";
92
92
  import { S as Ti } from "./square-check-big-dj0o8yA3.js";
93
93
  import { P as $r } from "./printer-rkK0T1gi.js";
@@ -95,7 +95,7 @@ import { S as ac } from "./sliders-horizontal-D-F97cnE.js";
95
95
  import { C as sc } from "./chevron-down-DWE7GSq9.js";
96
96
  import { C as rc } from "./chevron-left-B8cOyH-V.js";
97
97
  import { C as Li } from "./chevron-right-I9AeSxH2.js";
98
- import { p as ic, c as Is } from "./privacy-mask-Ch7743uk.js";
98
+ import { p as ic, c as Is } from "./privacy-mask-CCz9zuIh.js";
99
99
  import { C as Ys } from "./calendar-days-BGWklvE-.js";
100
100
  import { P as oc } from "./phone-FceYcIFQ.js";
101
101
  import { E as cc } from "./ellipsis-dRo9ouSU.js";
@@ -10590,4 +10590,4 @@ export {
10590
10590
  Dh as r,
10591
10591
  zt as u
10592
10592
  };
10593
- //# sourceMappingURL=calendar-workspace-MRrzcxAy.js.map
10593
+ //# sourceMappingURL=calendar-workspace-CYK1M83j.js.map
@@ -3,7 +3,7 @@ import { forwardRef as T, useMemo as z, Fragment as l } from "react";
3
3
  import { c as h } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as B } from "react-i18next";
5
5
  import { B as F } from "./button-D-MQxsA_.js";
6
- import { A as I } from "./avatar-WZY3eGE7.js";
6
+ import { A as I } from "./avatar-BPiPL7ND.js";
7
7
  import { T as A } from "./timestamp-DPLDWdxA.js";
8
8
  import { s as M, C as S } from "./code-block-vwEv1jEa.js";
9
9
  import { s as V } from "./safe-image-src-DstKgCo7.js";
@@ -236,4 +236,4 @@ J.displayName = "ChatMessage";
236
236
  export {
237
237
  J as C
238
238
  };
239
- //# sourceMappingURL=chat-message-fRLZ95O5.js.map
239
+ //# sourceMappingURL=chat-message-Be-9vIIQ.js.map
@@ -2,7 +2,7 @@ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as T, useId as P, useState as k, useMemo as ee } from "react";
3
3
  import { c as z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as se } from "react-i18next";
5
- import { A as ae } from "./avatar-WZY3eGE7.js";
5
+ import { A as ae } from "./avatar-BPiPL7ND.js";
6
6
  import { B as b } from "./badge-BUk4RjTS.js";
7
7
  import { C as S } from "./card-BA4Ig_kn.js";
8
8
  import { T as B } from "./timestamp-DPLDWdxA.js";
@@ -337,4 +337,4 @@ export {
337
337
  ue as C,
338
338
  oe as c
339
339
  };
340
- //# sourceMappingURL=clinical-note-card-BnFTIs6x.js.map
340
+ //# sourceMappingURL=clinical-note-card-Caidqcwa.js.map
@@ -1,15 +1,16 @@
1
- import { jsx as l, jsxs as h, Fragment as ye } from "react/jsx-runtime";
2
- import { forwardRef as Pe, useId as Ne, useState as T, useMemo as E, useCallback as $e, useRef as G, useEffect as ee } from "react";
1
+ import { jsx as l, jsxs as m, Fragment as Ne } from "react/jsx-runtime";
2
+ import { forwardRef as Pe, useId as $e, useState as T, useMemo as E, useCallback as Ae, useRef as G, useEffect as ee } from "react";
3
3
  import * as F from "@radix-ui/react-popover";
4
- import { u as Ae, f as Me } from "./non-modal-tab-exit-j3CPOuE3.js";
4
+ import { u as Me, f as Se } from "./non-modal-tab-exit-j3CPOuE3.js";
5
5
  import { c as se } from "./index-D2ZczOXr.js";
6
- import { useTranslation as Se } from "react-i18next";
7
- import { u as Te, a as Ee } from "./form-field-context-DtiROUJV.js";
6
+ import { useTranslation as Te } from "react-i18next";
7
+ import { a as Ee } from "./format-number-DdzqwMs1.js";
8
+ import { u as Le, a as ze } from "./form-field-context-DtiROUJV.js";
8
9
  import { S as re } from "./slider-pZ95bEm7.js";
9
- import { u as Le } from "./registry-DvAUVLHh.js";
10
+ import { u as Re } from "./registry-DvAUVLHh.js";
10
11
  import { C as ne } from "./check-DrFSN__t.js";
11
- import { X as ze } from "./x-B5YnXwCz.js";
12
- const Re = {
12
+ import { X as Ie } from "./x-B5YnXwCz.js";
13
+ const Fe = {
13
14
  id: "color-picker",
14
15
  capabilities: ["set_value"],
15
16
  state: {
@@ -56,7 +57,7 @@ const Re = {
56
57
  }
57
58
  }
58
59
  };
59
- function Ie(e) {
60
+ function He(e) {
60
61
  let t = e.startsWith("#") ? e.slice(1) : e;
61
62
  (t.length === 3 || t.length === 4) && (t = t.split("").map((c) => c + c).join(""));
62
63
  const r = parseInt(t.slice(0, 2), 16) / 255, s = parseInt(t.slice(2, 4), 16) / 255, n = parseInt(t.slice(4, 6), 16) / 255, d = t.length === 8 ? parseInt(t.slice(6, 8), 16) / 255 : 1;
@@ -64,16 +65,16 @@ function Ie(e) {
64
65
  }
65
66
  function oe(e, t, r, s) {
66
67
  const n = Math.max(e, t, r), d = Math.min(e, t, r), c = (n + d) / 2;
67
- let m = 0, w = 0;
68
+ let h = 0, w = 0;
68
69
  if (n !== d) {
69
70
  const x = n - d;
70
- w = c > 0.5 ? x / (2 - n - d) : x / (n + d), n === e ? m = ((t - r) / x + (t < r ? 6 : 0)) / 6 : n === t ? m = ((r - e) / x + 2) / 6 : m = ((e - t) / x + 4) / 6;
71
+ w = c > 0.5 ? x / (2 - n - d) : x / (n + d), n === e ? h = ((t - r) / x + (t < r ? 6 : 0)) / 6 : n === t ? h = ((r - e) / x + 2) / 6 : h = ((e - t) / x + 4) / 6;
71
72
  }
72
73
  return {
73
74
  // Preserve byte identity through RGB -> HSL -> RGB. Palette colours
74
75
  // can be server identifiers, so even one changed channel is a different
75
76
  // selection. Round human-facing labels only, never this stored value.
76
- h: m * 360,
77
+ h: h * 360,
77
78
  s: w * 100,
78
79
  l: c * 100,
79
80
  a: s
@@ -83,7 +84,7 @@ function C(e) {
83
84
  const { r: t, g: r, b: s } = W(e), n = (c) => Math.round(c * 255).toString(16).padStart(2, "0"), d = `#${n(t)}${n(r)}${n(s)}`;
84
85
  return e.a < 1 ? `${d}${n(e.a)}` : d;
85
86
  }
86
- function Fe(e) {
87
+ function _e(e) {
87
88
  const { r: t, g: r, b: s } = W(e), n = Math.round(t * 255), d = Math.round(r * 255), c = Math.round(s * 255);
88
89
  return e.a < 1 ? `rgba(${n}, ${d}, ${c}, ${e.a})` : `rgba(${n}, ${d}, ${c}, 1)`;
89
90
  }
@@ -109,7 +110,7 @@ function j(e, t) {
109
110
  case "hsl":
110
111
  return e.a < 1 ? `hsla(${Math.round(e.h)}, ${Math.round(e.s)}%, ${Math.round(e.l)}%, ${e.a})` : `hsl(${Math.round(e.h)}, ${Math.round(e.s)}%, ${Math.round(e.l)}%)`;
111
112
  case "rgba":
112
- return Fe(e);
113
+ return _e(e);
113
114
  }
114
115
  }
115
116
  function y(e) {
@@ -117,7 +118,7 @@ function y(e) {
117
118
  if (!t) return null;
118
119
  if (t.startsWith("#")) {
119
120
  const n = t.slice(1);
120
- return !/^[0-9a-fA-F]{3,8}$/.test(n) || ![3, 4, 6, 8].includes(n.length) ? null : Ie(t);
121
+ return !/^[0-9a-fA-F]{3,8}$/.test(n) || ![3, 4, 6, 8].includes(n.length) ? null : He(t);
121
122
  }
122
123
  const r = t.match(
123
124
  /^hsla?\(\s*([\d.]+)\s*[,/]\s*([\d.]+)%?\s*[,/]\s*([\d.]+)%?\s*(?:[,/]\s*([\d.]+))?\s*\)$/
@@ -133,8 +134,8 @@ function y(e) {
133
134
  /^rgba?\(\s*([\d.]+)\s*[,/]\s*([\d.]+)\s*[,/]\s*([\d.]+)\s*(?:[,/]\s*([\d.]+))?\s*\)$/
134
135
  );
135
136
  if (s) {
136
- const n = parseFloat(s[1]) / 255, d = parseFloat(s[2]) / 255, c = parseFloat(s[3]) / 255, m = s[4] !== void 0 ? parseFloat(s[4]) : 1;
137
- return oe(n, d, c, m);
137
+ const n = parseFloat(s[1]) / 255, d = parseFloat(s[2]) / 255, c = parseFloat(s[3]) / 255, h = s[4] !== void 0 ? parseFloat(s[4]) : 1;
138
+ return oe(n, d, c, h);
138
139
  }
139
140
  return null;
140
141
  }
@@ -142,17 +143,17 @@ function ae(e) {
142
143
  const { r: t, g: r, b: s } = W(e), n = (d) => d <= 0.03928 ? d / 12.92 : Math.pow((d + 0.055) / 1.055, 2.4);
143
144
  return 0.2126 * n(t) + 0.7152 * n(r) + 0.0722 * n(s);
144
145
  }
145
- function He(e, t) {
146
+ function Oe(e, t) {
146
147
  const r = ae(e), s = ae(t), n = Math.max(r, s), d = Math.min(r, s);
147
148
  return Math.round((n + 0.05) / (d + 0.05) * 100) / 100;
148
149
  }
149
- function _e(e) {
150
+ function Be(e) {
150
151
  return e >= 4.5;
151
152
  }
152
- function Oe(e) {
153
+ function Ve(e) {
153
154
  return e >= 7;
154
155
  }
155
- const Be = [
156
+ const Ge = [
156
157
  { name: "Pink 500", hex: "#e91e63", textColor: "#ffffff" },
157
158
  { name: "Black", hex: "#000000", textColor: "#ffffff" },
158
159
  { name: "Blue 500", hex: "#2196f3", textColor: "#ffffff" },
@@ -183,7 +184,7 @@ const Be = [
183
184
  { name: "Orange 900", hex: "#e65100", textColor: "#000000" },
184
185
  { name: "White", hex: "#ffffff", textColor: "#000000" },
185
186
  { name: "Yellow 500", hex: "#ffeb3b", textColor: "#000000" }
186
- ], ia = [
187
+ ], ca = [
187
188
  { name: "Blue 300", hex: "#70738c" },
188
189
  { name: "Blue 500", hex: "#292e53" },
189
190
  { name: "Blue 700", hex: "#1d213b" },
@@ -202,7 +203,7 @@ const Be = [
202
203
  { name: "Grey 300", hex: "#f9f6f3" },
203
204
  { name: "Grey 500", hex: "#f6f1ed" },
204
205
  { name: "Grey 700", hex: "#afaba8" }
205
- ], da = [
206
+ ], fa = [
206
207
  { name: "Tomato", hex: "#d50000" },
207
208
  { name: "Flamingo", hex: "#e67c73" },
208
209
  { name: "Tangerine", hex: "#f4511e" },
@@ -214,7 +215,7 @@ const Be = [
214
215
  { name: "Lavender", hex: "#7986cb" },
215
216
  { name: "Grape", hex: "#8e24aa" },
216
217
  { name: "Graphite", hex: "#616161" }
217
- ], u = 6, Ve = se(
218
+ ], u = 6, De = se(
218
219
  [
219
220
  "ds:inline-flex ds:items-center ds:w-full",
220
221
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
@@ -233,7 +234,7 @@ const Be = [
233
234
  },
234
235
  defaultVariants: { size: "md" }
235
236
  }
236
- ), Ge = se(
237
+ ), je = se(
237
238
  [
238
239
  "ds:relative ds:rounded-[var(--radius-sm)] ds:border-2 ds:cursor-pointer",
239
240
  "ds:transition-[transform,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
@@ -268,20 +269,20 @@ const Be = [
268
269
  },
269
270
  defaultVariants: { selected: !1, size: "md" }
270
271
  }
271
- ), De = [
272
+ ), Ke = [
272
273
  "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
273
274
  "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
274
275
  "ds:p-[var(--spacing-md)]"
275
- ].join(" "), je = [
276
+ ].join(" "), We = [
276
277
  "ds:bg-[image:repeating-conic-gradient(var(--color-grey-700)_0%_25%,transparent_0%_50%)]",
277
278
  "ds:bg-[size:8px_8px]"
278
- ].join(" "), Ke = [
279
+ ].join(" "), Ue = [
279
280
  "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
280
281
  "ds:p-[var(--spacing-sm)]"
281
- ].join(" "), We = [
282
+ ].join(" "), Xe = [
282
283
  "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
283
284
  "ds:p-[var(--spacing-xs)]"
284
- ].join(" "), Ue = [
285
+ ].join(" "), Ye = [
285
286
  "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
286
287
  "ds:border ds:border-[color:var(--border)] ds:bg-[var(--background)] ds:shadow-[var(--shadow-lg)]",
287
288
  "ds:w-72",
@@ -289,14 +290,14 @@ const Be = [
289
290
  "ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0 ds:data-[state=closed]:zoom-out-95",
290
291
  "ds:data-[side=bottom]:slide-in-from-top-2 ds:data-[side=top]:slide-in-from-bottom-2",
291
292
  "ds:data-[side=left]:slide-in-from-right-2 ds:data-[side=right]:slide-in-from-left-2"
292
- ].join(" "), Xe = [
293
+ ].join(" "), qe = [
293
294
  "ds:w-full ds:rounded-[var(--radius-sm)] ds:border ds:bg-[var(--background)] ds:text-[var(--foreground)]",
294
295
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:text-[length:var(--font-size-sm)]",
295
296
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
296
297
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
297
298
  "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
298
299
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
299
- ].join(" "), ie = "ds:[&>span:first-child]:bg-transparent ds:[&>span:first-child>span]:bg-transparent", Ye = Pe(
300
+ ].join(" "), ie = "ds:[&>span:first-child]:bg-transparent ds:[&>span:first-child>span]:bg-transparent", Je = Pe(
300
301
  (e, t) => {
301
302
  const {
302
303
  value: r,
@@ -304,14 +305,14 @@ const Be = [
304
305
  onChange: n,
305
306
  format: d = "hex",
306
307
  allowOpacity: c = !1,
307
- palette: m,
308
+ palette: h,
308
309
  against: w,
309
310
  size: x = "md",
310
311
  disabled: de = !1,
311
312
  variant: le = "inline",
312
313
  compact: S = !0,
313
314
  className: U
314
- } = e, { t: g } = Se("ui"), $ = Te(), ce = Ne(), P = Ee($) || ce, b = $.disabled || de, L = r !== void 0, [X, fe] = T(() => {
315
+ } = e, { t: g, i18n: ce } = Te("ui"), $ = Le(), fe = $e(), N = ze($) || fe, b = $.disabled || de, L = r !== void 0, [X, ue] = T(() => {
315
316
  const a = r ?? s;
316
317
  if (a) {
317
318
  const i = y(a);
@@ -324,40 +325,40 @@ const Be = [
324
325
  if (a) return a;
325
326
  }
326
327
  return X;
327
- }, [L, r, X]), v = $e(
328
+ }, [L, r, X]), v = Ae(
328
329
  (a) => {
329
330
  const i = c ? a : { ...a, a: 1 };
330
- L || fe(i), n == null || n(j(i, d));
331
+ L || ue(i), n == null || n(j(i, d));
331
332
  },
332
333
  [c, d, L, n]
333
- ), [Y, H] = T(() => C(o)), [ue, z] = T(!1), N = G(void 0), _ = G(o);
334
+ ), [Y, H] = T(() => C(o)), [me, z] = T(!1), P = G(void 0), _ = G(o);
334
335
  _.current = o, ee(() => {
335
- H(C(o)), z(!1), N.current !== void 0 && (clearTimeout(N.current), N.current = void 0);
336
+ H(C(o)), z(!1), P.current !== void 0 && (clearTimeout(P.current), P.current = void 0);
336
337
  }, [o]), ee(() => () => {
337
- N.current !== void 0 && clearTimeout(N.current);
338
+ P.current !== void 0 && clearTimeout(P.current);
338
339
  }, []);
339
340
  const he = () => {
340
341
  const a = y(Y);
341
- a ? (z(!1), v(a)) : (z(!0), N.current = setTimeout(() => {
342
- N.current = void 0, z(!1), H(C(_.current));
342
+ a ? (z(!1), v(a)) : (z(!0), P.current = setTimeout(() => {
343
+ P.current = void 0, z(!1), H(C(_.current));
343
344
  }, 800));
344
- }, A = E(() => m ? m.map(
345
+ }, A = E(() => h ? h.map(
345
346
  (a) => typeof a == "string" ? { name: a.toUpperCase(), hex: a } : a
346
- ) : Be, [m]), me = C(o), O = E(
347
+ ) : Ge, [h]), ge = C(o), O = E(
347
348
  () => A.map((a) => {
348
349
  const i = y(a.hex);
349
350
  return i ? C(i).toLowerCase() : null;
350
351
  }),
351
352
  [A]
352
353
  ).findIndex(
353
- (a) => a !== null && a === me.toLowerCase()
354
+ (a) => a !== null && a === ge.toLowerCase()
354
355
  ), R = G(null), [p, q] = T(
355
356
  O >= 0 ? O : 0
356
- ), ge = (a) => {
357
+ ), pe = (a) => {
357
358
  var f;
358
359
  const i = (f = R.current) == null ? void 0 : f.querySelectorAll('[role="gridcell"]');
359
360
  i != null && i[a] && (i[a].focus(), q(a));
360
- }, pe = (a) => {
361
+ }, xe = (a) => {
361
362
  if (b) return;
362
363
  const i = A.length;
363
364
  let f = p;
@@ -402,8 +403,8 @@ const Be = [
402
403
  default:
403
404
  return;
404
405
  }
405
- a.preventDefault(), ge(f);
406
- }, [xe, J] = T(!1), be = E(
406
+ a.preventDefault(), pe(f);
407
+ }, [be, J] = T(!1), ve = E(
407
408
  () => ({
408
409
  getValue: () => C(_.current),
409
410
  setValue: (a) => {
@@ -413,14 +414,14 @@ const Be = [
413
414
  }),
414
415
  [v]
415
416
  );
416
- Le(Re, be, P);
417
+ Re(Fe, ve, N);
417
418
  const I = E(() => {
418
419
  if (!w) return null;
419
420
  const a = y(w);
420
421
  if (!a) return null;
421
- const i = He(o, a);
422
- return { ratio: i, aa: _e(i), aaa: Oe(i) };
423
- }, [w, o]), ve = (
422
+ const i = Oe(o, a);
423
+ return { ratio: i, aa: Be(i), aaa: Ve(i) };
424
+ }, [w, o]), Ce = (
424
425
  // eslint-disable-next-line jsx-a11y/interactive-supports-focus -- inner gridcells are individually focusable via roving tabindex
425
426
  /* @__PURE__ */ l(
426
427
  "div",
@@ -428,7 +429,7 @@ const Be = [
428
429
  ref: R,
429
430
  role: "grid",
430
431
  "aria-label": g("inputs.colorPicker.paletteLabel", "Colour palette"),
431
- onKeyDown: pe,
432
+ onKeyDown: xe,
432
433
  className: "ds:grid ds:grid-cols-6 ds:gap-[var(--spacing-xs)]",
433
434
  children: A.map((a, i) => {
434
435
  const f = Math.floor(i / u) * u;
@@ -451,7 +452,7 @@ const Be = [
451
452
  const Z = y(k.hex);
452
453
  Z && v(Z), q(B);
453
454
  },
454
- className: Ge({ selected: V, size: x }),
455
+ className: je({ selected: V, size: x }),
455
456
  style: { "--swatch-bg": k.hex },
456
457
  children: V ? /* @__PURE__ */ l(
457
458
  ne,
@@ -468,12 +469,12 @@ const Be = [
468
469
  })
469
470
  }
470
471
  )
471
- ), Ce = S ? null : /* @__PURE__ */ h(ye, { children: [
472
- /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
472
+ ), we = S ? null : /* @__PURE__ */ m(Ne, { children: [
473
+ /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
473
474
  /* @__PURE__ */ l(
474
475
  "label",
475
476
  {
476
- htmlFor: `${P}-hex`,
477
+ htmlFor: `${N}-hex`,
477
478
  className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]",
478
479
  children: g("inputs.colorPicker.hex", "Hex")
479
480
  }
@@ -481,17 +482,17 @@ const Be = [
481
482
  /* @__PURE__ */ l("bdi", { dir: "ltr", children: /* @__PURE__ */ l(
482
483
  "input",
483
484
  {
484
- id: `${P}-hex`,
485
+ id: `${N}-hex`,
485
486
  type: "text",
486
487
  value: Y,
487
488
  disabled: b,
488
489
  onChange: (a) => H(a.target.value),
489
490
  onBlur: he,
490
- className: `${Xe} ${ue ? "ds:border-[var(--destructive)]" : "ds:border-[color:var(--control-border)]"}`
491
+ className: `${qe} ${me ? "ds:border-[var(--destructive)]" : "ds:border-[color:var(--control-border)]"}`
491
492
  }
492
493
  ) })
493
494
  ] }),
494
- /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
495
+ /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
495
496
  /* @__PURE__ */ l(
496
497
  K,
497
498
  {
@@ -531,13 +532,13 @@ const Be = [
531
532
  disabled: b
532
533
  }
533
534
  ),
534
- c ? /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
535
+ c ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
535
536
  /* @__PURE__ */ l("label", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: g("inputs.colorPicker.opacity", "Opacity") }),
536
- /* @__PURE__ */ h("div", { className: "ds:relative", children: [
537
+ /* @__PURE__ */ m("div", { className: "ds:relative", children: [
537
538
  /* @__PURE__ */ l(
538
539
  "div",
539
540
  {
540
- className: `ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)] ds:pointer-events-none ${je}`,
541
+ className: `ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)] ds:pointer-events-none ${We}`,
541
542
  "aria-hidden": "true"
542
543
  }
543
544
  ),
@@ -568,7 +569,7 @@ const Be = [
568
569
  ] })
569
570
  ] }) : null
570
571
  ] }),
571
- I ? /* @__PURE__ */ h(
572
+ I ? /* @__PURE__ */ m(
572
573
  "div",
573
574
  {
574
575
  className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:text-[length:var(--font-size-sm)]",
@@ -576,14 +577,17 @@ const Be = [
576
577
  "aria-live": "polite",
577
578
  children: [
578
579
  /* @__PURE__ */ l("span", { className: "ds:tabular-nums", children: g("inputs.colorPicker.contrastRatio", {
579
- ratio: I.ratio.toFixed(1)
580
+ ratio: Ee(I.ratio, ce.language, {
581
+ minimumFractionDigits: 1,
582
+ maximumFractionDigits: 1
583
+ })
580
584
  }) }),
581
585
  /* @__PURE__ */ l(te, { level: "AA", passes: I.aa, t: g }),
582
586
  /* @__PURE__ */ l(te, { level: "AAA", passes: I.aaa, t: g })
583
587
  ]
584
588
  }
585
589
  ) : null,
586
- /* @__PURE__ */ h("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
590
+ /* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
587
591
  /* @__PURE__ */ l(
588
592
  "div",
589
593
  {
@@ -594,46 +598,46 @@ const Be = [
594
598
  ),
595
599
  /* @__PURE__ */ l("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:tabular-nums", children: j(o, d) })
596
600
  ] })
597
- ] }), Q = /* @__PURE__ */ h(
601
+ ] }), Q = /* @__PURE__ */ m(
598
602
  "div",
599
603
  {
600
- className: S ? x === "sm" ? We : Ke : De,
604
+ className: S ? x === "sm" ? Xe : Ue : Ke,
601
605
  children: [
602
- ve,
603
- Ce
606
+ Ce,
607
+ we
604
608
  ]
605
609
  }
606
- ), we = Ae(!0, {
607
- getAnchor: Me,
610
+ ), ke = Me(!0, {
611
+ getAnchor: Se,
608
612
  onReturnToTrigger: () => J(!1)
609
613
  });
610
614
  return le === "inline" ? /* @__PURE__ */ l(
611
615
  "div",
612
616
  {
613
617
  ref: t,
614
- id: P,
618
+ id: N,
615
619
  className: U,
616
620
  "aria-describedby": $.describedBy || void 0,
617
621
  "aria-invalid": $.invalid || void 0,
618
622
  "aria-disabled": b || void 0,
619
623
  "data-component": "color-picker",
620
- "data-component-id": P,
624
+ "data-component-id": N,
621
625
  "data-testid": "color-picker",
622
626
  children: Q
623
627
  }
624
- ) : /* @__PURE__ */ h(F.Root, { open: xe, onOpenChange: J, children: [
625
- /* @__PURE__ */ l(F.Trigger, { asChild: !0, disabled: b, children: /* @__PURE__ */ h(
628
+ ) : /* @__PURE__ */ m(F.Root, { open: be, onOpenChange: J, children: [
629
+ /* @__PURE__ */ l(F.Trigger, { asChild: !0, disabled: b, children: /* @__PURE__ */ m(
626
630
  "button",
627
631
  {
628
632
  ref: t,
629
633
  type: "button",
630
- id: P,
634
+ id: N,
631
635
  "aria-describedby": $.describedBy || void 0,
632
636
  "aria-invalid": $.invalid || void 0,
633
637
  "aria-label": S ? g("inputs.colorPicker.triggerLabel", "Choose colour") : void 0,
634
- className: Ve({ size: x, className: U }),
638
+ className: De({ size: x, className: U }),
635
639
  "data-component": "color-picker",
636
- "data-component-id": P,
640
+ "data-component-id": N,
637
641
  "data-testid": "color-picker-trigger",
638
642
  children: [
639
643
  /* @__PURE__ */ l(
@@ -653,21 +657,21 @@ const Be = [
653
657
  {
654
658
  sideOffset: 4,
655
659
  align: "start",
656
- className: Ue,
657
- onKeyDown: we,
660
+ className: Ye,
661
+ onKeyDown: ke,
658
662
  children: Q
659
663
  }
660
664
  ) })
661
665
  ] });
662
666
  }
663
667
  );
664
- Ye.displayName = "ColorPicker";
668
+ Je.displayName = "ColorPicker";
665
669
  function te({
666
670
  level: e,
667
671
  passes: t,
668
672
  t: r
669
673
  }) {
670
- return /* @__PURE__ */ h("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
674
+ return /* @__PURE__ */ m("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
671
675
  /* @__PURE__ */ l(
672
676
  "abbr",
673
677
  {
@@ -683,7 +687,7 @@ function te({
683
687
  className: "ds:size-4 ds:text-[var(--success)]"
684
688
  }
685
689
  ) : /* @__PURE__ */ l(
686
- ze,
690
+ Ie,
687
691
  {
688
692
  "aria-hidden": "true",
689
693
  className: "ds:size-4 ds:text-[var(--destructive)]"
@@ -700,11 +704,11 @@ function K({
700
704
  value: n,
701
705
  onChange: d,
702
706
  formatValue: c,
703
- disabled: m
707
+ disabled: h
704
708
  }) {
705
- return /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
709
+ return /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
706
710
  /* @__PURE__ */ l("label", { className: "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)]", children: e }),
707
- /* @__PURE__ */ h("div", { className: "ds:relative", children: [
711
+ /* @__PURE__ */ m("div", { className: "ds:relative", children: [
708
712
  /* @__PURE__ */ l(
709
713
  "div",
710
714
  {
@@ -723,7 +727,7 @@ function K({
723
727
  onValueChange: ([w]) => d(w),
724
728
  "aria-label": e,
725
729
  formatValue: c,
726
- disabled: m,
730
+ disabled: h,
727
731
  className: ie
728
732
  }
729
733
  )
@@ -731,11 +735,11 @@ function K({
731
735
  ] });
732
736
  }
733
737
  export {
734
- Be as A,
735
- ia as B,
736
- Ye as C,
737
- da as G,
738
- He as c,
739
- Ie as h
738
+ Ge as A,
739
+ ca as B,
740
+ Je as C,
741
+ fa as G,
742
+ Oe as c,
743
+ He as h
740
744
  };
741
- //# sourceMappingURL=color-picker-BsggJovx.js.map
745
+ //# sourceMappingURL=color-picker-AcaWuKah.js.map