@alfadocs/ui-kit 1.50.0 → 1.51.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 (323) hide show
  1. package/dist/_chunks/{actions-cell-renderer-DMittsR3.js → actions-cell-renderer-DBI33cMp.js} +4 -4
  2. package/dist/_chunks/{agenda-tray-BhZASyJm.js → agenda-tray-CGhEEnFE.js} +3 -3
  3. package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-C9K_ley1.js} +3 -3
  4. package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-DMG1o4Qa.js} +2 -2
  5. package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-ucwO-z8g.js} +2 -2
  6. package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-K3gaNH94.js} +7 -7
  7. package/dist/_chunks/{anamnesis-card-D8Si-2GV.js → anamnesis-card-CPjry4ur.js} +2 -2
  8. package/dist/_chunks/{anamnesis-summary-rows-CZirLRuv.js → anamnesis-summary-rows-D9LZZHLw.js} +9 -9
  9. package/dist/_chunks/{appointment-card-BgLpE6T5.js → appointment-card-DETaIfBb.js} +2 -2
  10. package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-B79v56Zc.js} +4 -4
  11. package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-tyJJPgVU.js} +5 -5
  12. package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-Dq4zto_L.js} +4 -4
  13. package/dist/_chunks/{audio-recorder-DZBtAvLH.js → audio-recorder-Ddlp5rVg.js} +3 -3
  14. package/dist/_chunks/{balance-badge-cell-klaxFNL_.js → balance-badge-cell-BCEsdEOe.js} +4 -4
  15. package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-1NAiZh0K.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-ZzzPZhhI.js} +2 -2
  17. package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DmyX24Ls.js} +5 -5
  18. package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
  19. package/dist/_chunks/{button-group-BSDqso_C.js → button-group-t9RrsCS6.js} +3 -3
  20. package/dist/_chunks/{calendar-zpE9qTM4.js → calendar-aqzmITxw.js} +543 -508
  21. package/dist/_chunks/{calendar-event-card-DplPh1wv.js → calendar-event-card-DyFSIehr.js} +148 -145
  22. package/dist/_chunks/calendar-workspace-BqoPkCUp.js +10597 -0
  23. package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-amX33mMF.js} +2 -2
  24. package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-DNkEucjN.js} +2 -2
  25. package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-CJi853Rf.js} +2 -2
  26. package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-2EhJsAtl.js} +2 -2
  27. package/dist/_chunks/{chart-VjuXDXOZ.js → chart-B2HnwMP5.js} +3 -3
  28. package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-CHUsUFOD.js} +2 -2
  29. package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DTcRGhNo.js} +3 -3
  30. package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-BrwcZNPq.js} +2 -2
  31. package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-DMheLE65.js} +3 -3
  32. package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-zQLGGFKG.js} +2 -2
  33. package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-5iuM3jcm.js} +3 -3
  34. package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-C-KvrgOG.js} +2 -2
  35. package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-DQMCeEzn.js} +2 -2
  36. package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-H7uph3HO.js} +2 -2
  37. package/dist/_chunks/{data-table-CrI3_bjH.js → data-table-C4yPR89K.js} +7 -7
  38. package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dd_O1nPY.js} +3 -3
  39. package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-DOPu69Jg.js} +2 -2
  40. package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-Dzh1YAz8.js} +3 -3
  41. package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-BSVwMR4V.js} +2 -2
  42. package/dist/_chunks/dropdown-menu-DIzxr_lp.js +594 -0
  43. package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-DUjw4w5O.js} +2 -2
  44. package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-Cch3RIJL.js} +3 -3
  45. package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-CRQib91p.js} +3 -3
  46. package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-DsA7vR5C.js} +2 -2
  47. package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-Ck1wVWdN.js} +2 -2
  48. package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-Cvs21xPr.js} +3 -3
  49. package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary-C_HAzVLO.js} +2 -2
  50. package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-DVZZTuXT.js} +5 -5
  51. package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-B-lO-948.js} +2 -2
  52. package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-B3IDOct8.js} +3 -3
  53. package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-COUb-w8j.js} +7 -7
  54. package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BrAWwfOw.js} +2 -2
  55. package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CwUwhUZy.js} +2 -2
  56. package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-DiPJrL18.js} +2 -2
  57. package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-BVPtrWKf.js} +2 -2
  58. package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-CPktiA3H.js} +2 -2
  59. package/dist/_chunks/{header-CCjp5GvE.js → header-C8NbLgVq.js} +2 -2
  60. package/dist/_chunks/header-settings-D0M3WNTS.js +305 -0
  61. package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CYAKuXZ3.js} +5 -5
  62. package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-BM0vNmq4.js} +2 -2
  63. package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
  64. package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-ud2BLmxe.js} +3 -3
  65. package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-B1PwkUHy.js} +3 -3
  66. package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-DM6hpXUw.js} +2 -2
  67. package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-CywkQ1NX.js} +2 -2
  68. package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-Fu9AHxR6.js} +2 -2
  69. package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-BL1J3_Km.js} +2 -2
  70. package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-B9Qn6VIc.js} +6 -6
  71. package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-BcW3F1j9.js} +2 -2
  72. package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-Z42P8T-i.js} +218 -213
  73. package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-DxYPJjM9.js} +2 -2
  74. package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rTTvWRrE.js} +6 -6
  75. package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-CUBPPn4Z.js} +3 -3
  76. package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-uy3DAIbn.js} +4 -4
  77. package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-CH-vQ7Ch.js} +2 -2
  78. package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-Dka4Z2M7.js} +4 -4
  79. package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-Hy8w3UWx.js} +3 -3
  80. package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-VuV3XXB8.js} +4 -4
  81. package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-C2n6d0HO.js} +2 -2
  82. package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
  83. package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-D9sAM3qh.js} +3 -3
  84. package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-CT04C_lZ.js} +277 -257
  85. package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-DkIukAMQ.js} +3 -3
  86. package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DI0BH-Fe.js} +5 -5
  87. package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-vQBIyUky.js} +2 -2
  88. package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BSaJzhxz.js} +3 -3
  89. package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-BcTcOc79.js} +2 -2
  90. package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-NS_nToBf.js} +2 -2
  91. package/dist/_chunks/{popover-Dvb40vPH.js → popover-SASSeAdY.js} +2 -2
  92. package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-C3ifcObw.js} +6 -6
  93. package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CpJ3iYvD.js} +2 -2
  94. package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-kDOhA2vZ.js} +2 -2
  95. package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-CEyvNpC8.js} +3 -3
  96. package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-TzMlEu3Q.js} +2 -2
  97. package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-b70i9Hi1.js} +3 -3
  98. package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-D0ApOrmx.js} +3 -3
  99. package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-jhwaIW8U.js} +4 -4
  100. package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
  101. package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-B5QC4FIp.js} +4 -4
  102. package/dist/_chunks/{rich-text-editor-y6ML0KeV.js → rich-text-editor-DoBXdwmx.js} +930 -943
  103. package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-26XB5u38.js} +2 -2
  104. package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-CwhNzxbr.js} +2 -2
  105. package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-jxbze77L.js} +2 -2
  106. package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-BorHf3CY.js} +4 -4
  107. package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-xgf2UKLS.js} +4 -4
  108. package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-Cos2fVTw.js} +2 -2
  109. package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-BrkMUW0c.js} +2 -2
  110. package/dist/_chunks/tabs-tK22Mz7r.js +413 -0
  111. package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CLpHmqEY.js} +2 -2
  112. package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-B4UGsU7l.js} +6 -6
  113. package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-dsmYgjVb.js} +4 -4
  114. package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-CwwVw491.js} +6 -6
  115. package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-jyoyhbJL.js} +4 -4
  116. package/dist/_chunks/{toast-CT8hjr9r.js → toast-FijDyPnv.js} +2 -2
  117. package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-Cjf99IdN.js} +3 -3
  118. package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-DphMl1hX.js} +2 -2
  119. package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BaCJnyg9.js} +663 -718
  120. package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-CGpOgarU.js} +2 -2
  121. package/dist/_chunks/{use-appointment-details-read-5-hV-2xA.js → use-appointment-details-read-uEnJLVfA.js} +14 -14
  122. package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-7Hffm7K1.js} +3 -3
  123. package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-Jfe9L9Wt.js} +6 -6
  124. package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-jHfsIDzi.js} +2 -2
  125. package/dist/agent-catalog.json +103 -38
  126. package/dist/agent-i18n/en.json +7 -4
  127. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  128. package/dist/components/agenda-tray/index.js +1 -1
  129. package/dist/components/ai-credits-notice/index.js +1 -1
  130. package/dist/components/ai-permission-notice/index.js +1 -1
  131. package/dist/components/ai-prompt-input/index.js +1 -1
  132. package/dist/components/anamnesis-card/index.js +1 -1
  133. package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
  134. package/dist/components/appointment-card/index.js +2 -2
  135. package/dist/components/appointment-details-panel/index.js +1 -1
  136. package/dist/components/appointment-peek/index.js +1 -1
  137. package/dist/components/appointment-timeline/index.js +1 -1
  138. package/dist/components/audio-recorder/index.js +1 -1
  139. package/dist/components/bishop-score/index.js +1 -1
  140. package/dist/components/bmi-calculator/index.js +1 -1
  141. package/dist/components/booking/index.js +1 -1
  142. package/dist/components/button/button.d.ts +11 -0
  143. package/dist/components/button/icon-button.d.ts +4 -0
  144. package/dist/components/button/index.js +2 -2
  145. package/dist/components/button-group/index.js +1 -1
  146. package/dist/components/calendar/calendar.d.ts +11 -3
  147. package/dist/components/calendar/index.js +1 -1
  148. package/dist/components/calendar-event-card/calendar-event-card.d.ts +6 -0
  149. package/dist/components/calendar-event-card/index.js +1 -1
  150. package/dist/components/care-plan-card/index.js +1 -1
  151. package/dist/components/care-plan-entry-card/index.js +1 -1
  152. package/dist/components/care-plan-header/index.js +1 -1
  153. package/dist/components/carousel/index.js +1 -1
  154. package/dist/components/chart/chart.d.ts +1 -1
  155. package/dist/components/chart/index.js +1 -1
  156. package/dist/components/chat-input/index.js +1 -1
  157. package/dist/components/chat-message/index.js +1 -1
  158. package/dist/components/connection-status/index.js +1 -1
  159. package/dist/components/contact-profile-card/index.js +1 -1
  160. package/dist/components/control-room-rail/index.js +1 -1
  161. package/dist/components/copy-field/index.js +1 -1
  162. package/dist/components/cycle-calculator/index.js +1 -1
  163. package/dist/components/dashboard-grid/index.js +1 -1
  164. package/dist/components/data-table/index.js +4 -4
  165. package/dist/components/data-table-tabs/index.js +1 -1
  166. package/dist/components/description-list/index.js +1 -1
  167. package/dist/components/document-preview/index.js +1 -1
  168. package/dist/components/document-scanner/index.js +1 -1
  169. package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
  170. package/dist/components/dropdown-menu/index.d.ts +1 -1
  171. package/dist/components/dropdown-menu/index.js +1 -1
  172. package/dist/components/due-date-calculator/index.js +1 -1
  173. package/dist/components/editable-description/index.js +1 -1
  174. package/dist/components/editor-overlay/index.js +1 -1
  175. package/dist/components/empty-state/index.js +1 -1
  176. package/dist/components/entity-summary/index.js +1 -1
  177. package/dist/components/error-boundary/index.js +1 -1
  178. package/dist/components/face-scheme/index.js +1 -1
  179. package/dist/components/fetal-weight/index.js +1 -1
  180. package/dist/components/field-array/index.js +1 -1
  181. package/dist/components/file-manager/index.js +1 -1
  182. package/dist/components/finished-terminal/index.js +1 -1
  183. package/dist/components/fiscal-code-input/index.js +1 -1
  184. package/dist/components/freemium-paywall/index.js +1 -1
  185. package/dist/components/gestational-age-calculator/index.js +1 -1
  186. package/dist/components/hcg-doubling/index.js +1 -1
  187. package/dist/components/header/index.js +1 -1
  188. package/dist/components/header-settings/header-settings.d.ts +3 -3
  189. package/dist/components/header-settings/index.js +1 -1
  190. package/dist/components/hover-card/index.js +1 -1
  191. package/dist/components/icon-button/index.js +1 -1
  192. package/dist/components/icon-button-group/index.js +1 -1
  193. package/dist/components/icon-picker/index.js +1 -1
  194. package/dist/components/image-cropper/index.js +1 -1
  195. package/dist/components/info-tip/index.js +1 -1
  196. package/dist/components/key-value-pair/index.js +1 -1
  197. package/dist/components/locale-picker/index.js +1 -1
  198. package/dist/components/locale-picker/locale-picker.d.ts +7 -0
  199. package/dist/components/map-view/index.js +1 -1
  200. package/dist/components/message-card/index.js +1 -1
  201. package/dist/components/message-tray/index.js +1 -1
  202. package/dist/components/muscle-scheme/index.js +1 -1
  203. package/dist/components/notes-panel/index.js +1 -1
  204. package/dist/components/notification-card/index.js +1 -1
  205. package/dist/components/notification-tray/index.js +1 -1
  206. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  207. package/dist/components/optical-prescription/index.js +1 -1
  208. package/dist/components/panel-subview/index.js +1 -1
  209. package/dist/components/patient-details/index.js +1 -1
  210. package/dist/components/patient-details/patient-details.d.ts +1 -1
  211. package/dist/components/patient-search/index.js +1 -1
  212. package/dist/components/patient-summary-card/index.js +1 -1
  213. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  214. package/dist/components/patient-table/index.js +1 -1
  215. package/dist/components/payment-card/index.js +1 -1
  216. package/dist/components/periodontal-chart/index.js +1 -1
  217. package/dist/components/periodontal-chart-card/index.js +1 -1
  218. package/dist/components/popover/index.js +1 -1
  219. package/dist/components/practice-results/index.js +1 -1
  220. package/dist/components/pregnancy-dating/index.js +1 -1
  221. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  222. package/dist/components/privacy-lock/index.js +1 -1
  223. package/dist/components/product-hub-tray/index.js +1 -1
  224. package/dist/components/public-header/index.js +1 -1
  225. package/dist/components/radiograph-panel/index.js +1 -1
  226. package/dist/components/resource-chip/index.d.ts +1 -1
  227. package/dist/components/resource-chip/index.js +3 -2
  228. package/dist/components/resource-chip/resource-chip.d.ts +20 -0
  229. package/dist/components/reviews-panel/index.js +1 -1
  230. package/dist/components/rich-text-editor/index.js +2 -2
  231. package/dist/components/session-countdown/index.js +1 -1
  232. package/dist/components/sheet/index.js +1 -1
  233. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  234. package/dist/components/skeleton-scheme/index.js +1 -1
  235. package/dist/components/slot-grid/index.js +1 -1
  236. package/dist/components/streaming-text/index.js +1 -1
  237. package/dist/components/tab-bar/index.js +1 -1
  238. package/dist/components/tabs/index.js +1 -1
  239. package/dist/components/task-card/index.js +1 -1
  240. package/dist/components/task-editor/index.js +1 -1
  241. package/dist/components/task-tray/index.js +1 -1
  242. package/dist/components/tasks-panel/index.js +1 -1
  243. package/dist/components/theme-toggle/index.js +1 -1
  244. package/dist/components/toast/index.js +1 -1
  245. package/dist/components/token-insert-menu/index.js +1 -1
  246. package/dist/components/tool-rail/index.js +1 -1
  247. package/dist/components/tooth-scheme/index.js +1 -1
  248. package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -2
  249. package/dist/components/unit-converter/index.js +1 -1
  250. package/dist/components/warning-stack/index.js +1 -1
  251. package/dist/components/workflow/index.js +1 -1
  252. package/dist/components/workflow/workflow-card.d.ts +1 -1
  253. package/dist/components/workflow-status/index.js +1 -1
  254. package/dist/i18n/locales/ar.d.ts +5 -0
  255. package/dist/i18n/locales/ar.js +5 -0
  256. package/dist/i18n/locales/de.d.ts +5 -0
  257. package/dist/i18n/locales/de.js +5 -0
  258. package/dist/i18n/locales/el.d.ts +5 -0
  259. package/dist/i18n/locales/el.js +5 -0
  260. package/dist/i18n/locales/en.d.ts +5 -0
  261. package/dist/i18n/locales/en.js +5 -0
  262. package/dist/i18n/locales/es.d.ts +5 -0
  263. package/dist/i18n/locales/es.js +5 -0
  264. package/dist/i18n/locales/fr.d.ts +5 -0
  265. package/dist/i18n/locales/fr.js +5 -0
  266. package/dist/i18n/locales/hi.d.ts +5 -0
  267. package/dist/i18n/locales/hi.js +5 -0
  268. package/dist/i18n/locales/it.d.ts +5 -0
  269. package/dist/i18n/locales/it.js +5 -0
  270. package/dist/i18n/locales/ja.d.ts +5 -0
  271. package/dist/i18n/locales/ja.js +5 -0
  272. package/dist/i18n/locales/nl.d.ts +5 -0
  273. package/dist/i18n/locales/nl.js +5 -0
  274. package/dist/i18n/locales/pl.d.ts +5 -0
  275. package/dist/i18n/locales/pl.js +5 -0
  276. package/dist/i18n/locales/pt.d.ts +5 -0
  277. package/dist/i18n/locales/pt.js +5 -0
  278. package/dist/i18n/locales/ro.d.ts +5 -0
  279. package/dist/i18n/locales/ro.js +5 -0
  280. package/dist/i18n/locales/ru.d.ts +5 -0
  281. package/dist/i18n/locales/ru.js +5 -0
  282. package/dist/i18n/locales/sq.d.ts +5 -0
  283. package/dist/i18n/locales/sq.js +5 -0
  284. package/dist/i18n/locales/sv.d.ts +5 -0
  285. package/dist/i18n/locales/sv.js +5 -0
  286. package/dist/i18n/locales/tr.d.ts +5 -0
  287. package/dist/i18n/locales/tr.js +5 -0
  288. package/dist/i18n/locales/zh.d.ts +5 -0
  289. package/dist/i18n/locales/zh.js +5 -0
  290. package/dist/index.js +478 -477
  291. package/dist/locales/ar.json +5 -0
  292. package/dist/locales/de.json +5 -0
  293. package/dist/locales/el.json +5 -0
  294. package/dist/locales/en.json +5 -0
  295. package/dist/locales/es.json +5 -0
  296. package/dist/locales/fr.json +5 -0
  297. package/dist/locales/hi.json +5 -0
  298. package/dist/locales/it.json +5 -0
  299. package/dist/locales/ja.json +5 -0
  300. package/dist/locales/nl.json +5 -0
  301. package/dist/locales/pl.json +5 -0
  302. package/dist/locales/pt.json +5 -0
  303. package/dist/locales/ro.json +5 -0
  304. package/dist/locales/ru.json +5 -0
  305. package/dist/locales/sq.json +5 -0
  306. package/dist/locales/sv.json +5 -0
  307. package/dist/locales/tr.json +5 -0
  308. package/dist/locales/zh.json +5 -0
  309. package/dist/patterns/alia-assistant/index.js +1 -1
  310. package/dist/patterns/anamnesis/index.js +1 -1
  311. package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
  312. package/dist/patterns/calendar/index.js +1 -1
  313. package/dist/patterns/help-me-write-templates/index.js +1 -1
  314. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  315. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  316. package/dist/patterns/signature-request/index.js +1 -1
  317. package/dist/tokens.css +2 -1
  318. package/package.json +1 -1
  319. package/dist/_chunks/calendar-workspace-CWRH4x15.js +0 -10577
  320. package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
  321. package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
  322. package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
  323. package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
