@alfadocs/ui-kit-debug 1.56.0 → 1.57.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 (357) hide show
  1. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  2. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
  3. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  4. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
  5. package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
  6. package/dist/_chunks/alia-sidebar-BBKBJCv6.js.map +1 -0
  7. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js → anamnesis-summary-rows-CCQ62mMN.js} +4 -4
  8. package/dist/_chunks/{anamnesis-summary-rows-CQ-XGr0T.js.map → anamnesis-summary-rows-CCQ62mMN.js.map} +1 -1
  9. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  10. package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
  11. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  12. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
  13. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js → balance-badge-cell-CII3SDmR.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-DmDcXw0c.js.map → balance-badge-cell-CII3SDmR.js.map} +1 -1
  15. package/dist/_chunks/{booking-WyNGKPE2.js → booking-81WnKDsH.js} +3 -3
  16. package/dist/_chunks/{booking-WyNGKPE2.js.map → booking-81WnKDsH.js.map} +1 -1
  17. package/dist/_chunks/{calculator-dialog-pCPWta7h.js → calculator-dialog-CzQv03p0.js} +2 -2
  18. package/dist/_chunks/{calculator-dialog-pCPWta7h.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
  19. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js → calendar-workspace-D5-k_9zE.js} +13 -13
  20. package/dist/_chunks/{calendar-workspace-Du2ryaI-.js.map → calendar-workspace-D5-k_9zE.js.map} +1 -1
  21. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  22. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
  23. package/dist/_chunks/{care-plan-header-DUX_SVvF.js → care-plan-header-BMwZIgHJ.js} +2 -2
  24. package/dist/_chunks/{care-plan-header-DUX_SVvF.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
  25. package/dist/_chunks/{chart-HsF1KHbx.js → chart-DQ5GxqgT.js} +347 -350
  26. package/dist/_chunks/chart-DQ5GxqgT.js.map +1 -0
  27. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  28. package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
  29. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  30. package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
  31. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  32. package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
  33. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js → contact-profile-card-CMyBYgRR.js} +2 -2
  34. package/dist/_chunks/{contact-profile-card-Ci8lBQ6a.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
  35. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  36. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
  37. package/dist/_chunks/{data-table-D8fuhqO1.js → data-table-fAMTeAjM.js} +2 -2
  38. package/dist/_chunks/{data-table-D8fuhqO1.js.map → data-table-fAMTeAjM.js.map} +1 -1
  39. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  40. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
  41. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  42. package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
  43. package/dist/_chunks/{date-range-picker-CtUOI38x.js → date-range-picker-CFk-5O3R.js} +176 -171
  44. package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
  45. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  46. package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
  47. package/dist/_chunks/{dialog-CUzbnKLw.js → dialog-Dn-iQ0Jp.js} +2 -2
  48. package/dist/_chunks/{dialog-CUzbnKLw.js.map → dialog-Dn-iQ0Jp.js.map} +1 -1
  49. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  50. package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
  51. package/dist/_chunks/{due-date-calculator-CSjklbyw.js → due-date-calculator-D_qFUiHp.js} +2 -2
  52. package/dist/_chunks/{due-date-calculator-CSjklbyw.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
  53. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  54. package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
  55. package/dist/_chunks/{file-manager-Cc_uO8r2.js → file-manager-CFsL1KVt.js} +3 -3
  56. package/dist/_chunks/{file-manager-Cc_uO8r2.js.map → file-manager-CFsL1KVt.js.map} +1 -1
  57. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js → gestational-age-calculator-CZi43xKG.js} +2 -2
  58. package/dist/_chunks/{gestational-age-calculator-DqVeJke2.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
  59. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  60. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
  61. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  62. package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
  63. package/dist/_chunks/{heatmap-Gf9r7Tn1.js → heatmap-BEeOThkW.js} +2 -2
  64. package/dist/_chunks/{heatmap-Gf9r7Tn1.js.map → heatmap-BEeOThkW.js.map} +1 -1
  65. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js → help-me-write-templates-BUoYGo6f.js} +2 -2
  66. package/dist/_chunks/{help-me-write-templates-fV-Apf72.js.map → help-me-write-templates-BUoYGo6f.js.map} +1 -1
  67. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  68. package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
  69. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
  70. package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-C86lQTIA.js.map} +1 -1
  71. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  72. package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
  73. package/dist/_chunks/{kit-extensions-Byfxy6sy.js → kit-extensions-DYVxWcqv.js} +4 -4
  74. package/dist/_chunks/{kit-extensions-Byfxy6sy.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
  75. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js → link-cell-renderer-CxW_oLa5.js} +2 -2
  76. package/dist/_chunks/{link-cell-renderer-TeJNvymP.js.map → link-cell-renderer-CxW_oLa5.js.map} +1 -1
  77. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  78. package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
  79. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  80. package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
  81. package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
  82. package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js.map +1 -0
  83. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
  84. package/dist/_chunks/message-tray-QKQutwxj.js.map +1 -0
  85. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  86. package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
  87. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  88. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
  89. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  90. package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
  91. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  92. package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
  93. package/dist/_chunks/{notes-panel-DceRhthG.js → notes-panel-Cm4pttpl.js} +4 -4
  94. package/dist/_chunks/{notes-panel-DceRhthG.js.map → notes-panel-Cm4pttpl.js.map} +1 -1
  95. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
  96. package/dist/_chunks/notification-tray-C5VtbGjd.js.map +1 -0
  97. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
  98. package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-99kEdtc5.js.map} +1 -1
  99. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
  100. package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-DkxY13T6.js.map} +1 -1
  101. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js → patient-summary-card-opdyfeW2.js} +4 -4
  102. package/dist/_chunks/{patient-summary-card-9nQWTQf6.js.map → patient-summary-card-opdyfeW2.js.map} +1 -1
  103. package/dist/_chunks/{payment-request-card-CwDpwXUC.js → payment-request-card-DAniJNLX.js} +2 -2
  104. package/dist/_chunks/{payment-request-card-CwDpwXUC.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
  105. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  106. package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
  107. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  108. package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
  109. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  110. package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
  111. package/dist/_chunks/{practice-results-Dhbo-fc_.js → practice-results-CfRkjzsI.js} +2 -2
  112. package/dist/_chunks/{practice-results-Dhbo-fc_.js.map → practice-results-CfRkjzsI.js.map} +1 -1
  113. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js → pregnancy-dating-BFzv9g1N.js} +2 -2
  114. package/dist/_chunks/{pregnancy-dating-Bfu0Cq4H.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
  115. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
  116. package/dist/_chunks/product-hub-panel-DlVRK7Ue.js.map +1 -0
  117. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  118. package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
  119. package/dist/_chunks/{public-header.agent-pr2hyiND.js → public-header.agent-BctevbuY.js} +2 -2
  120. package/dist/_chunks/{public-header.agent-pr2hyiND.js.map → public-header.agent-BctevbuY.js.map} +1 -1
  121. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  122. package/dist/_chunks/{radiograph-panel.agent-DkUokbEa.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
  123. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
  124. package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-BlTzYywa.js.map} +1 -1
  125. package/dist/_chunks/{rich-text-editor-CkFfmA3v.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
  126. package/dist/_chunks/rich-text-editor-DTnNZ4Ff.js.map +1 -0
  127. package/dist/_chunks/{sheet-C7SwIxwB.js → sheet-8qsiMoUI.js} +2 -2
  128. package/dist/_chunks/{sheet-C7SwIxwB.js.map → sheet-8qsiMoUI.js.map} +1 -1
  129. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  130. package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
  131. package/dist/_chunks/{signature-request-DhbpB9N9.js → signature-request-DRuYAG5I.js} +2 -2
  132. package/dist/_chunks/{signature-request-DhbpB9N9.js.map → signature-request-DRuYAG5I.js.map} +1 -1
  133. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
  134. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-AhMsNW1r.js.map} +1 -1
  135. package/dist/_chunks/{task-editor-ByyRu29Y.js → task-editor-NkcopDna.js} +3 -3
  136. package/dist/_chunks/{task-editor-ByyRu29Y.js.map → task-editor-NkcopDna.js.map} +1 -1
  137. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
  138. package/dist/_chunks/{use-appointment-details-read-JsDM48tf.js.map → use-appointment-details-read-CfFQNOF_.js.map} +1 -1
  139. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
  140. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-BKbgb7FM.js.map} +1 -1
  141. package/dist/_chunks/{widget-picker-DXYBMTfe.js → widget-picker-rBA7MR5P.js} +2 -2
  142. package/dist/_chunks/{widget-picker-DXYBMTfe.js.map → widget-picker-rBA7MR5P.js.map} +1 -1
  143. package/dist/agent-catalog.json +2 -2
  144. package/dist/components/_shared/non-modal-tab-exit.d.ts +15 -4
  145. package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -1
  146. package/dist/components/ai-credits-notice/index.js +1 -1
  147. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  148. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
  149. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  150. package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
  151. package/dist/components/ai-permission-notice/index.js +1 -1
  152. package/dist/components/appointment-details-panel/index.js +1 -1
  153. package/dist/components/appointment-peek/index.js +1 -1
  154. package/dist/components/appointment-timeline/index.js +1 -1
  155. package/dist/components/booking/index.js +1 -1
  156. package/dist/components/calculator-dialog/index.js +1 -1
  157. package/dist/components/care-plan-card/index.js +1 -1
  158. package/dist/components/care-plan-header/index.js +1 -1
  159. package/dist/components/chart/chart.d.ts +5 -5
  160. package/dist/components/chart/chart.d.ts.map +1 -1
  161. package/dist/components/chart/index.js +1 -1
  162. package/dist/components/clinical-note-card/index.js +1 -1
  163. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  164. package/dist/components/color-picker/index.js +1 -1
  165. package/dist/components/contact-card/index.js +1 -1
  166. package/dist/components/contact-profile-card/index.js +1 -1
  167. package/dist/components/cycle-calculator/index.js +1 -1
  168. package/dist/components/data-table/index.js +2 -2
  169. package/dist/components/data-table-tabs/index.js +1 -1
  170. package/dist/components/date-picker/date-picker.d.ts.map +1 -1
  171. package/dist/components/date-picker/index.js +1 -1
  172. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
  173. package/dist/components/date-range-picker/index.js +1 -1
  174. package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
  175. package/dist/components/date-time-picker/index.js +1 -1
  176. package/dist/components/dialog/index.js +1 -1
  177. package/dist/components/document-preview/index.js +1 -1
  178. package/dist/components/due-date-calculator/index.js +1 -1
  179. package/dist/components/entity-summary/index.js +1 -1
  180. package/dist/components/file-manager/index.js +1 -1
  181. package/dist/components/gestational-age-calculator/index.js +1 -1
  182. package/dist/components/hcg-doubling/index.js +1 -1
  183. package/dist/components/header-settings/index.js +1 -1
  184. package/dist/components/heatmap/index.js +1 -1
  185. package/dist/components/hover-card/hover-card.d.ts.map +1 -1
  186. package/dist/components/hover-card/index.js +1 -1
  187. package/dist/components/icon-picker/index.js +1 -1
  188. package/dist/components/info-tip/index.js +1 -1
  189. package/dist/components/link/index.js +1 -1
  190. package/dist/components/link/link.d.ts +5 -3
  191. package/dist/components/link/link.d.ts.map +1 -1
  192. package/dist/components/locale-picker/index.js +1 -1
  193. package/dist/components/message-tray/index.js +1 -1
  194. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  195. package/dist/components/nav-grid/index.js +1 -1
  196. package/dist/components/note-timeline/index.js +1 -1
  197. package/dist/components/notes-panel/index.js +1 -1
  198. package/dist/components/notification-tray/index.js +1 -1
  199. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  200. package/dist/components/patient-details/index.js +1 -1
  201. package/dist/components/patient-summary-card/index.js +1 -1
  202. package/dist/components/patient-table/index.js +1 -1
  203. package/dist/components/payment-card/index.js +1 -1
  204. package/dist/components/pdf-viewer/index.js +1 -1
  205. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  206. package/dist/components/phone-input/index.js +1 -1
  207. package/dist/components/phone-input/phone-input.d.ts.map +1 -1
  208. package/dist/components/popover/index.js +1 -1
  209. package/dist/components/popover/popover.d.ts +1 -1
  210. package/dist/components/popover/popover.d.ts.map +1 -1
  211. package/dist/components/practice-results/index.js +1 -1
  212. package/dist/components/pregnancy-dating/index.js +1 -1
  213. package/dist/components/product-hub-tray/index.js +1 -1
  214. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
  215. package/dist/components/public-footer/index.js +1 -1
  216. package/dist/components/public-header/index.js +1 -1
  217. package/dist/components/radiograph-panel/index.js +1 -1
  218. package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
  219. package/dist/components/rich-text-editor/index.js +2 -2
  220. package/dist/components/sheet/index.js +1 -1
  221. package/dist/components/sign-document/index.js +1 -1
  222. package/dist/components/task-editor/index.js +1 -1
  223. package/dist/components/voice-control-panel/index.js +1 -1
  224. package/dist/components/widget-picker/index.js +1 -1
  225. package/dist/i18n/locales/ar.d.ts +14 -0
  226. package/dist/i18n/locales/ar.d.ts.map +1 -1
  227. package/dist/i18n/locales/ar.js +15 -1
  228. package/dist/i18n/locales/ar.js.map +1 -1
  229. package/dist/i18n/locales/de.d.ts +14 -0
  230. package/dist/i18n/locales/de.d.ts.map +1 -1
  231. package/dist/i18n/locales/de.js +15 -1
  232. package/dist/i18n/locales/de.js.map +1 -1
  233. package/dist/i18n/locales/el.d.ts +14 -0
  234. package/dist/i18n/locales/el.d.ts.map +1 -1
  235. package/dist/i18n/locales/el.js +15 -1
  236. package/dist/i18n/locales/el.js.map +1 -1
  237. package/dist/i18n/locales/en.d.ts +14 -0
  238. package/dist/i18n/locales/en.d.ts.map +1 -1
  239. package/dist/i18n/locales/en.js +15 -1
  240. package/dist/i18n/locales/en.js.map +1 -1
  241. package/dist/i18n/locales/es.d.ts +14 -0
  242. package/dist/i18n/locales/es.d.ts.map +1 -1
  243. package/dist/i18n/locales/es.js +15 -1
  244. package/dist/i18n/locales/es.js.map +1 -1
  245. package/dist/i18n/locales/fr.d.ts +14 -0
  246. package/dist/i18n/locales/fr.d.ts.map +1 -1
  247. package/dist/i18n/locales/fr.js +15 -1
  248. package/dist/i18n/locales/fr.js.map +1 -1
  249. package/dist/i18n/locales/hi.d.ts +14 -0
  250. package/dist/i18n/locales/hi.d.ts.map +1 -1
  251. package/dist/i18n/locales/hi.js +15 -1
  252. package/dist/i18n/locales/hi.js.map +1 -1
  253. package/dist/i18n/locales/it.d.ts +14 -0
  254. package/dist/i18n/locales/it.d.ts.map +1 -1
  255. package/dist/i18n/locales/it.js +15 -1
  256. package/dist/i18n/locales/it.js.map +1 -1
  257. package/dist/i18n/locales/ja.d.ts +14 -0
  258. package/dist/i18n/locales/ja.d.ts.map +1 -1
  259. package/dist/i18n/locales/ja.js +15 -1
  260. package/dist/i18n/locales/ja.js.map +1 -1
  261. package/dist/i18n/locales/nl.d.ts +14 -0
  262. package/dist/i18n/locales/nl.d.ts.map +1 -1
  263. package/dist/i18n/locales/nl.js +15 -1
  264. package/dist/i18n/locales/nl.js.map +1 -1
  265. package/dist/i18n/locales/pl.d.ts +14 -0
  266. package/dist/i18n/locales/pl.d.ts.map +1 -1
  267. package/dist/i18n/locales/pl.js +15 -1
  268. package/dist/i18n/locales/pl.js.map +1 -1
  269. package/dist/i18n/locales/pt.d.ts +14 -0
  270. package/dist/i18n/locales/pt.d.ts.map +1 -1
  271. package/dist/i18n/locales/pt.js +15 -1
  272. package/dist/i18n/locales/pt.js.map +1 -1
  273. package/dist/i18n/locales/ro.d.ts +14 -0
  274. package/dist/i18n/locales/ro.d.ts.map +1 -1
  275. package/dist/i18n/locales/ro.js +15 -1
  276. package/dist/i18n/locales/ro.js.map +1 -1
  277. package/dist/i18n/locales/ru.d.ts +14 -0
  278. package/dist/i18n/locales/ru.d.ts.map +1 -1
  279. package/dist/i18n/locales/ru.js +15 -1
  280. package/dist/i18n/locales/ru.js.map +1 -1
  281. package/dist/i18n/locales/sq.d.ts +14 -0
  282. package/dist/i18n/locales/sq.d.ts.map +1 -1
  283. package/dist/i18n/locales/sq.js +15 -1
  284. package/dist/i18n/locales/sq.js.map +1 -1
  285. package/dist/i18n/locales/sv.d.ts +14 -0
  286. package/dist/i18n/locales/sv.d.ts.map +1 -1
  287. package/dist/i18n/locales/sv.js +15 -1
  288. package/dist/i18n/locales/sv.js.map +1 -1
  289. package/dist/i18n/locales/tr.d.ts +14 -0
  290. package/dist/i18n/locales/tr.d.ts.map +1 -1
  291. package/dist/i18n/locales/tr.js +15 -1
  292. package/dist/i18n/locales/tr.js.map +1 -1
  293. package/dist/i18n/locales/zh.d.ts +14 -0
  294. package/dist/i18n/locales/zh.d.ts.map +1 -1
  295. package/dist/i18n/locales/zh.js +15 -1
  296. package/dist/i18n/locales/zh.js.map +1 -1
  297. package/dist/index.js +194 -193
  298. package/dist/locales/ar.json +15 -1
  299. package/dist/locales/de.json +15 -1
  300. package/dist/locales/el.json +15 -1
  301. package/dist/locales/en.json +15 -1
  302. package/dist/locales/es.json +15 -1
  303. package/dist/locales/fr.json +15 -1
  304. package/dist/locales/hi.json +15 -1
  305. package/dist/locales/it.json +15 -1
  306. package/dist/locales/ja.json +15 -1
  307. package/dist/locales/nl.json +15 -1
  308. package/dist/locales/pl.json +15 -1
  309. package/dist/locales/pt.json +15 -1
  310. package/dist/locales/ro.json +15 -1
  311. package/dist/locales/ru.json +15 -1
  312. package/dist/locales/sq.json +15 -1
  313. package/dist/locales/sv.json +15 -1
  314. package/dist/locales/tr.json +15 -1
  315. package/dist/locales/zh.json +15 -1
  316. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  317. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
  318. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  319. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  320. package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
  321. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  322. package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
  323. package/dist/patterns/alia-assistant/index.js +6 -5
  324. package/dist/patterns/anamnesis/index.js +1 -1
  325. package/dist/patterns/calendar/index.js +1 -1
  326. package/dist/patterns/help-me-write-templates/index.js +1 -1
  327. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  328. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
  329. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  330. package/dist/patterns/registration-form/index.js +1 -1
  331. package/dist/patterns/signature-request/index.js +1 -1
  332. package/dist/patterns/signed-out-frame/index.js +1 -1
  333. package/dist/tokens.css +1 -1
  334. package/package.json +1 -1
  335. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  336. package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
  337. package/dist/_chunks/alia-sidebar-DOei4Iyu.js +0 -1183
  338. package/dist/_chunks/alia-sidebar-DOei4Iyu.js.map +0 -1
  339. package/dist/_chunks/chart-HsF1KHbx.js.map +0 -1
  340. package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
  341. package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
  342. package/dist/_chunks/date-range-picker-CtUOI38x.js.map +0 -1
  343. package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
  344. package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
  345. package/dist/_chunks/link-2HokYuIi.js +0 -130
  346. package/dist/_chunks/link-2HokYuIi.js.map +0 -1
  347. package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
  348. package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
  349. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +0 -65
  350. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js.map +0 -1
  351. package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
  352. package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
  353. package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
  354. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
  355. package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
  356. package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
  357. package/dist/_chunks/rich-text-editor-CkFfmA3v.js.map +0 -1
