@alfadocs/ui-kit 1.50.1 → 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 (320) 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-E6Yu4lzC.js → calendar-aqzmITxw.js} +542 -510
  21. package/dist/_chunks/calendar-workspace-BqoPkCUp.js +10597 -0
  22. package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-amX33mMF.js} +2 -2
  23. package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-DNkEucjN.js} +2 -2
  24. package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-CJi853Rf.js} +2 -2
  25. package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-2EhJsAtl.js} +2 -2
  26. package/dist/_chunks/{chart-VjuXDXOZ.js → chart-B2HnwMP5.js} +3 -3
  27. package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-CHUsUFOD.js} +2 -2
  28. package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DTcRGhNo.js} +3 -3
  29. package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-BrwcZNPq.js} +2 -2
  30. package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-DMheLE65.js} +3 -3
  31. package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-zQLGGFKG.js} +2 -2
  32. package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-5iuM3jcm.js} +3 -3
  33. package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-C-KvrgOG.js} +2 -2
  34. package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-DQMCeEzn.js} +2 -2
  35. package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-H7uph3HO.js} +2 -2
  36. package/dist/_chunks/{data-table-CrI3_bjH.js → data-table-C4yPR89K.js} +7 -7
  37. package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dd_O1nPY.js} +3 -3
  38. package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-DOPu69Jg.js} +2 -2
  39. package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-Dzh1YAz8.js} +3 -3
  40. package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-BSVwMR4V.js} +2 -2
  41. package/dist/_chunks/dropdown-menu-DIzxr_lp.js +594 -0
  42. package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-DUjw4w5O.js} +2 -2
  43. package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-Cch3RIJL.js} +3 -3
  44. package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-CRQib91p.js} +3 -3
  45. package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-DsA7vR5C.js} +2 -2
  46. package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-Ck1wVWdN.js} +2 -2
  47. package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-Cvs21xPr.js} +3 -3
  48. package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary-C_HAzVLO.js} +2 -2
  49. package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-DVZZTuXT.js} +5 -5
  50. package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-B-lO-948.js} +2 -2
  51. package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-B3IDOct8.js} +3 -3
  52. package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-COUb-w8j.js} +7 -7
  53. package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BrAWwfOw.js} +2 -2
  54. package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CwUwhUZy.js} +2 -2
  55. package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-DiPJrL18.js} +2 -2
  56. package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-BVPtrWKf.js} +2 -2
  57. package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-CPktiA3H.js} +2 -2
  58. package/dist/_chunks/{header-CCjp5GvE.js → header-C8NbLgVq.js} +2 -2
  59. package/dist/_chunks/header-settings-D0M3WNTS.js +305 -0
  60. package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CYAKuXZ3.js} +5 -5
  61. package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-BM0vNmq4.js} +2 -2
  62. package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
  63. package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-ud2BLmxe.js} +3 -3
  64. package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-B1PwkUHy.js} +3 -3
  65. package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-DM6hpXUw.js} +2 -2
  66. package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-CywkQ1NX.js} +2 -2
  67. package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-Fu9AHxR6.js} +2 -2
  68. package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-BL1J3_Km.js} +2 -2
  69. package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-B9Qn6VIc.js} +6 -6
  70. package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-BcW3F1j9.js} +2 -2
  71. package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-Z42P8T-i.js} +218 -213
  72. package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-DxYPJjM9.js} +2 -2
  73. package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rTTvWRrE.js} +6 -6
  74. package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-CUBPPn4Z.js} +3 -3
  75. package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-uy3DAIbn.js} +4 -4
  76. package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-CH-vQ7Ch.js} +2 -2
  77. package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-Dka4Z2M7.js} +4 -4
  78. package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-Hy8w3UWx.js} +3 -3
  79. package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-VuV3XXB8.js} +4 -4
  80. package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-C2n6d0HO.js} +2 -2
  81. package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
  82. package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-D9sAM3qh.js} +3 -3
  83. package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-CT04C_lZ.js} +277 -257
  84. package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-DkIukAMQ.js} +3 -3
  85. package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DI0BH-Fe.js} +5 -5
  86. package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-vQBIyUky.js} +2 -2
  87. package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BSaJzhxz.js} +3 -3
  88. package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-BcTcOc79.js} +2 -2
  89. package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-NS_nToBf.js} +2 -2
  90. package/dist/_chunks/{popover-Dvb40vPH.js → popover-SASSeAdY.js} +2 -2
  91. package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-C3ifcObw.js} +6 -6
  92. package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CpJ3iYvD.js} +2 -2
  93. package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-kDOhA2vZ.js} +2 -2
  94. package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-CEyvNpC8.js} +3 -3
  95. package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-TzMlEu3Q.js} +2 -2
  96. package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-b70i9Hi1.js} +3 -3
  97. package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-D0ApOrmx.js} +3 -3
  98. package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-jhwaIW8U.js} +4 -4
  99. package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
  100. package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-B5QC4FIp.js} +4 -4
  101. package/dist/_chunks/{rich-text-editor-y6ML0KeV.js → rich-text-editor-DoBXdwmx.js} +930 -943
  102. package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-26XB5u38.js} +2 -2
  103. package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-CwhNzxbr.js} +2 -2
  104. package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-jxbze77L.js} +2 -2
  105. package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-BorHf3CY.js} +4 -4
  106. package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-xgf2UKLS.js} +4 -4
  107. package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-Cos2fVTw.js} +2 -2
  108. package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-BrkMUW0c.js} +2 -2
  109. package/dist/_chunks/tabs-tK22Mz7r.js +413 -0
  110. package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CLpHmqEY.js} +2 -2
  111. package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-B4UGsU7l.js} +6 -6
  112. package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-dsmYgjVb.js} +4 -4
  113. package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-CwwVw491.js} +6 -6
  114. package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-jyoyhbJL.js} +4 -4
  115. package/dist/_chunks/{toast-CT8hjr9r.js → toast-FijDyPnv.js} +2 -2
  116. package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-Cjf99IdN.js} +3 -3
  117. package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-DphMl1hX.js} +2 -2
  118. package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BaCJnyg9.js} +663 -718
  119. package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-CGpOgarU.js} +2 -2
  120. package/dist/_chunks/{use-appointment-details-read-5-hV-2xA.js → use-appointment-details-read-uEnJLVfA.js} +14 -14
  121. package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-7Hffm7K1.js} +3 -3
  122. package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-Jfe9L9Wt.js} +6 -6
  123. package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-jHfsIDzi.js} +2 -2
  124. package/dist/agent-catalog.json +103 -38
  125. package/dist/agent-i18n/en.json +7 -4
  126. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  127. package/dist/components/agenda-tray/index.js +1 -1
  128. package/dist/components/ai-credits-notice/index.js +1 -1
  129. package/dist/components/ai-permission-notice/index.js +1 -1
  130. package/dist/components/ai-prompt-input/index.js +1 -1
  131. package/dist/components/anamnesis-card/index.js +1 -1
  132. package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
  133. package/dist/components/appointment-card/index.js +2 -2
  134. package/dist/components/appointment-details-panel/index.js +1 -1
  135. package/dist/components/appointment-peek/index.js +1 -1
  136. package/dist/components/appointment-timeline/index.js +1 -1
  137. package/dist/components/audio-recorder/index.js +1 -1
  138. package/dist/components/bishop-score/index.js +1 -1
  139. package/dist/components/bmi-calculator/index.js +1 -1
  140. package/dist/components/booking/index.js +1 -1
  141. package/dist/components/button/button.d.ts +11 -0
  142. package/dist/components/button/icon-button.d.ts +4 -0
  143. package/dist/components/button/index.js +2 -2
  144. package/dist/components/button-group/index.js +1 -1
  145. package/dist/components/calendar/calendar.d.ts +5 -3
  146. package/dist/components/calendar/index.js +1 -1
  147. package/dist/components/care-plan-card/index.js +1 -1
  148. package/dist/components/care-plan-entry-card/index.js +1 -1
  149. package/dist/components/care-plan-header/index.js +1 -1
  150. package/dist/components/carousel/index.js +1 -1
  151. package/dist/components/chart/chart.d.ts +1 -1
  152. package/dist/components/chart/index.js +1 -1
  153. package/dist/components/chat-input/index.js +1 -1
  154. package/dist/components/chat-message/index.js +1 -1
  155. package/dist/components/connection-status/index.js +1 -1
  156. package/dist/components/contact-profile-card/index.js +1 -1
  157. package/dist/components/control-room-rail/index.js +1 -1
  158. package/dist/components/copy-field/index.js +1 -1
  159. package/dist/components/cycle-calculator/index.js +1 -1
  160. package/dist/components/dashboard-grid/index.js +1 -1
  161. package/dist/components/data-table/index.js +4 -4
  162. package/dist/components/data-table-tabs/index.js +1 -1
  163. package/dist/components/description-list/index.js +1 -1
  164. package/dist/components/document-preview/index.js +1 -1
  165. package/dist/components/document-scanner/index.js +1 -1
  166. package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
  167. package/dist/components/dropdown-menu/index.d.ts +1 -1
  168. package/dist/components/dropdown-menu/index.js +1 -1
  169. package/dist/components/due-date-calculator/index.js +1 -1
  170. package/dist/components/editable-description/index.js +1 -1
  171. package/dist/components/editor-overlay/index.js +1 -1
  172. package/dist/components/empty-state/index.js +1 -1
  173. package/dist/components/entity-summary/index.js +1 -1
  174. package/dist/components/error-boundary/index.js +1 -1
  175. package/dist/components/face-scheme/index.js +1 -1
  176. package/dist/components/fetal-weight/index.js +1 -1
  177. package/dist/components/field-array/index.js +1 -1
  178. package/dist/components/file-manager/index.js +1 -1
  179. package/dist/components/finished-terminal/index.js +1 -1
  180. package/dist/components/fiscal-code-input/index.js +1 -1
  181. package/dist/components/freemium-paywall/index.js +1 -1
  182. package/dist/components/gestational-age-calculator/index.js +1 -1
  183. package/dist/components/hcg-doubling/index.js +1 -1
  184. package/dist/components/header/index.js +1 -1
  185. package/dist/components/header-settings/header-settings.d.ts +3 -3
  186. package/dist/components/header-settings/index.js +1 -1
  187. package/dist/components/hover-card/index.js +1 -1
  188. package/dist/components/icon-button/index.js +1 -1
  189. package/dist/components/icon-button-group/index.js +1 -1
  190. package/dist/components/icon-picker/index.js +1 -1
  191. package/dist/components/image-cropper/index.js +1 -1
  192. package/dist/components/info-tip/index.js +1 -1
  193. package/dist/components/key-value-pair/index.js +1 -1
  194. package/dist/components/locale-picker/index.js +1 -1
  195. package/dist/components/locale-picker/locale-picker.d.ts +7 -0
  196. package/dist/components/map-view/index.js +1 -1
  197. package/dist/components/message-card/index.js +1 -1
  198. package/dist/components/message-tray/index.js +1 -1
  199. package/dist/components/muscle-scheme/index.js +1 -1
  200. package/dist/components/notes-panel/index.js +1 -1
  201. package/dist/components/notification-card/index.js +1 -1
  202. package/dist/components/notification-tray/index.js +1 -1
  203. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  204. package/dist/components/optical-prescription/index.js +1 -1
  205. package/dist/components/panel-subview/index.js +1 -1
  206. package/dist/components/patient-details/index.js +1 -1
  207. package/dist/components/patient-details/patient-details.d.ts +1 -1
  208. package/dist/components/patient-search/index.js +1 -1
  209. package/dist/components/patient-summary-card/index.js +1 -1
  210. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  211. package/dist/components/patient-table/index.js +1 -1
  212. package/dist/components/payment-card/index.js +1 -1
  213. package/dist/components/periodontal-chart/index.js +1 -1
  214. package/dist/components/periodontal-chart-card/index.js +1 -1
  215. package/dist/components/popover/index.js +1 -1
  216. package/dist/components/practice-results/index.js +1 -1
  217. package/dist/components/pregnancy-dating/index.js +1 -1
  218. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  219. package/dist/components/privacy-lock/index.js +1 -1
  220. package/dist/components/product-hub-tray/index.js +1 -1
  221. package/dist/components/public-header/index.js +1 -1
  222. package/dist/components/radiograph-panel/index.js +1 -1
  223. package/dist/components/resource-chip/index.d.ts +1 -1
  224. package/dist/components/resource-chip/index.js +3 -2
  225. package/dist/components/resource-chip/resource-chip.d.ts +20 -0
  226. package/dist/components/reviews-panel/index.js +1 -1
  227. package/dist/components/rich-text-editor/index.js +2 -2
  228. package/dist/components/session-countdown/index.js +1 -1
  229. package/dist/components/sheet/index.js +1 -1
  230. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  231. package/dist/components/skeleton-scheme/index.js +1 -1
  232. package/dist/components/slot-grid/index.js +1 -1
  233. package/dist/components/streaming-text/index.js +1 -1
  234. package/dist/components/tab-bar/index.js +1 -1
  235. package/dist/components/tabs/index.js +1 -1
  236. package/dist/components/task-card/index.js +1 -1
  237. package/dist/components/task-editor/index.js +1 -1
  238. package/dist/components/task-tray/index.js +1 -1
  239. package/dist/components/tasks-panel/index.js +1 -1
  240. package/dist/components/theme-toggle/index.js +1 -1
  241. package/dist/components/toast/index.js +1 -1
  242. package/dist/components/token-insert-menu/index.js +1 -1
  243. package/dist/components/tool-rail/index.js +1 -1
  244. package/dist/components/tooth-scheme/index.js +1 -1
  245. package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -2
  246. package/dist/components/unit-converter/index.js +1 -1
  247. package/dist/components/warning-stack/index.js +1 -1
  248. package/dist/components/workflow/index.js +1 -1
  249. package/dist/components/workflow/workflow-card.d.ts +1 -1
  250. package/dist/components/workflow-status/index.js +1 -1
  251. package/dist/i18n/locales/ar.d.ts +5 -0
  252. package/dist/i18n/locales/ar.js +5 -0
  253. package/dist/i18n/locales/de.d.ts +5 -0
  254. package/dist/i18n/locales/de.js +5 -0
  255. package/dist/i18n/locales/el.d.ts +5 -0
  256. package/dist/i18n/locales/el.js +5 -0
  257. package/dist/i18n/locales/en.d.ts +5 -0
  258. package/dist/i18n/locales/en.js +5 -0
  259. package/dist/i18n/locales/es.d.ts +5 -0
  260. package/dist/i18n/locales/es.js +5 -0
  261. package/dist/i18n/locales/fr.d.ts +5 -0
  262. package/dist/i18n/locales/fr.js +5 -0
  263. package/dist/i18n/locales/hi.d.ts +5 -0
  264. package/dist/i18n/locales/hi.js +5 -0
  265. package/dist/i18n/locales/it.d.ts +5 -0
  266. package/dist/i18n/locales/it.js +5 -0
  267. package/dist/i18n/locales/ja.d.ts +5 -0
  268. package/dist/i18n/locales/ja.js +5 -0
  269. package/dist/i18n/locales/nl.d.ts +5 -0
  270. package/dist/i18n/locales/nl.js +5 -0
  271. package/dist/i18n/locales/pl.d.ts +5 -0
  272. package/dist/i18n/locales/pl.js +5 -0
  273. package/dist/i18n/locales/pt.d.ts +5 -0
  274. package/dist/i18n/locales/pt.js +5 -0
  275. package/dist/i18n/locales/ro.d.ts +5 -0
  276. package/dist/i18n/locales/ro.js +5 -0
  277. package/dist/i18n/locales/ru.d.ts +5 -0
  278. package/dist/i18n/locales/ru.js +5 -0
  279. package/dist/i18n/locales/sq.d.ts +5 -0
  280. package/dist/i18n/locales/sq.js +5 -0
  281. package/dist/i18n/locales/sv.d.ts +5 -0
  282. package/dist/i18n/locales/sv.js +5 -0
  283. package/dist/i18n/locales/tr.d.ts +5 -0
  284. package/dist/i18n/locales/tr.js +5 -0
  285. package/dist/i18n/locales/zh.d.ts +5 -0
  286. package/dist/i18n/locales/zh.js +5 -0
  287. package/dist/index.js +477 -476
  288. package/dist/locales/ar.json +5 -0
  289. package/dist/locales/de.json +5 -0
  290. package/dist/locales/el.json +5 -0
  291. package/dist/locales/en.json +5 -0
  292. package/dist/locales/es.json +5 -0
  293. package/dist/locales/fr.json +5 -0
  294. package/dist/locales/hi.json +5 -0
  295. package/dist/locales/it.json +5 -0
  296. package/dist/locales/ja.json +5 -0
  297. package/dist/locales/nl.json +5 -0
  298. package/dist/locales/pl.json +5 -0
  299. package/dist/locales/pt.json +5 -0
  300. package/dist/locales/ro.json +5 -0
  301. package/dist/locales/ru.json +5 -0
  302. package/dist/locales/sq.json +5 -0
  303. package/dist/locales/sv.json +5 -0
  304. package/dist/locales/tr.json +5 -0
  305. package/dist/locales/zh.json +5 -0
  306. package/dist/patterns/alia-assistant/index.js +1 -1
  307. package/dist/patterns/anamnesis/index.js +1 -1
  308. package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
  309. package/dist/patterns/calendar/index.js +1 -1
  310. package/dist/patterns/help-me-write-templates/index.js +1 -1
  311. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  312. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  313. package/dist/patterns/signature-request/index.js +1 -1
  314. package/dist/tokens.css +2 -1
  315. package/package.json +1 -1
  316. package/dist/_chunks/calendar-workspace-DjbGFjg1.js +0 -10584
  317. package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
  318. package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
  319. package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
  320. package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