@@ -1,86 +1,86 @@
1
1
  import { jsx as o, jsxs as _ } from "react/jsx-runtime";
2
- import { forwardRef as I, createElement as ee, useId as se, useState as q, useCallback as T, useMemo as U, useRef as G, useImperativeHandle as oe, useEffect as ae } from "react";
3
- import { c as J } from "./index-D2ZczOXr.js";
4
- import { useTranslation as A } from "react-i18next";
5
- import { _ as y, R as te } from "./index-4xgbg-sn.js";
6
- import { I as ne } from "./icon-button-CY7GU_Se.js";
7
- import { P as L } from "./popover-Dvb40vPH.js";
8
- import { F as ie, f as re, s as K, _ as le, a as ce, b as de, c as ue, d as ge, e as me, g as _e, h as fe, i as ve, j as pe, k as he, l as ye, m as be, n as Ne, o as Le, p as xe, q as Ce, r as Se, t as ke, u as we, v as Ee, w as Re, x as Pe, y as Ie, z as Te, A as Ae, B as De, C as je, D as Fe, E as Oe, G as Ue, H as Ge, I as ze, J as He, K as Me, L as Be } from "./flag-view-udarpAot.js";
9
- import { b as qe } from "./menu-row-BAr8bx1I.js";
10
- import { c as Je, a as Ke, d as Ve } from "./input-surface-xyERuLU_.js";
11
- import { LOCALES_WITH_BUNDLES as D } from "../i18n/config.js";
12
- import { u as We } from "./use-locale-BkCIHujH.js";
2
+ import { forwardRef as P, createElement as se, useId as oe, useState as B, useCallback as I, useEffect as ae, useMemo as U, useRef as G, useImperativeHandle as te } from "react";
3
+ import { c as q } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as T } from "react-i18next";
5
+ import { _ as y, R as ne } from "./index-4xgbg-sn.js";
6
+ import { I as ie } from "./icon-button-JAXAkqWC.js";
7
+ import { P as b } from "./popover-SASSeAdY.js";
8
+ import { F as re, f as le, s as J, _ as ce, a as de, b as ue, c as ge, d as me, e as _e, g as fe, h as ve, i as pe, j as he, k as ye, l as be, m as Ne, n as Le, o as xe, p as Ce, q as Se, r as ke, t as we, u as Ee, v as Re, w as Pe, x as Ie, y as Te, z as Ae, A as De, B as je, C as Fe, D as Oe, E as Ue, G as Ge, H as ze, I as He, J as Me, K as Be, L as qe } from "./flag-view-udarpAot.js";
9
+ import { b as Je } from "./menu-row-BAr8bx1I.js";
10
+ import { c as Ke, a as Ve, d as We } from "./input-surface-xyERuLU_.js";
11
+ import { LOCALES_WITH_BUNDLES as A } from "../i18n/config.js";
12
+ import { u as K } from "./use-locale-BkCIHujH.js";
13
13
  import { u as Ye } from "./registry-DvAUVLHh.js";