@@ -1,14 +1,15 @@
1
- import { jsx as l, jsxs as h, Fragment as ke } from "react/jsx-runtime";
2
- import { forwardRef as ye, useId as Pe, useState as T, useMemo as E, useCallback as $e, useRef as G, useEffect as Z } from "react";
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";
3
3
  import * as F from "@radix-ui/react-popover";
4
- import { c as te } from "./index-D2ZczOXr.js";
5
- import { useTranslation as Ne } from "react-i18next";
6
- import { u as Ae, a as Me } from "./form-field-context-DtiROUJV.js";
7
- import { S as se } from "./slider-pZ95bEm7.js";
8
- import { u as Se } from "./registry-DvAUVLHh.js";
9
- import { C as re } from "./check-DrFSN__t.js";
10
- import { X as Te } from "./x-B5YnXwCz.js";
11
- const Ee = {
4
+ import { u as Ae, f as Me } from "./non-modal-tab-exit-j3CPOuE3.js";
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";
8
+ import { S as re } from "./slider-pZ95bEm7.js";
9
+ import { u as Le } from "./registry-DvAUVLHh.js";
10
+ import { C as ne } from "./check-DrFSN__t.js";
11
+ import { X as ze } from "./x-B5YnXwCz.js";
12
+ const Re = {
12
13
  id: "color-picker",
13
14
  capabilities: ["set_value"],
14
15
  state: {
@@ -55,13 +56,13 @@ const Ee = {
55
56
  }
56
57
  }
57
58
  };
58
- function Le(e) {
59
+ function Ie(e) {
59
60
  let t = e.startsWith("#") ? e.slice(1) : e;
60
61
  (t.length === 3 || t.length === 4) && (t = t.split("").map((c) => c + c).join(""));
61
62
  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;
62
- return ne(r, s, n, d);
63
+ return oe(r, s, n, d);
63
64
  }
64
- function ne(e, t, r, s) {
65
+ function oe(e, t, r, s) {
65
66
  const n = Math.max(e, t, r), d = Math.min(e, t, r), c = (n + d) / 2;
66
67
  let m = 0, w = 0;
67
68
  if (n !== d) {
@@ -82,7 +83,7 @@ function C(e) {
82
83
  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)}`;
83
84
  return e.a < 1 ? `${d}${n(e.a)}` : d;
84
85
  }
85
- function ze(e) {
86
+ function Fe(e) {
86
87
  const { r: t, g: r, b: s } = W(e), n = Math.round(t * 255), d = Math.round(r * 255), c = Math.round(s * 255);
87
88
  return e.a < 1 ? `rgba(${n}, ${d}, ${c}, ${e.a})` : `rgba(${n}, ${d}, ${c}, 1)`;
88
89
  }
@@ -92,23 +93,23 @@ function W(e) {
92
93
  return { r: s, g: s, b: s };
93
94
  const n = s < 0.5 ? s * (1 + r) : s + r - s * r, d = 2 * s - n;
94
95
  return {
95
- r: j(d, n, t + 1 / 3),
96
- g: j(d, n, t),
97
- b: j(d, n, t - 1 / 3)
96
+ r: D(d, n, t + 1 / 3),
97
+ g: D(d, n, t),
98
+ b: D(d, n, t - 1 / 3)
98
99
  };
99
100
  }
100
- function j(e, t, r) {
101
+ function D(e, t, r) {
101
102
  let s = r;
102
103
  return s < 0 && (s += 1), s > 1 && (s -= 1), s < 1 / 6 ? e + (t - e) * 6 * s : s < 1 / 2 ? t : s < 2 / 3 ? e + (t - e) * (2 / 3 - s) * 6 : e;
103
104
  }
104
- function D(e, t) {
105
+ function j(e, t) {
105
106
  switch (t) {
106
107
  case "hex":
107
108
  return C(e);
108
109
  case "hsl":
109
110
  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)}%)`;
110
111
  case "rgba":
111
- return ze(e);
112
+ return Fe(e);
112
113
  }
113
114
  }
114
115
  function y(e) {
@@ -116,7 +117,7 @@ function y(e) {
116
117
  if (!t) return null;
117
118
  if (t.startsWith("#")) {
118
119
  const n = t.slice(1);
119
- return !/^[0-9a-fA-F]{3,8}$/.test(n) || ![3, 4, 6, 8].includes(n.length) ? null : Le(t);
120
+ return !/^[0-9a-fA-F]{3,8}$/.test(n) || ![3, 4, 6, 8].includes(n.length) ? null : Ie(t);
120
121
  }
121
122
  const r = t.match(
122
123
  /^hsla?\(\s*([\d.]+)\s*[,/]\s*([\d.]+)%?\s*[,/]\s*([\d.]+)%?\s*(?:[,/]\s*([\d.]+))?\s*\)$/
@@ -133,25 +134,25 @@ function y(e) {
133
134
  );
134
135
  if (s) {
135
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;
136
- return ne(n, d, c, m);
137
+ return oe(n, d, c, m);
137
138
  }
138
139
  return null;
139
140
  }
140
- function ee(e) {
141
+ function ae(e) {
141
142
  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);
142
143
  return 0.2126 * n(t) + 0.7152 * n(r) + 0.0722 * n(s);
143
144
  }
144
- function Re(e, t) {
145
- const r = ee(e), s = ee(t), n = Math.max(r, s), d = Math.min(r, s);
145
+ function He(e, t) {
146
+ const r = ae(e), s = ae(t), n = Math.max(r, s), d = Math.min(r, s);
146
147
  return Math.round((n + 0.05) / (d + 0.05) * 100) / 100;
147
148
  }
148
- function Ie(e) {
149
+ function _e(e) {
149
150
  return e >= 4.5;
150
151
  }
151
- function Fe(e) {
152
+ function Oe(e) {
152
153
  return e >= 7;
153
154
  }
154
- const He = [
155
+ const Be = [
155
156
  { name: "Pink 500", hex: "#e91e63", textColor: "#ffffff" },
156
157
  { name: "Black", hex: "#000000", textColor: "#ffffff" },
157
158
  { name: "Blue 500", hex: "#2196f3", textColor: "#ffffff" },
@@ -182,7 +183,7 @@ const He = [
182
183
  { name: "Orange 900", hex: "#e65100", textColor: "#000000" },
183
184
  { name: "White", hex: "#ffffff", textColor: "#000000" },
184
185
  { name: "Yellow 500", hex: "#ffeb3b", textColor: "#000000" }
185
- ], sa = [
186
+ ], ia = [
186
187
  { name: "Blue 300", hex: "#70738c" },
187
188
  { name: "Blue 500", hex: "#292e53" },
188
189
  { name: "Blue 700", hex: "#1d213b" },
@@ -201,7 +202,7 @@ const He = [
201
202
  { name: "Grey 300", hex: "#f9f6f3" },
202
203
  { name: "Grey 500", hex: "#f6f1ed" },
203
204
  { name: "Grey 700", hex: "#afaba8" }
204
- ], ra = [
205
+ ], da = [
205
206
  { name: "Tomato", hex: "#d50000" },
206
207
  { name: "Flamingo", hex: "#e67c73" },
207
208
  { name: "Tangerine", hex: "#f4511e" },
@@ -213,7 +214,7 @@ const He = [
213
214
  { name: "Lavender", hex: "#7986cb" },
214
215
  { name: "Grape", hex: "#8e24aa" },
215
216
  { name: "Graphite", hex: "#616161" }
216
- ], u = 6, _e = te(
217
+ ], u = 6, Ve = se(
217
218
  [
218
219
  "ds:inline-flex ds:items-center ds:w-full",
219
220
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[color:var(--control-border)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
@@ -232,7 +233,7 @@ const He = [
232
233
  },
233
234
  defaultVariants: { size: "md" }
234
235
  }
235
- ), Be = te(
236
+ ), Ge = se(
236
237
  [
237
238
  "ds:relative ds:rounded-[var(--radius-sm)] ds:border-2 ds:cursor-pointer",
238
239
  "ds:transition-[transform,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
@@ -267,20 +268,20 @@ const He = [
267
268
  },
268
269
  defaultVariants: { selected: !1, size: "md" }
269
270
  }
270
- ), Oe = [
271
+ ), De = [
271
272
  "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
272
273
  "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
273
274
  "ds:p-[var(--spacing-md)]"
274
- ].join(" "), Ve = [
275
+ ].join(" "), je = [
275
276
  "ds:bg-[image:repeating-conic-gradient(var(--color-grey-700)_0%_25%,transparent_0%_50%)]",
276
277
  "ds:bg-[size:8px_8px]"
277
- ].join(" "), Ge = [
278
+ ].join(" "), Ke = [
278
279
  "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
279
280
  "ds:p-[var(--spacing-sm)]"
280
- ].join(" "), je = [
281
+ ].join(" "), We = [
281
282
  "ds:rounded-[var(--radius-md)] ds:bg-[var(--background)] ds:text-[var(--foreground)]",
282
283
  "ds:p-[var(--spacing-xs)]"
283
- ].join(" "), De = [
284
+ ].join(" "), Ue = [
284
285
  "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
285
286
  "ds:border ds:border-[color:var(--border)] ds:bg-[var(--background)] ds:shadow-[var(--shadow-lg)]",
286
287
  "ds:w-72",
@@ -288,14 +289,14 @@ const He = [
288
289
  "ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0 ds:data-[state=closed]:zoom-out-95",
289
290
  "ds:data-[side=bottom]:slide-in-from-top-2 ds:data-[side=top]:slide-in-from-bottom-2",
290
291
  "ds:data-[side=left]:slide-in-from-right-2 ds:data-[side=right]:slide-in-from-left-2"
291
- ].join(" "), Ke = [
292
+ ].join(" "), Xe = [
292
293
  "ds:w-full ds:rounded-[var(--radius-sm)] ds:border ds:bg-[var(--background)] ds:text-[var(--foreground)]",
293
294
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:text-[length:var(--font-size-sm)]",
294
295
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
295
296
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
296
297
  "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
297
298
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
298
- ].join(" "), oe = "ds:[&>span:first-child]:bg-transparent ds:[&>span:first-child>span]:bg-transparent", We = ye(
299
+ ].join(" "), ie = "ds:[&>span:first-child]:bg-transparent ds:[&>span:first-child>span]:bg-transparent", Ye = Pe(
299
300
  (e, t) => {
300
301
  const {
301
302
  value: r,
@@ -306,11 +307,11 @@ const He = [
306
307
  palette: m,
307
308
  against: w,
308
309
  size: x = "md",
309
- disabled: ie = !1,
310
- variant: de = "inline",
310
+ disabled: de = !1,
311
+ variant: le = "inline",
311
312
  compact: S = !0,
312
313
  className: U
313
- } = e, { t: g } = Ne("ui"), N = Ae(), le = Pe(), P = Me(N) || le, v = N.disabled || ie, L = r !== void 0, [X, ce] = T(() => {
314
+ } = e, { t: g } = Se("ui"), $ = Te(), ce = Ne(), P = Ee($) || ce, b = $.disabled || de, L = r !== void 0, [X, fe] = T(() => {
314
315
  const a = r ?? s;
315
316
  if (a) {
316
317
  const i = y(a);
@@ -323,41 +324,41 @@ const He = [
323
324
  if (a) return a;
324
325
  }
325
326
  return X;
326
- }, [L, r, X]), b = $e(
327
+ }, [L, r, X]), v = $e(
327
328
  (a) => {
328
329
  const i = c ? a : { ...a, a: 1 };
329
- L || ce(i), n == null || n(D(i, d));
330
+ L || fe(i), n == null || n(j(i, d));
330
331
  },
331
332
  [c, d, L, n]
332
- ), [Y, H] = T(() => C(o)), [fe, z] = T(!1), $ = G(void 0), _ = G(o);
333
- _.current = o, Z(() => {
334
- H(C(o)), z(!1), $.current !== void 0 && (clearTimeout($.current), $.current = void 0);
335
- }, [o]), Z(() => () => {
336
- $.current !== void 0 && clearTimeout($.current);
333
+ ), [Y, H] = T(() => C(o)), [ue, z] = T(!1), N = G(void 0), _ = G(o);
334
+ _.current = o, ee(() => {
335
+ H(C(o)), z(!1), N.current !== void 0 && (clearTimeout(N.current), N.current = void 0);
336
+ }, [o]), ee(() => () => {
337
+ N.current !== void 0 && clearTimeout(N.current);
337
338
  }, []);
338
- const ue = () => {
339
+ const he = () => {
339
340
  const a = y(Y);
340
- a ? (z(!1), b(a)) : (z(!0), $.current = setTimeout(() => {
341
- $.current = void 0, z(!1), H(C(_.current));
341
+ a ? (z(!1), v(a)) : (z(!0), N.current = setTimeout(() => {
342
+ N.current = void 0, z(!1), H(C(_.current));
342
343
  }, 800));
343
344
  }, A = E(() => m ? m.map(
344
345
  (a) => typeof a == "string" ? { name: a.toUpperCase(), hex: a } : a
345
- ) : He, [m]), he = C(o), B = E(
346
+ ) : Be, [m]), me = C(o), O = E(
346
347
  () => A.map((a) => {
347
348
  const i = y(a.hex);
348
349
  return i ? C(i).toLowerCase() : null;
349
350
  }),
350
351
  [A]
351
352
  ).findIndex(
352
- (a) => a !== null && a === he.toLowerCase()
353
+ (a) => a !== null && a === me.toLowerCase()
353
354
  ), R = G(null), [p, q] = T(
354
- B >= 0 ? B : 0
355
- ), me = (a) => {
355
+ O >= 0 ? O : 0
356
+ ), ge = (a) => {
356
357
  var f;
357
358
  const i = (f = R.current) == null ? void 0 : f.querySelectorAll('[role="gridcell"]');
358
359
  i != null && i[a] && (i[a].focus(), q(a));
359
- }, ge = (a) => {
360
- if (v) return;
360
+ }, pe = (a) => {
361
+ if (b) return;
361
362
  const i = A.length;
362
363
  let f = p;
363
364
  const k = (typeof window < "u" && R.current ? window.getComputedStyle(R.current).direction === "rtl" : !1) ? -1 : 1;
@@ -395,31 +396,31 @@ const He = [
395
396
  case " ": {
396
397
  a.preventDefault();
397
398
  const M = y(A[p].hex);
398
- M && b(M);
399
+ M && v(M);
399
400
  return;
400
401
  }
401
402
  default:
402
403
  return;
403
404
  }
404
- a.preventDefault(), me(f);
405
- }, [pe, xe] = T(!1), ve = E(
405
+ a.preventDefault(), ge(f);
406
+ }, [xe, J] = T(!1), be = E(
406
407
  () => ({
407
408
  getValue: () => C(_.current),
408
409
  setValue: (a) => {
409
410
  const i = y(a);
410
- i && b(i);
411
+ i && v(i);
411
412
  }
412
413
  }),
413
- [b]
414
+ [v]
414
415
  );
415
- Se(Ee, ve, P);
416
+ Le(Re, be, P);
416
417
  const I = E(() => {
417
418
  if (!w) return null;
418
419
  const a = y(w);
419
420
  if (!a) return null;
420
- const i = Re(o, a);
421
- return { ratio: i, aa: Ie(i), aaa: Fe(i) };
422
- }, [w, o]), be = (
421
+ const i = He(o, a);
422
+ return { ratio: i, aa: _e(i), aaa: Oe(i) };
423
+ }, [w, o]), ve = (
423
424
  // eslint-disable-next-line jsx-a11y/interactive-supports-focus -- inner gridcells are individually focusable via roving tabindex
424
425
  /* @__PURE__ */ l(
425
426
  "div",
@@ -427,12 +428,12 @@ const He = [
427
428
  ref: R,
428
429
  role: "grid",
429
430
  "aria-label": g("inputs.colorPicker.paletteLabel", "Colour palette"),
430
- onKeyDown: ge,
431
+ onKeyDown: pe,
431
432
  className: "ds:grid ds:grid-cols-6 ds:gap-[var(--spacing-xs)]",
432
433
  children: A.map((a, i) => {
433
434
  const f = Math.floor(i / u) * u;
434
435
  return i === f ? /* @__PURE__ */ l("div", { role: "row", className: "ds:contents", children: A.slice(f, f + u).map((k, M) => {
435
- const O = f + M, V = O === B;
436
+ const B = f + M, V = B === O;
436
437
  return (
437
438
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events -- parent grid handles keyboard navigation via onKeyDown
438
439
  /* @__PURE__ */ l(
@@ -444,16 +445,16 @@ const He = [
444
445
  name: k.name,
445
446
  hex: k.hex
446
447
  }),
447
- tabIndex: O === p ? 0 : -1,
448
+ tabIndex: B === p ? 0 : -1,
448
449
  onClick: () => {
449
- if (v) return;
450
- const Q = y(k.hex);
451
- Q && b(Q), q(O);
450
+ if (b) return;
451
+ const Z = y(k.hex);
452
+ Z && v(Z), q(B);
452
453
  },
453
- className: Be({ selected: V, size: x }),
454
+ className: Ge({ selected: V, size: x }),
454
455
  style: { "--swatch-bg": k.hex },
455
456
  children: V ? /* @__PURE__ */ l(
456
- re,
457
+ ne,
457
458
  {
458
459
  "aria-hidden": "true",
459
460
  className: "ds:absolute ds:inset-0 ds:m-auto ds:size-4 ds:text-[var(--background)] ds:mix-blend-difference"
@@ -467,7 +468,7 @@ const He = [
467
468
  })
468
469
  }
469
470
  )
470
- ), Ce = S ? null : /* @__PURE__ */ h(ke, { children: [
471
+ ), Ce = S ? null : /* @__PURE__ */ h(ye, { children: [
471
472
  /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
472
473
  /* @__PURE__ */ l(
473
474
  "label",
@@ -483,10 +484,10 @@ const He = [
483
484
  id: `${P}-hex`,
484
485
  type: "text",
485
486
  value: Y,
486
- disabled: v,
487
+ disabled: b,
487
488
  onChange: (a) => H(a.target.value),
488
- onBlur: ue,
489
- className: `${Ke} ${fe ? "ds:border-[var(--destructive)]" : "ds:border-[color:var(--control-border)]"}`
489
+ onBlur: he,
490
+ className: `${Xe} ${ue ? "ds:border-[var(--destructive)]" : "ds:border-[color:var(--control-border)]"}`
490
491
  }
491
492
  ) })
492
493
  ] }),
@@ -499,9 +500,9 @@ const He = [
499
500
  min: 0,
500
501
  max: 360,
501
502
  value: o.h,
502
- onChange: (a) => b({ ...o, h: a }),
503
+ onChange: (a) => v({ ...o, h: a }),
503
504
  formatValue: (a) => `H ${Math.round(a)}°`,
504
- disabled: v
505
+ disabled: b
505
506
  }
506
507
  ),
507
508
  /* @__PURE__ */ l(
@@ -512,9 +513,9 @@ const He = [
512
513
  min: 0,
513
514
  max: 100,
514
515
  value: o.s,
515
- onChange: (a) => b({ ...o, s: a }),
516
+ onChange: (a) => v({ ...o, s: a }),
516
517
  formatValue: (a) => `S ${Math.round(a)}%`,
517
- disabled: v
518
+ disabled: b
518
519
  }
519
520
  ),
520
521
  /* @__PURE__ */ l(
@@ -525,9 +526,9 @@ const He = [
525
526
  min: 0,
526
527
  max: 100,
527
528
  value: o.l,
528
- onChange: (a) => b({ ...o, l: a }),
529
+ onChange: (a) => v({ ...o, l: a }),
529
530
  formatValue: (a) => `L ${Math.round(a)}%`,
530
- disabled: v
531
+ disabled: b
531
532
  }
532
533
  ),
533
534
  c ? /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
@@ -536,7 +537,7 @@ const He = [
536
537
  /* @__PURE__ */ l(
537
538
  "div",
538
539
  {
539
- className: `ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)] ds:pointer-events-none ${Ve}`,
540
+ className: `ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)] ds:pointer-events-none ${je}`,
540
541
  "aria-hidden": "true"
541
542
  }
542
543
  ),
@@ -551,17 +552,17 @@ const He = [
551
552
  }
552
553
  ),
553
554
  /* @__PURE__ */ l(
554
- se,
555
+ re,
555
556
  {
556
557
  min: 0,
557
558
  max: 100,
558
559
  step: 1,
559
560
  value: [Math.round(o.a * 100)],
560
- onValueChange: ([a]) => b({ ...o, a: a / 100 }),
561
+ onValueChange: ([a]) => v({ ...o, a: a / 100 }),
561
562
  "aria-label": g("inputs.colorPicker.opacity", "Opacity"),
562
563
  formatValue: (a) => `${a}%`,
563
- disabled: v,
564
- className: oe
564
+ disabled: b,
565
+ className: ie
565
566
  }
566
567
  )
567
568
  ] })
@@ -577,8 +578,8 @@ const He = [
577
578
  /* @__PURE__ */ l("span", { className: "ds:tabular-nums", children: g("inputs.colorPicker.contrastRatio", {
578
579
  ratio: I.ratio.toFixed(1)
579
580
  }) }),
580
- /* @__PURE__ */ l(ae, { level: "AA", passes: I.aa, t: g }),
581
- /* @__PURE__ */ l(ae, { level: "AAA", passes: I.aaa, t: g })
581
+ /* @__PURE__ */ l(te, { level: "AA", passes: I.aa, t: g }),
582
+ /* @__PURE__ */ l(te, { level: "AAA", passes: I.aaa, t: g })
582
583
  ]
583
584
  }
584
585
  ) : null,
@@ -591,43 +592,46 @@ const He = [
591
592
  "aria-hidden": "true"
592
593
  }
593
594
  ),
594
- /* @__PURE__ */ l("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:tabular-nums", children: D(o, d) })
595
+ /* @__PURE__ */ l("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:tabular-nums", children: j(o, d) })
595
596
  ] })
596
- ] }), J = /* @__PURE__ */ h(
597
+ ] }), Q = /* @__PURE__ */ h(
597
598
  "div",
598
599
  {
599
- className: S ? x === "sm" ? je : Ge : Oe,
600
+ className: S ? x === "sm" ? We : Ke : De,
600
601
  children: [
601
- be,
602
+ ve,
602
603
  Ce
603
604
  ]
604
605
  }
605
- );
606
- return de === "inline" ? /* @__PURE__ */ l(
606
+ ), we = Ae(!0, {
607
+ getAnchor: Me,
608
+ onReturnToTrigger: () => J(!1)
609
+ });
610
+ return le === "inline" ? /* @__PURE__ */ l(
607
611
  "div",
608
612
  {
609
613
  ref: t,
610
614
  id: P,
611
615
  className: U,
612
- "aria-describedby": N.describedBy || void 0,
613
- "aria-invalid": N.invalid || void 0,
614
- "aria-disabled": v || void 0,
616
+ "aria-describedby": $.describedBy || void 0,
617
+ "aria-invalid": $.invalid || void 0,
618
+ "aria-disabled": b || void 0,
615
619
  "data-component": "color-picker",
616
620
  "data-component-id": P,
617
621
  "data-testid": "color-picker",
618
- children: J
622
+ children: Q
619
623
  }
620
- ) : /* @__PURE__ */ h(F.Root, { open: pe, onOpenChange: xe, children: [
621
- /* @__PURE__ */ l(F.Trigger, { asChild: !0, disabled: v, children: /* @__PURE__ */ h(
624
+ ) : /* @__PURE__ */ h(F.Root, { open: xe, onOpenChange: J, children: [
625
+ /* @__PURE__ */ l(F.Trigger, { asChild: !0, disabled: b, children: /* @__PURE__ */ h(
622
626
  "button",
623
627
  {
624
628
  ref: t,
625
629
  type: "button",
626
630
  id: P,
627
- "aria-describedby": N.describedBy || void 0,
628
- "aria-invalid": N.invalid || void 0,
631
+ "aria-describedby": $.describedBy || void 0,
632
+ "aria-invalid": $.invalid || void 0,
629
633
  "aria-label": S ? g("inputs.colorPicker.triggerLabel", "Choose colour") : void 0,
630
- className: _e({ size: x, className: U }),
634
+ className: Ve({ size: x, className: U }),
631
635
  "data-component": "color-picker",
632
636
  "data-component-id": P,
633
637
  "data-testid": "color-picker-trigger",
@@ -640,7 +644,7 @@ const He = [
640
644
  style: { "--swatch-bg": C(o) }
641
645
  }
642
646
  ),
643
- S ? null : /* @__PURE__ */ l("span", { className: "ds:text-start ds:truncate ds:tabular-nums", children: D(o, d) })
647
+ S ? null : /* @__PURE__ */ l("span", { className: "ds:text-start ds:truncate ds:tabular-nums", children: j(o, d) })
644
648
  ]
645
649
  }
646
650
  ) }),
@@ -649,15 +653,16 @@ const He = [
649
653
  {
650
654
  sideOffset: 4,
651
655
  align: "start",
652
- className: De,
653
- children: J
656
+ className: Ue,
657
+ onKeyDown: we,
658
+ children: Q
654
659
  }
655
660
  ) })
656
661
  ] });
657
662
  }
658
663
  );
659
- We.displayName = "ColorPicker";
660
- function ae({
664
+ Ye.displayName = "ColorPicker";
665
+ function te({
661
666
  level: e,
662
667
  passes: t,
663
668
  t: r
@@ -672,13 +677,13 @@ function ae({
672
677
  }
673
678
  ),
674
679
  t ? /* @__PURE__ */ l(
675
- re,
680
+ ne,
676
681
  {
677
682
  "aria-hidden": "true",
678
683
  className: "ds:size-4 ds:text-[var(--success)]"
679
684
  }
680
685
  ) : /* @__PURE__ */ l(
681
- Te,
686
+ ze,
682
687
  {
683
688
  "aria-hidden": "true",
684
689
  className: "ds:size-4 ds:text-[var(--destructive)]"
@@ -709,7 +714,7 @@ function K({
709
714
  }
710
715
  ),
711
716
  /* @__PURE__ */ l(
712
- se,
717
+ re,
713
718
  {
714
719
  min: r,
715
720
  max: s,
@@ -719,18 +724,18 @@ function K({
719
724
  "aria-label": e,
720
725
  formatValue: c,
721
726
  disabled: m,
722
- className: oe
727
+ className: ie
723
728
  }
724
729
  )
725
730
  ] })
726
731
  ] });
727
732
  }
728
733
  export {
729
- He as A,
730
- sa as B,
731
- We as C,
732
- ra as G,
733
- Re as c,
734
- Le as h
734
+ Be as A,
735
+ ia as B,
736
+ Ye as C,
737
+ da as G,
738
+ He as c,
739
+ Ie as h
735
740
  };
736
- //# sourceMappingURL=color-picker-BRQ4Y9SO.js.map
741
+ //# sourceMappingURL=color-picker-BsggJovx.js.map