@@ -1,409 +0,0 @@
1
- import { jsx as a, jsxs as C } from "react/jsx-runtime";
2
- import { forwardRef as V, useContext as I, useRef as A, useState as M, useEffect as q, useMemo as _, Children as F, isValidElement as J, useCallback as K, createContext as Q } from "react";
3
- import * as j from "@radix-ui/react-tabs";
4
- import * as k from "@radix-ui/react-dropdown-menu";
5
- import { a as N, c as B } from "./index-D2ZczOXr.js";
6
- import { useTranslation as Y } from "react-i18next";
7
- import { c as Z } from "./compose-refs-C0k0tdqF.js";
8
- import { S as D } from "./select-upNAltly.js";
9
- import { b as ee } from "./menu-row-BAr8bx1I.js";
10
- import { u as te } from "./registry-DvAUVLHh.js";
11
- import { X as se } from "./x-B5YnXwCz.js";
12
- import { u as ae } from "./use-direction-Dp8h70PP.js";
13
- import { C as re } from "./chevron-down-DWE7GSq9.js";
14
- const oe = {
15
- id: "tabs",
16
- capabilities: ["select_single"],
17
- state: {
18
- activeTab: {
19
- type: "string | null",
20
- descriptionKey: "ui.agent.tabs.state.activeTab",
21
- description: "Value of the currently-active tab.",
22
- read: (o) => o.getActiveTab()
23
- }
24
- },
25
- actions: {
26
- select_tab: {
27
- safety: "read",
28
- argsType: "{ value: string }",
29
- argsSchema: {
30
- type: "object",
31
- properties: { value: { type: "string" } },
32
- required: ["value"]
33
- },
34
- idempotent: !0,
35
- descriptionKey: "ui.agent.tabs.actions.selectTab",
36
- description: "Activate the tab with the given value.",
37
- invoke: (o, s) => {
38
- o.selectTab(s.value);
39
- }
40
- }
41
- },
42
- domHooks: {
43
- root: { attr: "data-component", value: "tabs" },
44
- instanceId: {
45
- attr: "data-component-id",
46
- sourceProp: "id",
47
- description: "Sourced from the id prop on Tabs.Root."
48
- },
49
- item: {
50
- attr: "data-tab-id",
51
- description: "Each Tab.Trigger emits its value as data-tab-id."
52
- }
53
- }
54
- }, P = B("ds:relative ds:flex", {
55
- variants: {
56
- variant: {
57
- // Shadcn-style segmented control: light container, white active card
58
- default: "ds:flex-1 ds:min-w-0 ds:items-center ds:bg-muted/10 ds:rounded-[var(--radius-md)] ds:p-1",
59
- // Classic underline tabs: bottom border with colored active indicator
60
- underlined: "ds:flex-1 ds:min-w-0 ds:items-end ds:[border-block-end:1px_solid_var(--border)]",
61
- // Segmented control: warm secondary container, content-width
62
- pills: "ds:items-center ds:bg-secondary ds:rounded-[var(--radius-md)] ds:p-1"
63
- },
64
- orientation: {
65
- horizontal: "ds:flex-row ds:overflow-hidden",
66
- vertical: "ds:flex-col"
67
- }
68
- },
69
- defaultVariants: {
70
- variant: "default",
71
- orientation: "horizontal"
72
- }
73
- }), G = B(
74
- [
75
- "ds:relative ds:inline-flex ds:items-center ds:justify-center ds:whitespace-nowrap ds:border-0",
76
- "ds:gap-2 ds:font-medium ds:transition-colors",
77
- "ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
78
- "ds:cursor-pointer ds:select-none",
79
- "ds:disabled:pointer-events-none ds:disabled:opacity-50",
80
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
81
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
82
- ].join(" "),
83
- {
84
- variants: {
85
- variant: {
86
- default: [
87
- "ds:rounded-[var(--radius-sm)] ds:bg-transparent ds:text-muted-foreground",
88
- "ds:hover:bg-muted/10 ds:hover:text-foreground",
89
- "ds:data-[state=active]:bg-background ds:data-[state=active]:text-foreground",
90
- "ds:data-[state=active]:shadow-sm"
91
- ].join(" "),
92
- underlined: [
93
- "ds:bg-transparent ds:text-muted-foreground",
94
- "ds:[border-block-end:2px_solid_transparent]",
95
- "ds:hover:bg-muted/10 ds:hover:text-foreground",
96
- "ds:data-[state=active]:[border-block-end-color:var(--primary)]",
97
- "ds:data-[state=active]:text-foreground ds:data-[state=active]:[margin-block-end:-1px]"
98
- ].join(" "),
99
- pills: [
100
- "ds:rounded-[var(--radius-full)] ds:bg-transparent ds:text-muted-foreground",
101
- "ds:hover:bg-muted/20 ds:hover:text-foreground",
102
- "ds:data-[state=active]:bg-primary ds:data-[state=active]:text-primary-foreground"
103
- ].join(" ")
104
- },
105
- size: {
106
- sm: "ds:h-8 ds:px-[var(--spacing-sm)] ds:text-[length:var(--font-size-sm)]",
107
- md: "ds:h-10 ds:px-[var(--spacing-md)] ds:text-[length:var(--font-size-base)]",
108
- lg: "ds:h-12 ds:px-[var(--spacing-lg)] ds:text-[length:var(--font-size-lg)]"
109
- },
110
- orientation: {
111
- horizontal: "",
112
- vertical: "ds:w-full ds:justify-start"
113
- }
114
- },
115
- defaultVariants: {
116
- variant: "default",
117
- size: "md",
118
- orientation: "horizontal"
119
- }
120
- }
121
- ), O = Q({
122
- variant: "default",
123
- size: "md",
124
- orientation: "horizontal",
125
- overflow: "dropdown",
126
- value: "",
127
- setValue: () => {
128
- }
129
- }), H = V(
130
- ({
131
- variant: o = "default",
132
- size: s = "md",
133
- orientation: n = "horizontal",
134
- overflow: d = "dropdown",
135
- className: i,
136
- children: u,
137
- value: t,
138
- defaultValue: m,
139
- onValueChange: l,
140
- id: f,
141
- ...g
142
- }, w) => {
143
- const b = A(null), v = Z(w, b), y = ae(b), p = t !== void 0, [h, z] = M(
144
- m ?? ""
145
- ), r = p ? t ?? "" : h, e = K(
146
- (T) => {
147
- p || z(T), l == null || l(T);
148
- },
149
- [p, l]
150
- ), x = _(
151
- () => ({ variant: o, size: s, orientation: n, overflow: d, value: r, setValue: e }),
152
- [o, s, n, d, r, e]
153
- ), c = A(r);
154
- q(() => {
155
- c.current = r;
156
- }, [r]);
157
- const R = _(
158
- () => ({
159
- getActiveTab: () => c.current || null,
160
- selectTab: (T) => e(T)
161
- }),
162
- [e]
163
- );
164
- return te(oe, R, f), /* @__PURE__ */ a(O.Provider, { value: x, children: /* @__PURE__ */ a(
165
- j.Root,
166
- {
167
- ref: v,
168
- orientation: n,
169
- dir: y,
170
- value: r,
171
- onValueChange: e,
172
- id: f,
173
- "data-component": "tabs",
174
- "data-component-id": f,
175
- className: N(
176
- "ds:flex",
177
- n === "vertical" ? "ds:flex-row ds:gap-[var(--spacing-md)]" : "ds:flex-col",
178
- i
179
- ),
180
- ...g,
181
- children: u
182
- }
183
- ) });
184
- }
185
- );
186
- H.displayName = "Tabs";
187
- const U = V(
188
- ({ className: o, children: s, "aria-label": n, ...d }, i) => {
189
- const { variant: u, size: t, orientation: m, overflow: l, value: f, setValue: g } = I(O), { t: w } = Y(), b = A(null), [v, y] = M([]), p = m === "horizontal", h = l === "dropdown" && p;
190
- q(() => {
191
- if (!h) {
192
- y([]);
193
- return;
194
- }
195
- const e = b.current;
196
- if (!e) return;
197
- const x = () => {
198
- const R = e.getBoundingClientRect().right, T = [];
199
- e.querySelectorAll('[role="tab"]').forEach(
200
- (S) => {
201
- var L;
202
- if (S.getBoundingClientRect().right > R + 2) {
203
- const E = S.getAttribute("data-value") ?? S.dataset.value ?? "", $ = ((L = S.textContent) == null ? void 0 : L.trim()) ?? E;
204
- T.push({ value: E, label: $ });
205
- }
206
- }
207
- ), y(T);
208
- }, c = new ResizeObserver(x);
209
- return c.observe(e), x(), () => c.disconnect();
210
- }, [h, s]);
211
- const z = (e) => {
212
- b.current = e, typeof i == "function" ? i(e) : i && (i.current = e);
213
- }, r = _(() => l !== "select" ? [] : F.toArray(s).filter(
214
- (e) => J(e)
215
- ).filter(
216
- (e) => typeof e.props.value == "string" && e.props.value.length > 0
217
- ).map((e) => {
218
- const x = e.props.value, c = e.props.children, R = typeof c == "string" ? c : typeof c == "number" ? String(c) : x;
219
- return { value: x, label: R };
220
- }), [s, l]);
221
- return l === "select" && p ? /* @__PURE__ */ C("div", { className: "ds:@container/tabs ds:relative ds:w-full", children: [
222
- /* @__PURE__ */ a("div", { className: "ds:block ds:@[448px]/tabs:hidden", children: /* @__PURE__ */ a(
223
- D,
224
- {
225
- options: r,
226
- value: f,
227
- onValueChange: (e) => {
228
- typeof e == "string" && e.length > 0 && g(e);
229
- },
230
- size: t,
231
- "aria-label": n ?? w("tabs.selectLabel")
232
- }
233
- ) }),
234
- /* @__PURE__ */ a("div", { className: "ds:hidden ds:@[448px]/tabs:flex ds:relative ds:items-center", children: /* @__PURE__ */ a(
235
- j.List,
236
- {
237
- ref: z,
238
- "aria-label": n,
239
- className: P({ variant: u, orientation: m, className: o }),
240
- ...d,
241
- children: s
242
- }
243
- ) })
244
- ] }) : /* @__PURE__ */ C("div", { className: "ds:relative ds:flex ds:items-center", children: [
245
- /* @__PURE__ */ a(
246
- j.List,
247
- {
248
- ref: z,
249
- "aria-label": n,
250
- className: P({ variant: u, orientation: m, className: o }),
251
- ...d,
252
- children: s
253
- }
254
- ),
255
- h && v.length > 0 && /* @__PURE__ */ a(
256
- ne,
257
- {
258
- tabs: v,
259
- label: w("tabs.moreTabs"),
260
- size: t
261
- }
262
- )
263
- ] });
264
- }
265
- );
266
- U.displayName = "TabsList";
267
- function ne({ tabs: o, label: s, size: n }) {
268
- const { variant: d } = I(O);
269
- return /* @__PURE__ */ C(k.Root, { children: [
270
- /* @__PURE__ */ C(
271
- k.Trigger,
272
- {
273
- className: N(
274
- G({ variant: d, size: n, orientation: "horizontal" }),
275
- "ds:shrink-0 ds:ms-1"
276
- ),
277
- "aria-label": s,
278
- children: [
279
- s,
280
- /* @__PURE__ */ a(re, { "aria-hidden": "true", className: "ds:size-4" })
281
- ]
282
- }
283
- ),
284
- /* @__PURE__ */ a(k.Portal, { children: /* @__PURE__ */ a(
285
- k.Content,
286
- {
287
- sideOffset: 4,
288
- className: N(
289
- "ds:z-[var(--z-dropdown)] ds:min-w-40 ds:overflow-hidden ds:rounded-[var(--radius-md)]",
290
- "ds:border ds:border-border ds:bg-popover ds:p-1 ds:shadow-md",
291
- "ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
292
- "ds:data-[state=closed]:fade-out-0 ds:data-[state=open]:fade-in-0",
293
- "ds:data-[state=closed]:zoom-out-95 ds:data-[state=open]:zoom-in-95"
294
- ),
295
- children: o.map(({ value: i, label: u }) => /* @__PURE__ */ a(
296
- k.Item,
297
- {
298
- className: N(
299
- "ds:relative ds:flex ds:cursor-pointer ds:select-none ds:items-center",
300
- "ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
301
- "ds:text-[var(--font-size-sm)] ds:text-foreground ds:outline-none",
302
- ee.highlighted,
303
- "ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
304
- ),
305
- onSelect: () => {
306
- const t = document.querySelector(
307
- `[role="tab"][data-value="${CSS.escape(i)}"]`
308
- );
309
- t == null || t.click(), t == null || t.scrollIntoView({ inline: "nearest" });
310
- },
311
- children: u
312
- },
313
- i
314
- ))
315
- }
316
- ) })
317
- ] });
318
- }
319
- const W = V(
320
- ({
321
- variant: o,
322
- size: s,
323
- orientation: n,
324
- icon: d,
325
- badge: i,
326
- dismissible: u = !1,
327
- onDismiss: t,
328
- className: m,
329
- children: l,
330
- value: f,
331
- onKeyDown: g,
332
- ...w
333
- }, b) => {
334
- const v = I(O), y = o ?? v.variant, p = s ?? v.size, h = n ?? v.orientation, z = (r) => {
335
- u && (r.key === "Delete" || r.key === "Backspace") && (r.preventDefault(), t == null || t()), g == null || g(r);
336
- };
337
- return /* @__PURE__ */ C(
338
- j.Trigger,
339
- {
340
- ref: b,
341
- value: f,
342
- "data-value": f,
343
- "data-tab-id": f,
344
- className: G({
345
- variant: y,
346
- size: p,
347
- orientation: h,
348
- className: m
349
- }),
350
- onKeyDown: z,
351
- ...w,
352
- children: [
353
- d && /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "ds:shrink-0 ds:size-4", children: d }),
354
- l,
355
- i && /* @__PURE__ */ a("span", { className: "ds:shrink-0", children: i }),
356
- u && // Visual-only dismiss indicator — pointer dismiss fires here; keyboard dismiss fires via Delete/Backspace on the trigger above.
357
- // No role/tabIndex to avoid nested-interactive (interactive content inside <button> is invalid HTML).
358
- /* @__PURE__ */ a(
359
- "span",
360
- {
361
- "aria-hidden": "true",
362
- className: N(
363
- "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
364
- "ds:size-6 ds:rounded-[var(--radius-sm)]",
365
- "ds:hover:bg-muted-foreground/20"
366
- ),
367
- onPointerDown: (r) => {
368
- r.stopPropagation(), r.preventDefault(), t == null || t();
369
- },
370
- children: /* @__PURE__ */ a(se, { className: "ds:size-3.5" })
371
- }
372
- )
373
- ]
374
- }
375
- );
376
- }
377
- );
378
- W.displayName = "TabsTrigger";
379
- const X = V(
380
- ({ className: o, children: s, ...n }, d) => /* @__PURE__ */ a(
381
- j.Content,
382
- {
383
- ref: d,
384
- className: N(
385
- "ds:mt-[var(--spacing-sm)] ds:outline-none",
386
- "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
387
- "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
388
- o
389
- ),
390
- ...n,
391
- children: s
392
- }
393
- )
394
- );
395
- X.displayName = "TabsContent";
396
- const xe = Object.assign(H, {
397
- Root: H,
398
- List: U,
399
- Trigger: W,
400
- Content: X
401
- });
402
- export {
403
- xe as T,
404
- X as a,
405
- U as b,
406
- W as c,
407
- oe as t
408
- };
409
- //# sourceMappingURL=tabs-CFsuMQ5H.js.map