14
- import { G as j } from "./globe-sHBW1JN5.js";
14
+ import { G as D } from "./globe-sHBW1JN5.js";
15
15
  import { M as Qe } from "./monitor-xXSrufmP.js";
16
16
  import { C as z } from "./check-DrFSN__t.js";
17
- const F = K(
17
+ const j = J(
18
18
  () => /* @__PURE__ */ Object.assign({
19
- "/node_modules/country-flag-icons/3x2/AL.svg": Se,
20
- "/node_modules/country-flag-icons/3x2/CN.svg": Ce,
21
- "/node_modules/country-flag-icons/3x2/DE.svg": xe,
22
- "/node_modules/country-flag-icons/3x2/ES.svg": Le,
23
- "/node_modules/country-flag-icons/3x2/FR.svg": Ne,
24
- "/node_modules/country-flag-icons/3x2/GB.svg": be,
25
- "/node_modules/country-flag-icons/3x2/GR.svg": ye,
26
- "/node_modules/country-flag-icons/3x2/IN.svg": he,
27
- "/node_modules/country-flag-icons/3x2/IT.svg": pe,
28
- "/node_modules/country-flag-icons/3x2/JP.svg": ve,
29
- "/node_modules/country-flag-icons/3x2/NL.svg": fe,
30
- "/node_modules/country-flag-icons/3x2/PL.svg": _e,
31
- "/node_modules/country-flag-icons/3x2/PT.svg": me,
32
- "/node_modules/country-flag-icons/3x2/RO.svg": ge,
33
- "/node_modules/country-flag-icons/3x2/RU.svg": ue,
34
- "/node_modules/country-flag-icons/3x2/SA.svg": de,
35
- "/node_modules/country-flag-icons/3x2/SE.svg": ce,
36
- "/node_modules/country-flag-icons/3x2/TR.svg": le
19
+ "/node_modules/country-flag-icons/3x2/AL.svg": ke,
20
+ "/node_modules/country-flag-icons/3x2/CN.svg": Se,
21
+ "/node_modules/country-flag-icons/3x2/DE.svg": Ce,
22
+ "/node_modules/country-flag-icons/3x2/ES.svg": xe,
23
+ "/node_modules/country-flag-icons/3x2/FR.svg": Le,
24
+ "/node_modules/country-flag-icons/3x2/GB.svg": Ne,
25
+ "/node_modules/country-flag-icons/3x2/GR.svg": be,
26
+ "/node_modules/country-flag-icons/3x2/IN.svg": ye,
27
+ "/node_modules/country-flag-icons/3x2/IT.svg": he,
28
+ "/node_modules/country-flag-icons/3x2/JP.svg": pe,
29
+ "/node_modules/country-flag-icons/3x2/NL.svg": ve,
30
+ "/node_modules/country-flag-icons/3x2/PL.svg": fe,
31
+ "/node_modules/country-flag-icons/3x2/PT.svg": _e,
32
+ "/node_modules/country-flag-icons/3x2/RO.svg": me,
33
+ "/node_modules/country-flag-icons/3x2/RU.svg": ge,
34
+ "/node_modules/country-flag-icons/3x2/SA.svg": ue,
35
+ "/node_modules/country-flag-icons/3x2/SE.svg": de,
36
+ "/node_modules/country-flag-icons/3x2/TR.svg": ce
37
37
  })
38
- ), Xe = K(
38
+ ), Xe = J(
39
39
  () => /* @__PURE__ */ Object.assign({
40
- "/node_modules/country-flag-icons/1x1/AL.svg": Be,
41
- "/node_modules/country-flag-icons/1x1/CN.svg": Me,
42
- "/node_modules/country-flag-icons/1x1/DE.svg": He,
43
- "/node_modules/country-flag-icons/1x1/ES.svg": ze,
44
- "/node_modules/country-flag-icons/1x1/FR.svg": Ge,
45
- "/node_modules/country-flag-icons/1x1/GB.svg": Ue,
46
- "/node_modules/country-flag-icons/1x1/GR.svg": Oe,
47
- "/node_modules/country-flag-icons/1x1/IN.svg": Fe,
48
- "/node_modules/country-flag-icons/1x1/IT.svg": je,
49
- "/node_modules/country-flag-icons/1x1/JP.svg": De,
50
- "/node_modules/country-flag-icons/1x1/NL.svg": Ae,
51
- "/node_modules/country-flag-icons/1x1/PL.svg": Te,
52
- "/node_modules/country-flag-icons/1x1/PT.svg": Ie,
53
- "/node_modules/country-flag-icons/1x1/RO.svg": Pe,
54
- "/node_modules/country-flag-icons/1x1/RU.svg": Re,
55
- "/node_modules/country-flag-icons/1x1/SA.svg": Ee,
56
- "/node_modules/country-flag-icons/1x1/SE.svg": we,
57
- "/node_modules/country-flag-icons/1x1/TR.svg": ke
40
+ "/node_modules/country-flag-icons/1x1/AL.svg": qe,
41
+ "/node_modules/country-flag-icons/1x1/CN.svg": Be,
42
+ "/node_modules/country-flag-icons/1x1/DE.svg": Me,
43
+ "/node_modules/country-flag-icons/1x1/ES.svg": He,
44
+ "/node_modules/country-flag-icons/1x1/FR.svg": ze,
45
+ "/node_modules/country-flag-icons/1x1/GB.svg": Ge,
46
+ "/node_modules/country-flag-icons/1x1/GR.svg": Ue,
47
+ "/node_modules/country-flag-icons/1x1/IN.svg": Oe,
48
+ "/node_modules/country-flag-icons/1x1/IT.svg": Fe,
49
+ "/node_modules/country-flag-icons/1x1/JP.svg": je,
50
+ "/node_modules/country-flag-icons/1x1/NL.svg": De,
51
+ "/node_modules/country-flag-icons/1x1/PL.svg": Ae,
52
+ "/node_modules/country-flag-icons/1x1/PT.svg": Te,
53
+ "/node_modules/country-flag-icons/1x1/RO.svg": Ie,
54
+ "/node_modules/country-flag-icons/1x1/RU.svg": Pe,
55
+ "/node_modules/country-flag-icons/1x1/SA.svg": Re,
56
+ "/node_modules/country-flag-icons/1x1/SE.svg": Ee,
57
+ "/node_modules/country-flag-icons/1x1/TR.svg": we
58
58
  })
59
59
  );
60
60
  Object.freeze(
61
- Object.keys(F).sort()
61
+ Object.keys(j).sort()
62
62
  );
63
- function O(e) {
64
- return e.toUpperCase() in F;
63
+ function F(e) {
64
+ return e.toUpperCase() in j;
65
65
  }
66
- const E = I(
66
+ const E = P(
67
67
  ({
68
68
  country: e,
69
69
  label: s,
70
- shape: d = "rectangle",
71
- size: l = "sm",
72
- rounded: r = "sm",
73
- className: c,
74
- ...i
75
- }, t) => {
76
- const n = e.toUpperCase();
77
- return ee(ie, {
78
- ref: t,
79
- code: n,
80
- src: (d === "square" ? Xe : F)[n],
70
+ shape: l = "rectangle",
71
+ size: r = "sm",
72
+ rounded: i = "sm",
73
+ className: d,
74
+ ...c
75
+ }, n) => {
76
+ const t = e.toUpperCase();
77
+ return se(re, {
78
+ ref: n,
79
+ code: t,
80
+ src: (l === "square" ? Xe : j)[t],
81
81
  label: s,
82
- className: re({ shape: d, size: l, rounded: r }, c),
83
- ...i
82
+ className: le({ shape: l, size: r, rounded: i }, d),
83
+ ...c
84
84
  });
85
85
  }
86
86
  );
@@ -231,9 +231,9 @@ const x = {
231
231
  dir: "ltr"
232
232
  }
233
233
  };
234
- D.map((e) => x[e]);
234
+ A.map((e) => x[e]);
235
235
  const $e = [
236
- ...D.map((e) => x[e])
236
+ ...A.map((e) => x[e])
237
237
  ].sort((e, s) => e.englishName.localeCompare(s.englishName, "en")), Ze = {
238
238
  id: "locale-picker",
239
239
  // Persists a single locale choice via the handle's `setLocale` → set_value.
@@ -284,12 +284,12 @@ const $e = [
284
284
  description: "Marks the LocalePicker wrapper."
285
285
  }
286
286
  }
287
- }, b = "alfadocs-ui.locale", m = "system";
287
+ }, N = "alfadocs-ui.locale", m = "system";
288
288
  let H = !1;
289
289
  function v(e) {
290
- return typeof e == "string" && D.includes(e);
290
+ return typeof e == "string" && A.includes(e);
291
291
  }
292
- function M(e) {
292
+ function V(e) {
293
293
  if (typeof window > "u") return null;
294
294
  try {
295
295
  return window.localStorage.getItem(e);
@@ -297,60 +297,64 @@ function M(e) {
297
297
  return null;
298
298
  }
299
299
  }
300
- function V(e, s) {
300
+ function W(e, s) {
301
301
  if (!(typeof window > "u"))
302
302
  try {
303
303
  window.localStorage.setItem(e, s);
304
304
  } catch {
305
305
  }
306
306
  }
307
- function P() {
307
+ function O() {
308
308
  if (typeof navigator > "u") return "en";
309
309
  const e = navigator.language;
310
310
  if (!e) return "en";
311
311
  const s = e.toLowerCase().split("-")[0];
312
312
  return v(s) ? s : "en";
313
313
  }
314
- function N(e) {
314
+ function L(e) {
315
315
  if (typeof document > "u") return;
316
316
  const s = document.documentElement;
317
317
  s.lang = e, s.dir = x[e].dir;
318
318
  }
319
- function W(e) {
319
+ function Y(e) {
320
320
  if (!(typeof window > "u"))
321
321
  try {
322
322
  window.localStorage.removeItem(e);
323
323
  } catch {
324
324
  }
325
325
  }
326
- function Y() {
327
- const { locale: e, setLocale: s } = We(), [d, l] = q(
328
- () => M(b) === null
329
- ), r = v(e) ? e : "en", c = T(
330
- (i) => {
331
- if (i === m) {
332
- W(b);
333
- const t = P();
334
- s(t), N(t), l(!0);
326
+ function Q() {
327
+ const { locale: e, setLocale: s } = K(), [l, r] = B(
328
+ () => V(N) === null
329
+ ), i = v(e) ? e : "en", d = I(
330
+ (c) => {
331
+ if (c === m) {
332
+ Y(N);
333
+ const n = O();
334
+ s(n), L(n), r(!0);
335
335
  return;
336
336
  }
337
- v(i) && (s(i), N(i), V(b, i), l(!1));
337
+ v(c) && (s(c), L(c), W(N, c), r(!1));
338
338
  },
339
339
  [s]
340
340
  );
341
- return ae(() => {
341
+ return es(), { locale: i, isSystemDefault: l, setLocale: d };
342
+ }
343
+ function es() {
344
+ const { locale: e, setLocale: s } = K();
345
+ ae(() => {
342
346
  if (H) return;
343
347
  H = !0;
344
- const i = M(b);
345
- if (v(i)) {
346
- i !== e && s(i), N(i);
348
+ const l = V(N);
349
+ if (v(l)) {
350
+ l !== e && s(l), L(l);
347
351
  return;
348
352
  }
349
- const t = P();
350
- s(t), N(t);
351
- }, []), { locale: r, isSystemDefault: d, setLocale: c };
353
+ const r = O();
354
+ s(r), L(r);
355
+ }, []);
352
356
  }
353
- const Q = J("ds:inline-flex ds:items-center", {
357
+ const X = q("ds:inline-flex ds:items-center", {
354
358
  variants: {
355
359
  variant: {
356
360
  icon: "",
@@ -358,7 +362,7 @@ const Q = J("ds:inline-flex ds:items-center", {
358
362
  }
359
363
  },
360
364
  defaultVariants: { variant: "icon" }
361
- }), es = [
365
+ }), ss = [
362
366
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
363
367
  "ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-sm)]",
364
368
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
@@ -369,21 +373,21 @@ const Q = J("ds:inline-flex ds:items-center", {
369
373
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
370
374
  "ds:disabled:opacity-50 ds:disabled:cursor-not-allowed",
371
375
  "type-body-sm"
372
- ].join(" "), X = [
376
+ ].join(" "), $ = [
373
377
  "ds:w-[18rem] ds:rounded-[var(--radius-md)]",
374
378
  "ds:bg-background ds:text-foreground ds:border ds:border-border",
375
379
  "ds:shadow-[var(--shadow-lg)]",
376
380
  "ds:overflow-hidden"
377
- ].join(" "), B = [
381
+ ].join(" "), M = [
378
382
  "ds:relative ds:flex ds:cursor-pointer ds:select-none",
379
383
  "ds:items-center ds:gap-[var(--spacing-sm)]",
380
384
  "ds:rounded-[var(--radius-sm)]",
381
385
  "ds:min-h-[var(--min-target-size)]",
382
386
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
383
387
  "ds:text-foreground ds:outline-none",
384
- qe.selected,
388
+ Je.selected,
385
389
  "ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-not-allowed"
386
- ].join(" "), ss = J("ds:flex ds:flex-col", {
390
+ ].join(" "), os = q("ds:flex ds:flex-col", {
387
391
  variants: {
388
392
  loading: {
389
393
  true: "ds:opacity-60 ds:pointer-events-none",
@@ -391,53 +395,53 @@ const Q = J("ds:inline-flex ds:items-center", {
391
395
  }
392
396
  },
393
397
  defaultVariants: { loading: !1 }
394
- }), R = I(
398
+ }), R = P(
395
399
  ({
396
400
  value: e,
397
401
  onValueChange: s,
398
- inputId: d,
399
- disabled: l = !1,
400
- loading: r = !1,
401
- className: c
402
- }, i) => {
403
- const { t } = A(), n = Y(), S = n.locale, C = e ?? (n.isSystemDefault ? m : n.locale), f = se(), k = d ?? `${f}-search`, [w, p] = q(""), h = T(
402
+ inputId: l,
403
+ disabled: r = !1,
404
+ loading: i = !1,
405
+ className: d
406
+ }, c) => {
407
+ const { t: n } = T(), t = Q(), S = t.locale, C = e ?? (t.isSystemDefault ? m : t.locale), f = oe(), k = l ?? `${f}-search`, [w, p] = B(""), h = I(
404
408
  (a) => {
405
- if (!(l || r)) {
409
+ if (!(r || i)) {
406
410
  if (a === m) {
407
- s ? s(m) : n.setLocale(m);
411
+ s ? s(m) : t.setLocale(m);
408
412
  return;
409
413
  }
410
- v(a) && (s ? s(a) : n.setLocale(a));
414
+ v(a) && (s ? s(a) : t.setLocale(a));
411
415
  }
412
416
  },
413
- [l, r, s, n]
417
+ [r, i, s, t]
414
418
  );
415
419
  return /* @__PURE__ */ o(
416
420
  "div",
417
421
  {
418
- ref: i,
419
- className: [ss({ loading: r }), c].filter(Boolean).join(" "),
422
+ ref: c,
423
+ className: [os({ loading: i }), d].filter(Boolean).join(" "),
420
424
  "data-component": "locale-picker-search-list",
421
425
  children: /* @__PURE__ */ _(
422
426
  y,
423
427
  {
424
- label: t("navigation.localePicker.commandLabel"),
425
- filter: te,
428
+ label: n("navigation.localePicker.commandLabel"),
429
+ filter: ne,
426
430
  shouldFilter: !0,
427
431
  children: [
428
432
  /* @__PURE__ */ _(
429
433
  "div",
430
434
  {
431
435
  className: [
432
- Je,
433
- Ke.sm,
436
+ Ke,
434
437
  Ve.sm,
438
+ We.sm,
435
439
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
436
440
  "ds:m-[var(--spacing-xs)]"
437
441
  ].join(" "),
438
442
  children: [
439
443
  /* @__PURE__ */ o(
440
- j,
444
+ D,
441
445
  {
442
446
  "aria-hidden": "true",
443
447
  className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
@@ -449,9 +453,9 @@ const Q = J("ds:inline-flex ds:items-center", {
449
453
  id: k,
450
454
  value: w,
451
455
  onValueChange: p,
452
- placeholder: t("navigation.localePicker.searchPlaceholder"),
453
- "aria-label": t("navigation.localePicker.searchLabel"),
454
- disabled: l || r,
456
+ placeholder: n("navigation.localePicker.searchPlaceholder"),
457
+ "aria-label": n("navigation.localePicker.searchLabel"),
458
+ disabled: r || i,
455
459
  className: [
456
460
  "ds:peer ds:flex-1 ds:bg-transparent ds:border-0 ds:outline-none",
457
461
  "ds:placeholder:text-muted-foreground ds:text-foreground",
@@ -477,7 +481,7 @@ const Q = J("ds:inline-flex ds:items-center", {
477
481
  "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
478
482
  "type-body-sm ds:text-muted-foreground"
479
483
  ].join(" "),
480
- children: t("navigation.localePicker.empty")
484
+ children: n("navigation.localePicker.empty")
481
485
  }
482
486
  ),
483
487
  (() => {
@@ -494,9 +498,9 @@ const Q = J("ds:inline-flex ds:items-center", {
494
498
  u.nativeName,
495
499
  u.englishName
496
500
  ],
497
- disabled: l || r,
501
+ disabled: r || i,
498
502
  onSelect: h,
499
- className: B,
503
+ className: M,
500
504
  "aria-selected": a || void 0,
501
505
  "data-current": a ? "true" : void 0,
502
506
  children: [
@@ -507,7 +511,7 @@ const Q = J("ds:inline-flex ds:items-center", {
507
511
  className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
508
512
  }
509
513
  ),
510
- /* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: t("navigation.localePicker.systemDefault", {
514
+ /* @__PURE__ */ o("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: n("navigation.localePicker.systemDefault", {
511
515
  locale: u.nativeName
512
516
  }) }),
513
517
  a ? /* @__PURE__ */ o(
@@ -517,7 +521,7 @@ const Q = J("ds:inline-flex ds:items-center", {
517
521
  className: "ds:size-4 ds:text-primary ds:shrink-0"
518
522
  }
519
523
  ) : null,
520
- a ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: t("navigation.localePicker.currentSelection") }) : null
524
+ a ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: n("navigation.localePicker.currentSelection") }) : null
521
525
  ]
522
526
  },
523
527
  m
@@ -530,14 +534,14 @@ const Q = J("ds:inline-flex ds:items-center", {
530
534
  {
531
535
  value: a.code,
532
536
  keywords: [a.nativeName, a.englishName],
533
- disabled: l || r,
537
+ disabled: r || i,
534
538
  onSelect: h,
535
- className: B,
539
+ className: M,
536
540
  "aria-selected": u || void 0,
537
541
  "data-current": u ? "true" : void 0,
538
542
  lang: a.code,
539
543
  children: [
540
- O(a.countryCode) ? /* @__PURE__ */ o(
544
+ F(a.countryCode) ? /* @__PURE__ */ o(
541
545
  E,
542
546
  {
543
547
  country: a.countryCode,
@@ -570,7 +574,7 @@ const Q = J("ds:inline-flex ds:items-center", {
570
574
  className: "ds:size-4 ds:text-primary ds:shrink-0"
571
575
  }
572
576
  ) : null,
573
- u ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: t("navigation.localePicker.currentSelection") }) : null
577
+ u ? /* @__PURE__ */ o("span", { className: "ds:sr-only", children: n("navigation.localePicker.currentSelection") }) : null
574
578
  ]
575
579
  },
576
580
  a.code
@@ -587,35 +591,35 @@ const Q = J("ds:inline-flex ds:items-center", {
587
591
  }
588
592
  );
589
593
  R.displayName = "LocalePicker.SearchList";
590
- function os({
594
+ function as({
591
595
  state: e,
592
596
  rest: s,
593
- forwardedRef: d,
594
- className: l,
595
- disabled: r,
596
- loading: c,
597
- popoverSide: i
597
+ forwardedRef: l,
598
+ className: r,
599
+ disabled: i,
600
+ loading: d,
601
+ popoverSide: c
598
602
  }) {
599
- const { t } = A(), n = x[e.locale];
603
+ const { t: n } = T(), t = x[e.locale];
600
604
  return /* @__PURE__ */ o(
601
605
  "div",
602
606
  {
603
- ref: d,
607
+ ref: l,
604
608
  "data-component": "locale-picker",
605
609
  "data-component-id": s.id,
606
- className: Q({ variant: "icon", className: l }),
610
+ className: X({ variant: "icon", className: r }),
607
611
  ...s,
608
- children: /* @__PURE__ */ _(L.Root, { children: [
609
- /* @__PURE__ */ o(L.Trigger, { asChild: !0, children: /* @__PURE__ */ o(
610
- ne,
612
+ children: /* @__PURE__ */ _(b.Root, { children: [
613
+ /* @__PURE__ */ o(b.Trigger, { asChild: !0, children: /* @__PURE__ */ o(
614
+ ie,
611
615
  {
612
- disabled: r || c,
616
+ disabled: i || d,
613
617
  icon: /* @__PURE__ */ _("span", { className: "ds:relative ds:inline-flex ds:items-center ds:justify-center", children: [
614
- /* @__PURE__ */ o(j, { "aria-hidden": !0, className: "ds:size-5" }),
615
- O(n.countryCode) ? /* @__PURE__ */ o(
618
+ /* @__PURE__ */ o(D, { "aria-hidden": !0, className: "ds:size-5" }),
619
+ F(t.countryCode) ? /* @__PURE__ */ o(
616
620
  E,
617
621
  {
618
- country: n.countryCode,
622
+ country: t.countryCode,
619
623
  size: "sm",
620
624
  shape: "rectangle",
621
625
  rounded: "sm",
@@ -633,26 +637,26 @@ function os({
633
637
  }
634
638
  ) : null
635
639
  ] }),
636
- "aria-label": t("navigation.localePicker.trigger", {
637
- locale: n.nativeName
640
+ "aria-label": n("navigation.localePicker.trigger", {
641
+ locale: t.nativeName
638
642
  })
639
643
  }
640
644
  ) }),
641
645
  /* @__PURE__ */ o(
642
- L.Content,
646
+ b.Content,
643
647
  {
644
- side: i,
648
+ side: c,
645
649
  align: "start",
646
650
  sideOffset: 8,
647
- className: X,
648
- "aria-label": t("navigation.localePicker.popupLabel"),
651
+ className: $,
652
+ "aria-label": n("navigation.localePicker.popupLabel"),
649
653
  children: /* @__PURE__ */ o(
650
654
  R,
651
655
  {
652
656
  value: e.locale,
653
657
  onValueChange: e.setLocale,
654
- disabled: r,
655
- loading: c
658
+ disabled: i,
659
+ loading: d
656
660
  }
657
661
  )
658
662
  }
@@ -661,71 +665,71 @@ function os({
661
665
  }
662
666
  );
663
667
  }
664
- function as({
668
+ function ts({
665
669
  state: e,
666
670
  rest: s,
667
- forwardedRef: d,
668
- className: l,
669
- disabled: r,
670
- loading: c,
671
- popoverSide: i
671
+ forwardedRef: l,
672
+ className: r,
673
+ disabled: i,
674
+ loading: d,
675
+ popoverSide: c
672
676
  }) {
673
- const { t } = A(), n = x[e.locale];
677
+ const { t: n } = T(), t = x[e.locale];
674
678
  return /* @__PURE__ */ o(
675
679
  "div",
676
680
  {
677
- ref: d,
681
+ ref: l,
678
682
  "data-component": "locale-picker",
679
683
  "data-component-id": s.id,
680
- className: Q({ variant: "compact", className: l }),
684
+ className: X({ variant: "compact", className: r }),
681
685
  ...s,
682
- children: /* @__PURE__ */ _(L.Root, { children: [
683
- /* @__PURE__ */ o(L.Trigger, { asChild: !0, children: /* @__PURE__ */ _(
686
+ children: /* @__PURE__ */ _(b.Root, { children: [
687
+ /* @__PURE__ */ o(b.Trigger, { asChild: !0, children: /* @__PURE__ */ _(
684
688
  "button",
685
689
  {
686
690
  type: "button",
687
- disabled: r || c,
688
- className: es,
689
- "aria-label": t("navigation.localePicker.trigger", {
690
- locale: n.nativeName
691
+ disabled: i || d,
692
+ className: ss,
693
+ "aria-label": n("navigation.localePicker.trigger", {
694
+ locale: t.nativeName
691
695
  }),
692
696
  children: [
693
- O(n.countryCode) ? /* @__PURE__ */ o(
697
+ F(t.countryCode) ? /* @__PURE__ */ o(
694
698
  E,
695
699
  {
696
- country: n.countryCode,
700
+ country: t.countryCode,
697
701
  size: "sm",
698
702
  shape: "rectangle",
699
703
  rounded: "sm",
700
704
  className: "ds:shrink-0"
701
705
  }
702
- ) : /* @__PURE__ */ o(j, { "aria-hidden": !0, className: "ds:size-4 ds:shrink-0" }),
706
+ ) : /* @__PURE__ */ o(D, { "aria-hidden": !0, className: "ds:size-4 ds:shrink-0" }),
703
707
  /* @__PURE__ */ o(
704
708
  "span",
705
709
  {
706
710
  className: "ds:flex-1 ds:truncate type-body-sm",
707
- lang: n.code,
708
- children: n.nativeName
711
+ lang: t.code,
712
+ children: t.nativeName
709
713
  }
710
714
  )
711
715
  ]
712
716
  }
713
717
  ) }),
714
718
  /* @__PURE__ */ o(
715
- L.Content,
719
+ b.Content,
716
720
  {
717
- side: i,
721
+ side: c,
718
722
  align: "start",
719
723
  sideOffset: 8,
720
- className: X,
721
- "aria-label": t("navigation.localePicker.popupLabel"),
724
+ className: $,
725
+ "aria-label": n("navigation.localePicker.popupLabel"),
722
726
  children: /* @__PURE__ */ o(
723
727
  R,
724
728
  {
725
729
  value: e.locale,
726
730
  onValueChange: e.setLocale,
727
- disabled: r,
728
- loading: c
731
+ disabled: i,
732
+ loading: d
729
733
  }
730
734
  )
731
735
  }
@@ -734,31 +738,31 @@ function as({
734
738
  }
735
739
  );
736
740
  }
737
- const $ = I(
741
+ const Z = P(
738
742
  (e, s) => {
739
743
  const {
740
- variant: d = "icon",
741
- value: l,
742
- onValueChange: r,
743
- disabled: c = !1,
744
- loading: i = !1,
745
- popoverSide: t = "bottom",
746
- className: n,
744
+ variant: l = "icon",
745
+ value: r,
746
+ onValueChange: i,
747
+ disabled: d = !1,
748
+ loading: c = !1,
749
+ popoverSide: n = "bottom",
750
+ className: t,
747
751
  id: S,
748
752
  ...C
749
- } = e, f = Y(), k = l ?? f.locale, w = T(
753
+ } = e, f = Q(), k = r ?? f.locale, w = I(
750
754
  (g) => {
751
- if (r) {
752
- if (r(g), g === m) {
753
- W(b);
754
- const Z = P();
755
- N(Z);
756
- } else v(g) && (N(g), V(b, g));
755
+ if (i) {
756
+ if (i(g), g === m) {
757
+ Y(N);
758
+ const ee = O();
759
+ L(ee);
760
+ } else v(g) && (L(g), W(N, g));
757
761
  return;
758
762
  }
759
763
  f.setLocale(g);
760
764
  },
761
- [r, f]
765
+ [i, f]
762
766
  ), p = U(
763
767
  () => ({
764
768
  locale: k,
@@ -767,7 +771,7 @@ const $ = I(
767
771
  }),
768
772
  [k, f.isSystemDefault, w]
769
773
  ), h = G(null);
770
- oe(s, () => h.current, []);
774
+ te(s, () => h.current, []);
771
775
  const a = G(p);
772
776
  a.current = p;
773
777
  const u = U(
@@ -783,39 +787,40 @@ const $ = I(
783
787
  }),
784
788
  []
785
789
  );
786
- return Ye(Ze, u, S), d === "compact" ? /* @__PURE__ */ o(
787
- as,
790
+ return Ye(Ze, u, S), l === "compact" ? /* @__PURE__ */ o(
791
+ ts,
788
792
  {
789
793
  state: p,
790
794
  rest: C,
791
795
  forwardedRef: h,
792
- className: n,
793
- disabled: c,
794
- loading: i,
795
- popoverSide: t
796
+ className: t,
797
+ disabled: d,
798
+ loading: c,
799
+ popoverSide: n
796
800
  }
797
801
  ) : /* @__PURE__ */ o(
798
- os,
802
+ as,
799
803
  {
800
804
  state: p,
801
805
  rest: C,
802
806
  forwardedRef: h,
803
- className: n,
804
- disabled: c,
805
- loading: i,
806
- popoverSide: t
807
+ className: t,
808
+ disabled: d,
809
+ loading: c,
810
+ popoverSide: n
807
811
  }
808
812
  );
809
813
  }
810
814
  );
811
- $.displayName = "LocalePicker";
812
- const bs = Object.assign($, {
815
+ Z.displayName = "LocalePicker";
816
+ const Ns = Object.assign(Z, {
813
817
  SearchList: R
814
818
  });
815
819
  export {
816
- b as L,
817
- bs as a,
820
+ N as L,
821
+ Ns as a,
818
822
  R as b,
819
- x as c
823
+ x as c,
824
+ es as u
820
825
  };
821
- //# sourceMappingURL=locale-picker-DGkQmhV9.js.map
826
+ //# sourceMappingURL=locale-picker-Z42P8T-i.js.map