@alfadocs/ui-kit-debug 0.73.0 → 0.77.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 (338) hide show
  1. package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js +1546 -0
  2. package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js.map +1 -0
  3. package/dist/_chunks/{address-fields-COyjgqxA.js → address-fields-7k59FnJ6.js} +2 -2
  4. package/dist/_chunks/{address-fields-COyjgqxA.js.map → address-fields-7k59FnJ6.js.map} +1 -1
  5. package/dist/_chunks/{ai-prompt-input-DFm58UjY.js → ai-prompt-input-DziJCGLe.js} +2 -2
  6. package/dist/_chunks/{ai-prompt-input-DFm58UjY.js.map → ai-prompt-input-DziJCGLe.js.map} +1 -1
  7. package/dist/_chunks/{audio-recorder-CjAY0GAc.js → audio-recorder-Cc3KuL9y.js} +2 -2
  8. package/dist/_chunks/{audio-recorder-CjAY0GAc.js.map → audio-recorder-Cc3KuL9y.js.map} +1 -1
  9. package/dist/_chunks/{bishop-score-Bs6t6Zv1.js → bishop-score-DDW5-gb9.js} +2 -2
  10. package/dist/_chunks/{bishop-score-Bs6t6Zv1.js.map → bishop-score-DDW5-gb9.js.map} +1 -1
  11. package/dist/_chunks/{booking-CWnZhZ5g.js → booking-CLmeXtGv.js} +3 -3
  12. package/dist/_chunks/{booking-CWnZhZ5g.js.map → booking-CLmeXtGv.js.map} +1 -1
  13. package/dist/_chunks/{care-plan-card-CfIP3Vc1.js → care-plan-card-BrwhyIJI.js} +2 -2
  14. package/dist/_chunks/{care-plan-card-CfIP3Vc1.js.map → care-plan-card-BrwhyIJI.js.map} +1 -1
  15. package/dist/_chunks/{care-plan-entry-card-CRbS-G00.js → care-plan-entry-card-DWEdCQM3.js} +2 -2
  16. package/dist/_chunks/{care-plan-entry-card-CRbS-G00.js.map → care-plan-entry-card-DWEdCQM3.js.map} +1 -1
  17. package/dist/_chunks/{country-select-DYHDLEjG.js → country-select-BN9nedAp.js} +2 -2
  18. package/dist/_chunks/{country-select-DYHDLEjG.js.map → country-select-BN9nedAp.js.map} +1 -1
  19. package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
  20. package/dist/_chunks/data-table-tabs-BEUXiRlu.js.map +1 -0
  21. package/dist/_chunks/document-preview-CvHnHf6T.js +243 -0
  22. package/dist/_chunks/document-preview-CvHnHf6T.js.map +1 -0
  23. package/dist/_chunks/{document-scanner-BE6Jz4Ob.js → document-scanner-B6h1Ir56.js} +2 -2
  24. package/dist/_chunks/{document-scanner-BE6Jz4Ob.js.map → document-scanner-B6h1Ir56.js.map} +1 -1
  25. package/dist/_chunks/{field-value-DCXJXKab.js → field-value-DHG6gEKS.js} +2 -2
  26. package/dist/_chunks/{field-value-DCXJXKab.js.map → field-value-DHG6gEKS.js.map} +1 -1
  27. package/dist/_chunks/file-Cwe9VC1A.js +40 -0
  28. package/dist/_chunks/file-Cwe9VC1A.js.map +1 -0
  29. package/dist/_chunks/file-manager-DfTG7bxx.js +1771 -0
  30. package/dist/_chunks/file-manager-DfTG7bxx.js.map +1 -0
  31. package/dist/_chunks/{file-upload-B2SXhRiN.js → file-upload-DENvuhfs.js} +98 -129
  32. package/dist/_chunks/file-upload-DENvuhfs.js.map +1 -0
  33. package/dist/_chunks/flag-Cnmivlrl.js +641 -0
  34. package/dist/_chunks/{flag-DZ6V7-hU.js.map → flag-Cnmivlrl.js.map} +1 -1
  35. package/dist/_chunks/{gestational-age-calculator-C9Dfis4I.js → gestational-age-calculator-BpYw-WF-.js} +2 -2
  36. package/dist/_chunks/{gestational-age-calculator-C9Dfis4I.js.map → gestational-age-calculator-BpYw-WF-.js.map} +1 -1
  37. package/dist/_chunks/{header-settings-CRQDCYgr.js → header-settings-DMfdx0Vq.js} +2 -2
  38. package/dist/_chunks/{header-settings-CRQDCYgr.js.map → header-settings-DMfdx0Vq.js.map} +1 -1
  39. package/dist/_chunks/{icon-picker-BePK27S-.js → icon-picker-CM9ubkew.js} +2 -2
  40. package/dist/_chunks/{icon-picker-BePK27S-.js.map → icon-picker-CM9ubkew.js.map} +1 -1
  41. package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
  42. package/dist/_chunks/link-cell-renderer-BQGUs45d.js.map +1 -0
  43. package/dist/_chunks/{locale-picker-Cbfqc0_N.js → locale-picker-EyvPrwDc.js} +3 -3
  44. package/dist/_chunks/{locale-picker-Cbfqc0_N.js.map → locale-picker-EyvPrwDc.js.map} +1 -1
  45. package/dist/_chunks/{marketplace-app-shell-Dm6S-hun.js → marketplace-app-shell-Bxq1PYAj.js} +3 -3
  46. package/dist/_chunks/{marketplace-app-shell-Dm6S-hun.js.map → marketplace-app-shell-Bxq1PYAj.js.map} +1 -1
  47. package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
  48. package/dist/_chunks/{muscle-scheme-B9MIkuj0.js.map → muscle-scheme-CFBE2dme.js.map} +1 -1
  49. package/dist/_chunks/{notes-panel-B_8-Mebz.js → notes-panel-Cvdp818a.js} +2 -2
  50. package/dist/_chunks/{notes-panel-B_8-Mebz.js.map → notes-panel-Cvdp818a.js.map} +1 -1
  51. package/dist/_chunks/{optical-prescription-BQ75_kf6.js → optical-prescription-BEjYQjiO.js} +2 -2
  52. package/dist/_chunks/{optical-prescription-BQ75_kf6.js.map → optical-prescription-BEjYQjiO.js.map} +1 -1
  53. package/dist/_chunks/{patient-details-JkOI3Ijd.js → patient-details-zy76MRh7.js} +5 -5
  54. package/dist/_chunks/{patient-details-JkOI3Ijd.js.map → patient-details-zy76MRh7.js.map} +1 -1
  55. package/dist/_chunks/{patient-summary-card-CQOLMH3E.js → patient-summary-card-D6kgdTNn.js} +2 -2
  56. package/dist/_chunks/{patient-summary-card-CQOLMH3E.js.map → patient-summary-card-D6kgdTNn.js.map} +1 -1
  57. package/dist/_chunks/{patient-table-B_mOe-ZT.js → patient-table-DweKjiXg.js} +122 -118
  58. package/dist/_chunks/patient-table-DweKjiXg.js.map +1 -0
  59. package/dist/_chunks/periodontal-chart-CYBhr9vc.js +1305 -0
  60. package/dist/_chunks/periodontal-chart-CYBhr9vc.js.map +1 -0
  61. package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
  62. package/dist/_chunks/periodontal-diagnosis-cco40xTa.js.map +1 -0
  63. package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
  64. package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js.map +1 -0
  65. package/dist/_chunks/{phone-input-dtnrvnZf.js → phone-input-D00ZBAm-.js} +2 -2
  66. package/dist/_chunks/{phone-input-dtnrvnZf.js.map → phone-input-D00ZBAm-.js.map} +1 -1
  67. package/dist/_chunks/{popover-DGTKfLWh.js → popover-Cc0a69sw.js} +31 -28
  68. package/dist/_chunks/{popover-DGTKfLWh.js.map → popover-Cc0a69sw.js.map} +1 -1
  69. package/dist/_chunks/{pregnancy-dating-IsDVfqJX.js → pregnancy-dating-msMl_6wz.js} +2 -2
  70. package/dist/_chunks/{pregnancy-dating-IsDVfqJX.js.map → pregnancy-dating-msMl_6wz.js.map} +1 -1
  71. package/dist/_chunks/{radiograph-panel.agent-e488ooH8.js → radiograph-panel.agent-CxF9pVxd.js} +2 -2
  72. package/dist/_chunks/{radiograph-panel.agent-e488ooH8.js.map → radiograph-panel.agent-CxF9pVxd.js.map} +1 -1
  73. package/dist/_chunks/{rich-text-editor-CgA2bYwi.js → rich-text-editor-CCWjNkbx.js} +186 -177
  74. package/dist/_chunks/rich-text-editor-CCWjNkbx.js.map +1 -0
  75. package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
  76. package/dist/_chunks/{select-BmCbJMJS.js.map → select-BW5ecXlX.js.map} +1 -1
  77. package/dist/_chunks/{sidebar-CtU35PIX.js → sidebar-C0PbwJBc.js} +357 -320
  78. package/dist/_chunks/sidebar-C0PbwJBc.js.map +1 -0
  79. package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
  80. package/dist/_chunks/signature-request-C-mskXwi.js.map +1 -0
  81. package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
  82. package/dist/_chunks/{tabs-DVQ941Sj.js.map → tabs-CVTukWRD.js.map} +1 -1
  83. package/dist/_chunks/{tasks-panel-LCK5ZXvU.js → tasks-panel-CjGAhIN8.js} +2 -2
  84. package/dist/_chunks/{tasks-panel-LCK5ZXvU.js.map → tasks-panel-CjGAhIN8.js.map} +1 -1
  85. package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
  86. package/dist/_chunks/tooth-data-BwuoKFf4.js.map +1 -0
  87. package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
  88. package/dist/_chunks/tooth-scheme-BzJ6rcte.js.map +1 -0
  89. package/dist/_chunks/{unit-converter-3uL_tMCm.js → unit-converter-CSLWFDQh.js} +2 -2
  90. package/dist/_chunks/{unit-converter-3uL_tMCm.js.map → unit-converter-CSLWFDQh.js.map} +1 -1
  91. package/dist/agent-catalog.json +1430 -213
  92. package/dist/agent-i18n/en.json +86 -5
  93. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  94. package/dist/components/address-fields/index.js +1 -1
  95. package/dist/components/ai-prompt-input/index.js +1 -1
  96. package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
  97. package/dist/components/appointment-card/appointment-card.d.ts +1 -1
  98. package/dist/components/audio-recorder/index.js +1 -1
  99. package/dist/components/bishop-score/index.js +1 -1
  100. package/dist/components/booking/index.js +1 -1
  101. package/dist/components/card/card.d.ts +1 -1
  102. package/dist/components/care-plan-card/index.js +1 -1
  103. package/dist/components/care-plan-entry-card/index.js +1 -1
  104. package/dist/components/clinical-note-card/clinical-note-card.d.ts +1 -1
  105. package/dist/components/contact-profile-card/contact-profile-card.d.ts +1 -1
  106. package/dist/components/country-select/index.js +1 -1
  107. package/dist/components/data-table/data-table.d.ts.map +1 -1
  108. package/dist/components/data-table/filters/number-filter.d.ts.map +1 -1
  109. package/dist/components/data-table/index.js +35 -34
  110. package/dist/components/data-table/index.js.map +1 -1
  111. package/dist/components/data-table/toolbar.d.ts +1 -1
  112. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  113. package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
  114. package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts.map +1 -0
  115. package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
  116. package/dist/components/data-table-tabs/data-table-tabs.d.ts.map +1 -0
  117. package/dist/components/data-table-tabs/index.d.ts +5 -0
  118. package/dist/components/data-table-tabs/index.d.ts.map +1 -0
  119. package/dist/components/data-table-tabs/index.js +8 -0
  120. package/dist/components/data-table-tabs/index.js.map +1 -0
  121. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
  122. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts.map +1 -0
  123. package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
  124. package/dist/components/document-preview/document-preview.agent.d.ts.map +1 -0
  125. package/dist/components/document-preview/document-preview.d.ts +64 -0
  126. package/dist/components/document-preview/document-preview.d.ts.map +1 -0
  127. package/dist/components/document-preview/index.d.ts +4 -0
  128. package/dist/components/document-preview/index.d.ts.map +1 -0
  129. package/dist/components/document-preview/index.js +6 -0
  130. package/dist/components/document-preview/index.js.map +1 -0
  131. package/dist/components/document-scanner/index.js +1 -1
  132. package/dist/components/file-manager/dialogs.d.ts +48 -0
  133. package/dist/components/file-manager/dialogs.d.ts.map +1 -0
  134. package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
  135. package/dist/components/file-manager/file-manager.agent.d.ts.map +1 -0
  136. package/dist/components/file-manager/file-manager.d.ts +82 -0
  137. package/dist/components/file-manager/file-manager.d.ts.map +1 -0
  138. package/dist/components/file-manager/folder-tree.d.ts +12 -0
  139. package/dist/components/file-manager/folder-tree.d.ts.map +1 -0
  140. package/dist/components/file-manager/index.d.ts +5 -0
  141. package/dist/components/file-manager/index.d.ts.map +1 -0
  142. package/dist/components/file-manager/index.js +6 -0
  143. package/dist/components/file-manager/index.js.map +1 -0
  144. package/dist/components/file-manager/list-view.d.ts +49 -0
  145. package/dist/components/file-manager/list-view.d.ts.map +1 -0
  146. package/dist/components/file-manager/toolbar.d.ts +15 -0
  147. package/dist/components/file-manager/toolbar.d.ts.map +1 -0
  148. package/dist/components/file-manager/types.d.ts +167 -0
  149. package/dist/components/file-manager/types.d.ts.map +1 -0
  150. package/dist/components/file-manager/utils.d.ts +34 -0
  151. package/dist/components/file-manager/utils.d.ts.map +1 -0
  152. package/dist/components/file-upload/index.js +1 -1
  153. package/dist/components/flag/flag.d.ts.map +1 -1
  154. package/dist/components/flag/index.js +1 -1
  155. package/dist/components/gestational-age-calculator/index.js +1 -1
  156. package/dist/components/header-settings/index.js +1 -1
  157. package/dist/components/icon-picker/index.js +1 -1
  158. package/dist/components/index.d.ts +7 -0
  159. package/dist/components/index.d.ts.map +1 -1
  160. package/dist/components/locale-picker/index.js +1 -1
  161. package/dist/components/message-card/message-card.d.ts +1 -1
  162. package/dist/components/muscle-scheme/index.js +1 -1
  163. package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -1
  164. package/dist/components/notes-panel/index.js +1 -1
  165. package/dist/components/notification-card/notification-card.d.ts +1 -1
  166. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  167. package/dist/components/optical-prescription/index.js +1 -1
  168. package/dist/components/patient-details/index.js +1 -1
  169. package/dist/components/patient-summary-card/index.js +1 -1
  170. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  171. package/dist/components/patient-table/columns.d.ts.map +1 -1
  172. package/dist/components/patient-table/index.js +1 -1
  173. package/dist/components/payment-card/payment-card.d.ts +1 -1
  174. package/dist/components/payment-card/payment-request-card.d.ts +1 -1
  175. package/dist/components/periodontal-chart/index.d.ts +6 -0
  176. package/dist/components/periodontal-chart/index.d.ts.map +1 -0
  177. package/dist/components/periodontal-chart/index.js +23 -0
  178. package/dist/components/periodontal-chart/index.js.map +1 -0
  179. package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +164 -0
  180. package/dist/components/periodontal-chart/periodontal-chart-data.d.ts.map +1 -0
  181. package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
  182. package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts.map +1 -0
  183. package/dist/components/periodontal-chart/periodontal-chart.d.ts +71 -0
  184. package/dist/components/periodontal-chart/periodontal-chart.d.ts.map +1 -0
  185. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
  186. package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
  187. package/dist/components/periodontal-diagnosis/index.d.ts.map +1 -0
  188. package/dist/components/periodontal-diagnosis/index.js +13 -0
  189. package/dist/components/periodontal-diagnosis/index.js.map +1 -0
  190. package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
  191. package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts.map +1 -0
  192. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
  193. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts.map +1 -0
  194. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
  195. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts.map +1 -0
  196. package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
  197. package/dist/components/periodontal-risk-chart/index.d.ts.map +1 -0
  198. package/dist/components/periodontal-risk-chart/index.js +9 -0
  199. package/dist/components/periodontal-risk-chart/index.js.map +1 -0
  200. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
  201. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts.map +1 -0
  202. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
  203. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts.map +1 -0
  204. package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
  205. package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts.map +1 -0
  206. package/dist/components/phone-input/index.js +1 -1
  207. package/dist/components/popover/index.js +1 -1
  208. package/dist/components/popover/popover.d.ts +1 -0
  209. package/dist/components/popover/popover.d.ts.map +1 -1
  210. package/dist/components/pregnancy-dating/index.js +1 -1
  211. package/dist/components/product-hub-tray/product-hub-panel.d.ts +1 -1
  212. package/dist/components/radiograph-panel/index.js +1 -1
  213. package/dist/components/rich-text-editor/index.js +1 -1
  214. package/dist/components/select/index.js +1 -1
  215. package/dist/components/select/select.d.ts.map +1 -1
  216. package/dist/components/sidebar/index.js +1 -1
  217. package/dist/components/sidebar/sidebar.d.ts +9 -0
  218. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  219. package/dist/components/skeleton-scheme/index.js +5 -13
  220. package/dist/components/skeleton-scheme/index.js.map +1 -1
  221. package/dist/components/stat/stat.d.ts +1 -1
  222. package/dist/components/tabs/index.js +1 -1
  223. package/dist/components/tasks-panel/index.js +1 -1
  224. package/dist/components/tooth-scheme/index.js +29 -28
  225. package/dist/components/tooth-scheme/index.js.map +1 -1
  226. package/dist/components/unit-converter/index.js +1 -1
  227. package/dist/i18n/locales/ar.d.ts +321 -0
  228. package/dist/i18n/locales/ar.d.ts.map +1 -1
  229. package/dist/i18n/locales/ar.js +321 -0
  230. package/dist/i18n/locales/ar.js.map +1 -1
  231. package/dist/i18n/locales/de.d.ts +321 -0
  232. package/dist/i18n/locales/de.d.ts.map +1 -1
  233. package/dist/i18n/locales/de.js +321 -0
  234. package/dist/i18n/locales/de.js.map +1 -1
  235. package/dist/i18n/locales/el.d.ts +321 -0
  236. package/dist/i18n/locales/el.d.ts.map +1 -1
  237. package/dist/i18n/locales/el.js +321 -0
  238. package/dist/i18n/locales/el.js.map +1 -1
  239. package/dist/i18n/locales/en.d.ts +321 -0
  240. package/dist/i18n/locales/en.d.ts.map +1 -1
  241. package/dist/i18n/locales/en.js +321 -0
  242. package/dist/i18n/locales/en.js.map +1 -1
  243. package/dist/i18n/locales/es.d.ts +321 -0
  244. package/dist/i18n/locales/es.d.ts.map +1 -1
  245. package/dist/i18n/locales/es.js +321 -0
  246. package/dist/i18n/locales/es.js.map +1 -1
  247. package/dist/i18n/locales/fr.d.ts +321 -0
  248. package/dist/i18n/locales/fr.d.ts.map +1 -1
  249. package/dist/i18n/locales/fr.js +321 -0
  250. package/dist/i18n/locales/fr.js.map +1 -1
  251. package/dist/i18n/locales/hi.d.ts +321 -0
  252. package/dist/i18n/locales/hi.d.ts.map +1 -1
  253. package/dist/i18n/locales/hi.js +321 -0
  254. package/dist/i18n/locales/hi.js.map +1 -1
  255. package/dist/i18n/locales/it.d.ts +321 -0
  256. package/dist/i18n/locales/it.d.ts.map +1 -1
  257. package/dist/i18n/locales/it.js +321 -0
  258. package/dist/i18n/locales/it.js.map +1 -1
  259. package/dist/i18n/locales/ja.d.ts +321 -0
  260. package/dist/i18n/locales/ja.d.ts.map +1 -1
  261. package/dist/i18n/locales/ja.js +321 -0
  262. package/dist/i18n/locales/ja.js.map +1 -1
  263. package/dist/i18n/locales/nl.d.ts +321 -0
  264. package/dist/i18n/locales/nl.d.ts.map +1 -1
  265. package/dist/i18n/locales/nl.js +321 -0
  266. package/dist/i18n/locales/nl.js.map +1 -1
  267. package/dist/i18n/locales/pl.d.ts +321 -0
  268. package/dist/i18n/locales/pl.d.ts.map +1 -1
  269. package/dist/i18n/locales/pl.js +321 -0
  270. package/dist/i18n/locales/pl.js.map +1 -1
  271. package/dist/i18n/locales/pt.d.ts +321 -0
  272. package/dist/i18n/locales/pt.d.ts.map +1 -1
  273. package/dist/i18n/locales/pt.js +321 -0
  274. package/dist/i18n/locales/pt.js.map +1 -1
  275. package/dist/i18n/locales/ro.d.ts +321 -0
  276. package/dist/i18n/locales/ro.d.ts.map +1 -1
  277. package/dist/i18n/locales/ro.js +321 -0
  278. package/dist/i18n/locales/ro.js.map +1 -1
  279. package/dist/i18n/locales/ru.d.ts +321 -0
  280. package/dist/i18n/locales/ru.d.ts.map +1 -1
  281. package/dist/i18n/locales/ru.js +321 -0
  282. package/dist/i18n/locales/ru.js.map +1 -1
  283. package/dist/i18n/locales/sq.d.ts +321 -0
  284. package/dist/i18n/locales/sq.d.ts.map +1 -1
  285. package/dist/i18n/locales/sq.js +321 -0
  286. package/dist/i18n/locales/sq.js.map +1 -1
  287. package/dist/i18n/locales/sv.d.ts +321 -0
  288. package/dist/i18n/locales/sv.d.ts.map +1 -1
  289. package/dist/i18n/locales/sv.js +321 -0
  290. package/dist/i18n/locales/sv.js.map +1 -1
  291. package/dist/i18n/locales/tr.d.ts +321 -0
  292. package/dist/i18n/locales/tr.d.ts.map +1 -1
  293. package/dist/i18n/locales/tr.js +321 -0
  294. package/dist/i18n/locales/tr.js.map +1 -1
  295. package/dist/i18n/locales/zh.d.ts +321 -0
  296. package/dist/i18n/locales/zh.d.ts.map +1 -1
  297. package/dist/i18n/locales/zh.js +321 -0
  298. package/dist/i18n/locales/zh.js.map +1 -1
  299. package/dist/index.js +834 -783
  300. package/dist/index.js.map +1 -1
  301. package/dist/locales/ar.json +321 -0
  302. package/dist/locales/de.json +321 -0
  303. package/dist/locales/el.json +321 -0
  304. package/dist/locales/en.json +321 -0
  305. package/dist/locales/es.json +321 -0
  306. package/dist/locales/fr.json +321 -0
  307. package/dist/locales/hi.json +321 -0
  308. package/dist/locales/it.json +321 -0
  309. package/dist/locales/ja.json +321 -0
  310. package/dist/locales/nl.json +321 -0
  311. package/dist/locales/pl.json +321 -0
  312. package/dist/locales/pt.json +321 -0
  313. package/dist/locales/ro.json +321 -0
  314. package/dist/locales/ru.json +321 -0
  315. package/dist/locales/sq.json +321 -0
  316. package/dist/locales/sv.json +321 -0
  317. package/dist/locales/tr.json +321 -0
  318. package/dist/locales/zh.json +321 -0
  319. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  320. package/dist/patterns/signature-request/index.d.ts +3 -0
  321. package/dist/patterns/signature-request/index.d.ts.map +1 -0
  322. package/dist/patterns/signature-request/index.js +5 -0
  323. package/dist/patterns/signature-request/index.js.map +1 -0
  324. package/dist/patterns/signature-request/signature-request.d.ts +81 -0
  325. package/dist/patterns/signature-request/signature-request.d.ts.map +1 -0
  326. package/dist/tokens.css +1 -1
  327. package/package.json +29 -1
  328. package/dist/_chunks/columns-2-8lq4-b8e.js +0 -15
  329. package/dist/_chunks/columns-2-8lq4-b8e.js.map +0 -1
  330. package/dist/_chunks/file-upload-B2SXhRiN.js.map +0 -1
  331. package/dist/_chunks/flag-DZ6V7-hU.js +0 -637
  332. package/dist/_chunks/link-cell-renderer-CLI7sBkX.js +0 -2210
  333. package/dist/_chunks/link-cell-renderer-CLI7sBkX.js.map +0 -1
  334. package/dist/_chunks/patient-table-B_mOe-ZT.js.map +0 -1
  335. package/dist/_chunks/rich-text-editor-CgA2bYwi.js.map +0 -1
  336. package/dist/_chunks/sidebar-CtU35PIX.js.map +0 -1
  337. package/dist/_chunks/tooth-scheme-CX49GycY.js +0 -2133
  338. package/dist/_chunks/tooth-scheme-CX49GycY.js.map +0 -1
@@ -1,54 +1,55 @@
1
- import { jsx as s, jsxs as u, Fragment as q } from "react/jsx-runtime";
2
- import { forwardRef as b, useState as R, useEffect as U, useCallback as ss, useRef as $, useMemo as O, useId as ns, useContext as Z, createContext as W } from "react";
3
- import * as B from "@radix-ui/react-dialog";
4
- import * as V from "@radix-ui/react-collapsible";
1
+ import { jsx as s, jsxs as u, Fragment as X } from "react/jsx-runtime";
2
+ import { forwardRef as b, useState as B, useEffect as L, useCallback as ss, useRef as G, useMemo as $, useId as ns, useContext as q, createContext as Z } from "react";
3
+ import * as R from "@radix-ui/react-dialog";
4
+ import * as K from "@radix-ui/react-collapsible";
5
5
  import * as E from "@radix-ui/react-accordion";
6
6
  import * as h from "@radix-ui/react-tooltip";
7
- import { a as ts } from "./accordion-C11v9ouP.js";
8
- import { S as os } from "./scroll-area-BZOvUhwQ.js";
7
+ import { a as os } from "./accordion-C11v9ouP.js";
8
+ import { S as ts } from "./scroll-area-BZOvUhwQ.js";
9
9
  import { Slot as ls } from "@radix-ui/react-slot";
10
- import { c as I } from "./index-D2ZczOXr.js";
11
- import { useTranslation as D } from "react-i18next";
10
+ import { c as T } from "./index-D2ZczOXr.js";
11
+ import { useTranslation as A } from "react-i18next";
12
12
  import { u as cs } from "./registry-DvAUVLHh.js";
13
13
  import { u as us } from "./use-edge-resize-ZnGG7gyO.js";
14
14
  import { c as ms } from "./compose-refs-C0k0tdqF.js";
15
- import { X as vs } from "./x-B5YnXwCz.js";
16
- import { c as X } from "./createLucideIcon-DhHxpK9K.js";
17
- import { G as ps } from "./grip-vertical-onSb1JXO.js";
15
+ import { a as vs, b as ps, d as fs } from "./input-surface-xyERuLU_.js";
16
+ import { X as gs } from "./x-B5YnXwCz.js";
17
+ import { c as W } from "./createLucideIcon-DhHxpK9K.js";
18
+ import { G as bs } from "./grip-vertical-onSb1JXO.js";
18
19
  import { C as H } from "./chevron-right-I9AeSxH2.js";
19
- import { S as fs } from "./star-Bf9L2Uot.js";
20
+ import { S as hs } from "./star-Bf9L2Uot.js";
20
21
  /**
21
22
  * @license lucide-react v1.22.0 - ISC
22
23
  *
23
24
  * This source code is licensed under the ISC license.
24
25
  * See the LICENSE file in the root directory of this source tree.
25
26
  */
26
- const gs = [
27
+ const xs = [
27
28
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
28
29
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
29
30
  ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
30
- ], bs = X("panel-left-close", gs);
31
+ ], ys = W("panel-left-close", xs);
31
32
  /**
32
33
  * @license lucide-react v1.22.0 - ISC
33
34
  *
34
35
  * This source code is licensed under the ISC license.
35
36
  * See the LICENSE file in the root directory of this source tree.
36
37
  */
37
- const hs = [
38
+ const Ns = [
38
39
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
39
40
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
40
41
  ["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
41
- ], xs = X("panel-left-open", hs);
42
+ ], ws = W("panel-left-open", Ns);
42
43
  /**
43
44
  * @license lucide-react v1.22.0 - ISC
44
45
  *
45
46
  * This source code is licensed under the ISC license.
46
47
  * See the LICENSE file in the root directory of this source tree.
47
48
  */
48
- const ys = [
49
+ const zs = [
49
50
  ["path", { d: "M16 7h6v6", key: "box55l" }],
50
51
  ["path", { d: "m22 7-8.5 8.5-5-5L2 17", key: "1t1m79" }]
51
- ], ws = X("trending-up", ys), Ns = {
52
+ ], Ss = W("trending-up", zs), js = {
52
53
  id: "sidebar",
53
54
  capabilities: ["expand"],
54
55
  state: {
@@ -83,11 +84,11 @@ const ys = [
83
84
  description: "Each Sidebar.Item emits its `navId` prop as data-nav-id. Agents activate a nav item via native click on the matching anchor."
84
85
  }
85
86
  }
86
- }, G = W({
87
+ }, O = Z({
87
88
  mode: "expanded",
88
89
  density: "default"
89
- }), x = () => Z(G), es = "ui.sidebar.state";
90
- function zs(e) {
90
+ }), x = () => q(O), es = "ui.sidebar.state";
91
+ function Cs(e) {
91
92
  if (typeof window > "u") return e;
92
93
  try {
93
94
  const a = window.localStorage.getItem(es);
@@ -96,14 +97,14 @@ function zs(e) {
96
97
  }
97
98
  return e;
98
99
  }
99
- function Ss(e) {
100
+ function ks(e) {
100
101
  if (!(typeof window > "u"))
101
102
  try {
102
103
  window.localStorage.setItem(es, e);
103
104
  } catch {
104
105
  }
105
106
  }
106
- const J = I(
107
+ const J = T(
107
108
  [
108
109
  "ds:flex ds:flex-col",
109
110
  // Sidebar sits at the page background in light mode (white-on-white
@@ -149,7 +150,7 @@ const J = I(
149
150
  },
150
151
  defaultVariants: { mode: "expanded", density: "default" }
151
152
  }
152
- ), js = 192, Cs = 384, ks = 248, Is = [
153
+ ), Ts = 192, Is = 384, Rs = 248, Bs = [
153
154
  "ds:absolute ds:[inset-block:0] ds:end-0 ds:z-[2]",
154
155
  "ds:w-[var(--resizable-handle-size)]",
155
156
  "ds:cursor-col-resize ds:select-none ds:touch-none",
@@ -163,37 +164,37 @@ const J = I(
163
164
  "ds:before:[inset-block:0]",
164
165
  "ds:before:[inline-size:var(--min-target-size)]",
165
166
  "ds:before:[inset-inline:calc(0px_-_(var(--min-target-size)_-_var(--resizable-handle-size))_/_2)]"
166
- ].join(" "), Ts = b(
167
+ ].join(" "), As = b(
167
168
  ({
168
169
  state: e,
169
170
  defaultState: a = "expanded",
170
171
  onStateChange: r,
171
- density: d = "default",
172
+ density: i = "default",
172
173
  open: n,
173
- onOpenChange: l,
174
- resizable: t = !1,
175
- "aria-label": o,
176
- className: c,
174
+ onOpenChange: c,
175
+ resizable: o = !1,
176
+ "aria-label": t,
177
+ className: l,
177
178
  children: p,
178
179
  id: f,
179
180
  ...g
180
- }, N) => {
181
- const { t: y } = D(), i = e !== void 0, [w, z] = R(
182
- () => i ? e : zs(a)
183
- ), m = i ? e : w;
184
- U(() => {
185
- i || Ss(w);
186
- }, [w, i]);
181
+ }, w) => {
182
+ const { t: y } = A(), d = e !== void 0, [N, z] = B(
183
+ () => d ? e : Cs(a)
184
+ ), m = d ? e : N;
185
+ L(() => {
186
+ d || ks(N);
187
+ }, [N, d]);
187
188
  const S = ss(
188
189
  (k) => {
189
- i || z(k), r == null || r(k);
190
+ d || z(k), r == null || r(k);
190
191
  },
191
- [i, r]
192
- ), j = o ?? y("navigation.sidebar.label"), C = $(m);
193
- U(() => {
192
+ [d, r]
193
+ ), j = t ?? y("navigation.sidebar.label"), C = G(m);
194
+ L(() => {
194
195
  C.current = m;
195
196
  }, [m]);
196
- const F = O(
197
+ const F = $(
197
198
  () => ({
198
199
  getIsCollapsed: () => C.current !== "expanded",
199
200
  toggleCollapsed: () => {
@@ -203,23 +204,23 @@ const J = I(
203
204
  }),
204
205
  [S]
205
206
  );
206
- cs(Ns, F, f);
207
- const A = $(null), P = O(() => ms(N, A), [N]), { separatorProps: M, isResizing: _ } = us({
207
+ cs(js, F, f);
208
+ const D = G(null), _ = $(() => ms(w, D), [w]), { separatorProps: U, isResizing: P } = us({
208
209
  edge: "inline-end",
209
- targetRef: A,
210
+ targetRef: D,
210
211
  cssProperty: "--sidebar-modern-expanded-size",
211
- minSize: js,
212
- maxSize: Cs,
213
- defaultSize: ks,
214
- disabled: !t || m !== "expanded"
215
- }), K = t && m === "expanded";
212
+ minSize: Ts,
213
+ maxSize: Is,
214
+ defaultSize: Rs,
215
+ disabled: !o || m !== "expanded"
216
+ }), M = o && m === "expanded";
216
217
  return m === "overlay" ? /* @__PURE__ */ s(
217
- G.Provider,
218
+ O.Provider,
218
219
  {
219
- value: { mode: "overlay", density: d, transitionTo: S },
220
- children: /* @__PURE__ */ s(B.Root, { open: n, onOpenChange: l, children: /* @__PURE__ */ u(B.Portal, { children: [
220
+ value: { mode: "overlay", density: i, transitionTo: S },
221
+ children: /* @__PURE__ */ s(R.Root, { open: n, onOpenChange: c, children: /* @__PURE__ */ u(R.Portal, { children: [
221
222
  /* @__PURE__ */ s(
222
- B.Overlay,
223
+ R.Overlay,
223
224
  {
224
225
  className: [
225
226
  "ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
@@ -231,7 +232,7 @@ const J = I(
231
232
  }
232
233
  ),
233
234
  /* @__PURE__ */ u(
234
- B.Content,
235
+ R.Content,
235
236
  {
236
237
  "aria-label": j,
237
238
  className: [
@@ -241,20 +242,20 @@ const J = I(
241
242
  // utilities and compiled to nothing.
242
243
  "ds:start-0 ds:top-0",
243
244
  "ds:h-dvh",
244
- J({ mode: "overlay", density: d }),
245
+ J({ mode: "overlay", density: i }),
245
246
  "ds:shadow-[var(--shadow-xl)]",
246
247
  "ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
247
248
  "ds:data-[state=open]:slide-in-from-left ds:data-[state=closed]:slide-out-to-left",
248
249
  "ds:rtl:data-[state=open]:slide-in-from-right ds:rtl:data-[state=closed]:slide-out-to-right",
249
250
  "ds:motion-reduce:animate-none",
250
251
  "ds:focus:outline-none",
251
- c ?? ""
252
+ l ?? ""
252
253
  ].filter(Boolean).join(" "),
253
254
  children: [
254
255
  /* @__PURE__ */ s(
255
256
  "nav",
256
257
  {
257
- ref: P,
258
+ ref: _,
258
259
  id: f,
259
260
  "aria-label": j,
260
261
  "data-component": "sidebar",
@@ -264,7 +265,7 @@ const J = I(
264
265
  children: p
265
266
  }
266
267
  ),
267
- /* @__PURE__ */ s(B.Close, { asChild: !0, children: /* @__PURE__ */ s(
268
+ /* @__PURE__ */ s(R.Close, { asChild: !0, children: /* @__PURE__ */ s(
268
269
  "button",
269
270
  {
270
271
  type: "button",
@@ -278,7 +279,7 @@ const J = I(
278
279
  "ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)]",
279
280
  "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
280
281
  ].join(" "),
281
- children: /* @__PURE__ */ s(vs, { "aria-hidden": "true", className: "ds:size-4" })
282
+ children: /* @__PURE__ */ s(gs, { "aria-hidden": "true", className: "ds:size-4" })
282
283
  }
283
284
  ) })
284
285
  ]
@@ -287,35 +288,35 @@ const J = I(
287
288
  ] }) })
288
289
  }
289
290
  ) : /* @__PURE__ */ s(
290
- G.Provider,
291
+ O.Provider,
291
292
  {
292
- value: { mode: m, density: d, transitionTo: S },
293
+ value: { mode: m, density: i, transitionTo: S },
293
294
  children: /* @__PURE__ */ s(h.Provider, { delayDuration: 300, children: /* @__PURE__ */ u(
294
295
  "nav",
295
296
  {
296
- ref: P,
297
+ ref: _,
297
298
  id: f,
298
299
  "aria-label": j,
299
300
  "data-component": "sidebar",
300
301
  "data-component-id": f,
301
302
  "data-mode": m,
302
- "data-density": d,
303
- "data-resizing": _ ? "" : void 0,
303
+ "data-density": i,
304
+ "data-resizing": P ? "" : void 0,
304
305
  className: [
305
- J({ mode: m, density: d }),
306
- d === "compact" ? "ds:density-compact" : "",
307
- c ?? ""
306
+ J({ mode: m, density: i }),
307
+ i === "compact" ? "ds:density-compact" : "",
308
+ l ?? ""
308
309
  ].filter(Boolean).join(" "),
309
310
  ...g,
310
311
  children: [
311
312
  p,
312
- K ? /* @__PURE__ */ s(
313
+ M ? /* @__PURE__ */ s(
313
314
  "div",
314
315
  {
315
- ...M,
316
+ ...U,
316
317
  "aria-label": y("navigation.sidebar.resize"),
317
- "data-resizing": _ ? "" : void 0,
318
- className: Is
318
+ "data-resizing": P ? "" : void 0,
319
+ className: Bs
319
320
  }
320
321
  ) : null
321
322
  ]
@@ -325,9 +326,9 @@ const J = I(
325
326
  );
326
327
  }
327
328
  );
328
- Ts.displayName = "Sidebar";
329
- const Bs = b(({ className: e, ...a }, r) => {
330
- const { mode: d } = x();
329
+ As.displayName = "Sidebar";
330
+ const Ds = b(({ className: e, ...a }, r) => {
331
+ const { mode: i } = x();
331
332
  return /* @__PURE__ */ s(
332
333
  "div",
333
334
  {
@@ -337,7 +338,7 @@ const Bs = b(({ className: e, ...a }, r) => {
337
338
  "ds:min-h-[var(--min-target-size)]",
338
339
  // Icon-rail is 64px — shrink horizontal padding so a 44×44
339
340
  // control fits centred inside the header.
340
- d === "icon" ? "ds:justify-center ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
341
+ i === "icon" ? "ds:justify-center ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
341
342
  "ds:py-[var(--spacing-sm)]",
342
343
  // Hairline border + downward chrome shadow cast the header as a
343
344
  // sticky top band above the scrolling body.
@@ -349,9 +350,9 @@ const Bs = b(({ className: e, ...a }, r) => {
349
350
  }
350
351
  );
351
352
  });
352
- Bs.displayName = "SidebarHeader";
353
- const Rs = b(
354
- ({ className: e, children: a, ...r }, d) => (
353
+ Ds.displayName = "SidebarHeader";
354
+ const _s = b(
355
+ ({ className: e, children: a, ...r }, i) => (
355
356
  // Scroll the nav sections through the kit `ScrollArea` (8px tokenised
356
357
  // scrollbar) instead of native `overflow-auto` (the OS scrollbar), so the
357
358
  // sidebar matches the Control Room rail and the kit's trays. `flex-1 min-h-0`
@@ -359,14 +360,14 @@ const Rs = b(
359
360
  // body box (the ScrollArea root). Padding + `ref` + div props go on the inner
360
361
  // content div so the scrollbar sits flush at the inline-end edge.
361
362
  /* @__PURE__ */ s(
362
- os,
363
+ ts,
363
364
  {
364
365
  orientation: "vertical",
365
366
  className: ["ds:flex-1 ds:min-h-0", e ?? ""].filter(Boolean).join(" "),
366
367
  children: /* @__PURE__ */ s(
367
368
  "div",
368
369
  {
369
- ref: d,
370
+ ref: i,
370
371
  className: "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:py-[var(--spacing-sm)]",
371
372
  ...r,
372
373
  children: a
@@ -376,9 +377,9 @@ const Rs = b(
376
377
  )
377
378
  )
378
379
  );
379
- Rs.displayName = "SidebarBody";
380
- const Ds = b(({ className: e, ...a }, r) => {
381
- const { mode: d } = x();
380
+ _s.displayName = "SidebarBody";
381
+ const Ps = b(({ className: e, ...a }, r) => {
382
+ const { mode: i } = x();
382
383
  return /* @__PURE__ */ s(
383
384
  "div",
384
385
  {
@@ -387,7 +388,7 @@ const Ds = b(({ className: e, ...a }, r) => {
387
388
  "ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
388
389
  // Icon-rail is 64px — two 44×44 controls can't sit side-by-side,
389
390
  // so switch to a vertical stack and let each row self-centre.
390
- d === "icon" ? "ds:flex-col ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
391
+ i === "icon" ? "ds:flex-col ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
391
392
  "ds:min-h-[var(--min-target-size)]",
392
393
  "ds:py-[var(--spacing-sm)]",
393
394
  // Hairline border + upward chrome shadow cast the footer as a
@@ -400,8 +401,8 @@ const Ds = b(({ className: e, ...a }, r) => {
400
401
  }
401
402
  );
402
403
  });
403
- Ds.displayName = "SidebarFooter";
404
- const As = [
404
+ Ps.displayName = "SidebarFooter";
405
+ const Es = [
405
406
  "ds:group/section-label ds:flex ds:w-full ds:items-center",
406
407
  "type-eyebrow",
407
408
  "ds:text-[var(--muted-foreground)]",
@@ -421,21 +422,21 @@ const As = [
421
422
  label: e,
422
423
  icon: a,
423
424
  collapsible: r = !0,
424
- defaultOpen: d = !0,
425
+ defaultOpen: i = !0,
425
426
  open: n,
426
- onOpenChange: l,
427
- className: t,
428
- children: o,
429
- ...c
427
+ onOpenChange: c,
428
+ className: o,
429
+ children: t,
430
+ ...l
430
431
  }, p) => {
431
- const { mode: f } = x(), g = f === "icon", N = r && !g && !!e, y = [
432
+ const { mode: f } = x(), g = f === "icon", w = r && !g && !!e, y = [
432
433
  "ds:flex ds:flex-col",
433
434
  "ds:gap-[var(--spacing-xs)]",
434
435
  "ds:mt-[var(--spacing-sm)]",
435
- t ?? ""
436
+ o ?? ""
436
437
  ].filter(Boolean).join(" ");
437
- if (!N)
438
- return /* @__PURE__ */ u("div", { ref: p, className: y, ...c, children: [
438
+ if (!w)
439
+ return /* @__PURE__ */ u("div", { ref: p, className: y, ...l, children: [
439
440
  !!e || !!a ? /* @__PURE__ */ u(
440
441
  "span",
441
442
  {
@@ -453,20 +454,20 @@ const As = [
453
454
  ]
454
455
  }
455
456
  ) : null,
456
- o
457
+ t
457
458
  ] });
458
- const i = "section";
459
+ const d = "section";
459
460
  return /* @__PURE__ */ s(
460
461
  E.Root,
461
462
  {
462
463
  type: "single",
463
464
  collapsible: !0,
464
- defaultValue: n === void 0 && d ? i : void 0,
465
- value: n === void 0 ? void 0 : n ? i : "",
466
- onValueChange: l ? (w) => l(w === i) : void 0,
465
+ defaultValue: n === void 0 && i ? d : void 0,
466
+ value: n === void 0 ? void 0 : n ? d : "",
467
+ onValueChange: c ? (N) => c(N === d) : void 0,
467
468
  asChild: !0,
468
- children: /* @__PURE__ */ s("div", { ref: p, className: y, ...c, children: /* @__PURE__ */ u(E.Item, { value: i, children: [
469
- /* @__PURE__ */ s(E.Header, { className: "ds:flex", children: /* @__PURE__ */ u(E.Trigger, { className: As, children: [
469
+ children: /* @__PURE__ */ s("div", { ref: p, className: y, ...l, children: /* @__PURE__ */ u(E.Item, { value: d, children: [
470
+ /* @__PURE__ */ s(E.Header, { className: "ds:flex", children: /* @__PURE__ */ u(E.Trigger, { className: Es, children: [
470
471
  a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: Q, children: a }) : null,
471
472
  /* @__PURE__ */ s("span", { className: "ds:flex-1 ds:text-start", children: e }),
472
473
  /* @__PURE__ */ s(
@@ -478,11 +479,11 @@ const As = [
478
479
  )
479
480
  ] }) }),
480
481
  /* @__PURE__ */ s(
481
- ts,
482
+ os,
482
483
  {
483
484
  "aria-label": e,
484
485
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:[&>div]:contents",
485
- children: o
486
+ children: t
486
487
  }
487
488
  )
488
489
  ] }) })
@@ -491,7 +492,7 @@ const As = [
491
492
  }
492
493
  );
493
494
  as.displayName = "SidebarSection";
494
- const Ps = [
495
+ const Hs = [
495
496
  "ds:group ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-sm)]",
496
497
  "ds:min-h-[var(--min-target-size)]",
497
498
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
@@ -502,29 +503,29 @@ const Ps = [
502
503
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
503
504
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
504
505
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
505
- ].join(" "), _s = b(
506
+ ].join(" "), Fs = b(
506
507
  ({
507
508
  label: e,
508
509
  icon: a,
509
510
  children: r,
510
- className: d,
511
+ className: i,
511
512
  defaultOpen: n,
512
- open: l,
513
- onOpenChange: t,
514
- ...o
515
- }, c) => {
513
+ open: c,
514
+ onOpenChange: o,
515
+ ...t
516
+ }, l) => {
516
517
  const { mode: p } = x();
517
518
  return /* @__PURE__ */ u(
518
- V.Root,
519
+ K.Root,
519
520
  {
520
- ref: c,
521
+ ref: l,
521
522
  defaultOpen: n,
522
- open: l,
523
- onOpenChange: t,
524
- className: d,
525
- ...o,
523
+ open: c,
524
+ onOpenChange: o,
525
+ className: i,
526
+ ...t,
526
527
  children: [
527
- /* @__PURE__ */ u(V.Trigger, { className: Ps, children: [
528
+ /* @__PURE__ */ u(K.Trigger, { className: Hs, children: [
528
529
  a ? /* @__PURE__ */ s(
529
530
  "span",
530
531
  {
@@ -552,7 +553,7 @@ const Ps = [
552
553
  ) : null
553
554
  ] }),
554
555
  /* @__PURE__ */ s(
555
- V.Content,
556
+ K.Content,
556
557
  {
557
558
  className: [
558
559
  "ds:overflow-hidden",
@@ -568,8 +569,8 @@ const Ps = [
568
569
  );
569
570
  }
570
571
  );
571
- _s.displayName = "SidebarGroup";
572
- const Es = I(
572
+ Fs.displayName = "SidebarGroup";
573
+ const Us = T(
573
574
  [
574
575
  // Every row is a pin-hover parent so inline pin / reorder affordances can
575
576
  // fade in on hover of the whole row — keep `group/item` on this selector.
@@ -630,55 +631,55 @@ const Es = I(
630
631
  isActive: !1
631
632
  }
632
633
  }
633
- ), rs = W(null), is = b(
634
+ ), rs = Z(null), ds = b(
634
635
  ({
635
636
  asChild: e = !1,
636
637
  isActive: a = !1,
637
638
  navId: r,
638
- isPinned: d = !1,
639
+ isPinned: i = !1,
639
640
  onPinChange: n,
640
- pinLabel: l,
641
- className: t,
642
- children: o,
643
- "aria-label": c,
641
+ pinLabel: c,
642
+ className: o,
643
+ children: t,
644
+ "aria-label": l,
644
645
  ...p
645
646
  }, f) => {
646
- const { mode: g, density: N } = x(), y = e ? ls : "a", i = n !== void 0 && g !== "icon", [w, z] = R(null), m = g === "icon" && c != null && w ? `${c}, ${w}` : c, S = /* @__PURE__ */ s(
647
+ const { mode: g, density: w } = x(), y = e ? ls : "a", d = n !== void 0 && g !== "icon", [N, z] = B(null), m = g === "icon" && l != null && N ? `${l}, ${N}` : l, S = /* @__PURE__ */ s(
647
648
  y,
648
649
  {
649
650
  ref: f,
650
651
  "aria-current": a ? "page" : void 0,
651
652
  "aria-label": m,
652
653
  "data-nav-id": r,
653
- className: Es({
654
+ className: Us({
654
655
  mode: g,
655
- density: N,
656
+ density: w,
656
657
  isActive: a,
657
- className: i ? "ds:flex-1 ds:min-w-0" : t
658
+ className: d ? "ds:flex-1 ds:min-w-0" : o
658
659
  }),
659
660
  ...p,
660
- children: o
661
+ children: t
661
662
  }
662
- ), j = i ? /* @__PURE__ */ u(
663
+ ), j = d ? /* @__PURE__ */ u(
663
664
  "div",
664
665
  {
665
666
  className: [
666
667
  "ds:group/item ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
667
- t ?? ""
668
+ o ?? ""
668
669
  ].filter(Boolean).join(" "),
669
670
  children: [
670
671
  S,
671
672
  /* @__PURE__ */ s(
672
673
  Y,
673
674
  {
674
- isPinned: d,
675
- label: l ?? c ?? "",
675
+ isPinned: i,
676
+ label: c ?? l ?? "",
676
677
  onPinChange: n
677
678
  }
678
679
  )
679
680
  ]
680
681
  }
681
- ) : S, C = g === "icon" && c ? /* @__PURE__ */ u(h.Root, { children: [
682
+ ) : S, C = g === "icon" && l ? /* @__PURE__ */ u(h.Root, { children: [
682
683
  /* @__PURE__ */ s(h.Trigger, { asChild: !0, children: j }),
683
684
  /* @__PURE__ */ s(h.Portal, { children: /* @__PURE__ */ u(
684
685
  h.Content,
@@ -693,7 +694,7 @@ const Es = I(
693
694
  "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
694
695
  ].join(" "),
695
696
  children: [
696
- c,
697
+ l,
697
698
  /* @__PURE__ */ s(h.Arrow, { className: "ds:fill-[var(--foreground)]" })
698
699
  ]
699
700
  }
@@ -702,11 +703,11 @@ const Es = I(
702
703
  return /* @__PURE__ */ s(rs.Provider, { value: z, children: C });
703
704
  }
704
705
  );
705
- is.displayName = "SidebarItem";
706
- const Hs = b(({ className: e, children: a, ...r }, d) => /* @__PURE__ */ s(
706
+ ds.displayName = "SidebarItem";
707
+ const Ms = b(({ className: e, children: a, ...r }, i) => /* @__PURE__ */ s(
707
708
  "span",
708
709
  {
709
- ref: d,
710
+ ref: i,
710
711
  "aria-hidden": "true",
711
712
  className: [
712
713
  "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
@@ -724,13 +725,13 @@ const Hs = b(({ className: e, children: a, ...r }, d) => /* @__PURE__ */ s(
724
725
  children: a
725
726
  }
726
727
  ));
727
- Hs.displayName = "SidebarItemIcon";
728
- const Fs = b(({ className: e, children: a, ...r }, d) => {
728
+ Ms.displayName = "SidebarItemIcon";
729
+ const Vs = b(({ className: e, children: a, ...r }, i) => {
729
730
  const { mode: n } = x();
730
731
  return /* @__PURE__ */ s(
731
732
  "span",
732
733
  {
733
- ref: d,
734
+ ref: i,
734
735
  className: [
735
736
  "ds:flex-1",
736
737
  "ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap ds:break-normal",
@@ -743,22 +744,22 @@ const Fs = b(({ className: e, children: a, ...r }, d) => {
743
744
  }
744
745
  );
745
746
  });
746
- Fs.displayName = "SidebarItemLabel";
747
- const Ms = b(({ className: e, children: a, ...r }, d) => {
748
- const { mode: n } = x(), l = n === "icon", t = Z(rs);
749
- return U(() => {
750
- if (!t || !l) return;
751
- const o = a == null || a === !1 ? null : String(a).trim() || null;
752
- return t(o), () => t(null);
753
- }, [t, a, l]), /* @__PURE__ */ s(
747
+ Vs.displayName = "SidebarItemLabel";
748
+ const Ks = b(({ className: e, children: a, ...r }, i) => {
749
+ const { mode: n } = x(), c = n === "icon", o = q(rs);
750
+ return L(() => {
751
+ if (!o || !c) return;
752
+ const t = a == null || a === !1 ? null : String(a).trim() || null;
753
+ return o(t), () => o(null);
754
+ }, [o, a, c]), /* @__PURE__ */ s(
754
755
  "span",
755
756
  {
756
- ref: d,
757
- "aria-hidden": l ? "true" : void 0,
757
+ ref: i,
758
+ "aria-hidden": c ? "true" : void 0,
758
759
  className: [
759
760
  "ds:inline-flex ds:items-center ds:justify-center",
760
761
  "ds:font-[var(--font-weight-semibold)]",
761
- l ? [
762
+ c ? [
762
763
  "ds:absolute ds:top-[2px] ds:end-[2px]",
763
764
  "ds:min-w-0 ds:size-[10px] ds:ps-0 ds:pe-0",
764
765
  "ds:rounded-[var(--radius-full)]",
@@ -779,55 +780,91 @@ const Ms = b(({ className: e, children: a, ...r }, d) => {
779
780
  }
780
781
  );
781
782
  });
782
- Ms.displayName = "SidebarItemBadge";
783
- const Ks = I(
783
+ Ks.displayName = "SidebarItemBadge";
784
+ const Ls = T(
784
785
  [
785
- "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
786
- "ds:min-h-[var(--min-target-size)]",
787
- "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
788
- "ds:rounded-[var(--radius-md)]",
789
- "ds:text-[var(--foreground)] ds:text-[length:var(--font-size-sm)]",
790
- "ds:hover:bg-[var(--muted)]/20",
786
+ "ds:flex ds:items-center",
787
+ "ds:text-[var(--foreground)]",
788
+ "ds:transition-colors ds:motion-reduce:transition-none",
791
789
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
792
790
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
793
791
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
794
792
  "ds:no-underline"
795
- ].join(" ")
796
- ), Ls = b(({ logo: e, name: a, showChevron: r = !0, className: d, ...n }, l) => {
797
- const { mode: t } = x(), o = t !== "icon";
798
- return /* @__PURE__ */ u(
799
- "button",
800
- {
801
- ref: l,
802
- type: "button",
803
- "aria-label": a,
804
- className: [Ks(), d].filter(Boolean).join(" "),
805
- ...n,
806
- children: [
807
- /* @__PURE__ */ s(
808
- "span",
809
- {
810
- "aria-hidden": "true",
811
- className: "ds:inline-flex ds:items-center ds:shrink-0",
812
- children: e
813
- }
814
- ),
815
- o ? /* @__PURE__ */ u(q, { children: [
816
- /* @__PURE__ */ s("span", { className: "ds:truncate ds:flex-1 ds:text-start ds:max-w-[var(--header-workspace-max-inline-size)]", children: a }),
817
- r ? /* @__PURE__ */ s(
818
- H,
793
+ ].join(" "),
794
+ {
795
+ variants: {
796
+ variant: {
797
+ // Borderless (Linear / Notion style): transparent at rest with a
798
+ // muted hover fill, a 44px tap target, roomier radius, and the dense
799
+ // `--font-size-sm` label. The historical default.
800
+ ghost: [
801
+ "ds:min-h-[var(--min-target-size)]",
802
+ "ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
803
+ "ds:text-[length:var(--font-size-sm)]",
804
+ "ds:rounded-[var(--radius-md)]",
805
+ "ds:hover:bg-[var(--muted)]/20"
806
+ ].join(" "),
807
+ // Input-field look: consumes the SAME shared input-surface tokens as
808
+ // <TextInput size="sm"> — height, text size and horizontal inset — so
809
+ // a practice / workspace selector stacked directly above the sidebar
810
+ // <SearchBar size="sm"> renders as a genuinely matched pair (identical
811
+ // 32px box and label size) and stays in lockstep if that surface
812
+ // evolves. `gap-3` + the shared `ps-3` line the pin glyph and label up
813
+ // with the search input's icon and text below. The bordered
814
+ // `--input`/`--shadow-input`/`--radius-sm` chrome mirrors the input's
815
+ // resting surface; opaque hover keeps the fill solid over a
816
+ // brand-tinted parent. 32px clears WCAG 2.5.8 (24px AA).
817
+ field: [
818
+ vs.sm,
819
+ ps.sm,
820
+ fs.sm,
821
+ "ds:gap-3",
822
+ "ds:rounded-[var(--radius-sm)]",
823
+ "ds:border ds:border-[var(--border)] ds:bg-[var(--input)]",
824
+ "ds:shadow-[var(--shadow-input)]",
825
+ "ds:hover:bg-[color-mix(in_srgb,var(--muted)_20%,var(--input))]"
826
+ ].join(" ")
827
+ }
828
+ },
829
+ defaultVariants: { variant: "ghost" }
830
+ }
831
+ ), Gs = b(
832
+ ({ logo: e, name: a, showChevron: r = !0, variant: i = "ghost", className: n, ...c }, o) => {
833
+ const { mode: t } = x(), l = t !== "icon";
834
+ return /* @__PURE__ */ u(
835
+ "button",
836
+ {
837
+ ref: o,
838
+ type: "button",
839
+ "aria-label": a,
840
+ className: [Ls({ variant: i }), n].filter(Boolean).join(" "),
841
+ ...c,
842
+ children: [
843
+ /* @__PURE__ */ s(
844
+ "span",
819
845
  {
820
846
  "aria-hidden": "true",
821
- className: "ds:size-4 ds:shrink-0 ds:rotate-90"
847
+ className: "ds:inline-flex ds:items-center ds:shrink-0",
848
+ children: e
822
849
  }
823
- ) : null
824
- ] }) : null
825
- ]
826
- }
827
- );
828
- });
829
- Ls.displayName = "SidebarWorkspaceSwitcher";
830
- const Vs = I(
850
+ ),
851
+ l ? /* @__PURE__ */ u(X, { children: [
852
+ /* @__PURE__ */ s("span", { className: "ds:truncate ds:flex-1 ds:text-start ds:max-w-[var(--header-workspace-max-inline-size)]", children: a }),
853
+ r ? /* @__PURE__ */ s(
854
+ H,
855
+ {
856
+ "aria-hidden": "true",
857
+ className: "ds:size-4 ds:shrink-0 ds:rotate-90"
858
+ }
859
+ ) : null
860
+ ] }) : null
861
+ ]
862
+ }
863
+ );
864
+ }
865
+ );
866
+ Gs.displayName = "SidebarWorkspaceSwitcher";
867
+ const $s = T(
831
868
  [
832
869
  "ds:flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
833
870
  "ds:min-h-[var(--min-target-size)]",
@@ -850,16 +887,16 @@ const Vs = I(
850
887
  },
851
888
  defaultVariants: { mode: "expanded" }
852
889
  }
853
- ), Us = b(({ icon: e, label: a, shortcut: r, className: d, ...n }, l) => {
854
- const { mode: t } = x(), o = t !== "icon";
890
+ ), Os = b(({ icon: e, label: a, shortcut: r, className: i, ...n }, c) => {
891
+ const { mode: o } = x(), t = o !== "icon";
855
892
  return /* @__PURE__ */ u(
856
893
  "button",
857
894
  {
858
- ref: l,
895
+ ref: c,
859
896
  type: "button",
860
897
  "aria-label": a,
861
898
  "aria-keyshortcuts": r,
862
- className: [Vs({ mode: t }), d].filter(Boolean).join(" "),
899
+ className: [$s({ mode: o }), i].filter(Boolean).join(" "),
863
900
  ...n,
864
901
  children: [
865
902
  /* @__PURE__ */ s(
@@ -870,7 +907,7 @@ const Vs = I(
870
907
  children: e
871
908
  }
872
909
  ),
873
- o ? /* @__PURE__ */ u(q, { children: [
910
+ t ? /* @__PURE__ */ u(X, { children: [
874
911
  /* @__PURE__ */ s("span", { className: "ds:truncate", children: a }),
875
912
  r ? /* @__PURE__ */ s("kbd", { className: "ds:ms-auto ds:text-[length:var(--font-size-xs)] ds:font-[family-name:var(--font-mono)] ds:opacity-80", children: r }) : null
876
913
  ] }) : null
@@ -878,8 +915,8 @@ const Vs = I(
878
915
  }
879
916
  );
880
917
  });
881
- Us.displayName = "SidebarPrimaryAction";
882
- const $s = [
918
+ Os.displayName = "SidebarPrimaryAction";
919
+ const Xs = [
883
920
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
884
921
  "ds:size-6 ds:rounded-[var(--radius-sm)]",
885
922
  // Lift above the Sidebar's opt-in resize handle (z-[2]). When `resizable`,
@@ -904,24 +941,24 @@ const $s = [
904
941
  "ds:transition-[color,opacity,background-color] ds:duration-[var(--animation-duration)]",
905
942
  "ds:motion-reduce:transition-none"
906
943
  ].join(" "), Y = b(
907
- ({ isPinned: e, onPinChange: a, label: r, className: d, onClick: n, ...l }, t) => {
908
- const { t: o } = D(), { mode: c } = x();
909
- if (c === "icon") return null;
910
- const p = e ? o("navigation.sidebar.unpinItem", "Unpin {{label}}", { label: r }) : o("navigation.sidebar.pinItem", "Pin {{label}}", { label: r });
944
+ ({ isPinned: e, onPinChange: a, label: r, className: i, onClick: n, ...c }, o) => {
945
+ const { t } = A(), { mode: l } = x();
946
+ if (l === "icon") return null;
947
+ const p = e ? t("navigation.sidebar.unpinItem", "Unpin {{label}}", { label: r }) : t("navigation.sidebar.pinItem", "Pin {{label}}", { label: r });
911
948
  return /* @__PURE__ */ s(
912
949
  "button",
913
950
  {
914
- ref: t,
951
+ ref: o,
915
952
  type: "button",
916
953
  "aria-label": p,
917
954
  "aria-pressed": e,
918
- className: [$s, d].filter(Boolean).join(" "),
955
+ className: [Xs, i].filter(Boolean).join(" "),
919
956
  onClick: (f) => {
920
957
  f.preventDefault(), f.stopPropagation(), a == null || a(!e), n == null || n(f);
921
958
  },
922
- ...l,
959
+ ...c,
923
960
  children: /* @__PURE__ */ s(
924
- fs,
961
+ hs,
925
962
  {
926
963
  "aria-hidden": "true",
927
964
  className: "ds:size-4",
@@ -933,31 +970,31 @@ const $s = [
933
970
  }
934
971
  );
935
972
  Y.displayName = "SidebarPinButton";
936
- const ds = W(null), Os = () => Z(ds), Gs = b(
937
- ({ heading: e, emptyMessage: a, onReorder: r, className: d, children: n, ...l }, t) => {
938
- const { t: o } = D(), c = e ?? o("navigation.sidebar.favorites", "Favourites"), p = Array.isArray(n) ? n.filter(Boolean) : n ? [n] : [], f = p.length, g = f > 0, [N, y] = R(null), [i, w] = R(""), z = $(!1), m = ss((j) => {
939
- z.current = !z.current, w(z.current ? j : `${j}​`);
940
- }, []), S = O(
941
- () => ({ onReorder: r, count: f, dragSource: N, setDragSource: y, announce: m }),
942
- [r, f, N, m]
973
+ const is = Z(null), qs = () => q(is), Zs = b(
974
+ ({ heading: e, emptyMessage: a, onReorder: r, className: i, children: n, ...c }, o) => {
975
+ const { t } = A(), l = e ?? t("navigation.sidebar.favorites", "Favourites"), p = Array.isArray(n) ? n.filter(Boolean) : n ? [n] : [], f = p.length, g = f > 0, [w, y] = B(null), [d, N] = B(""), z = G(!1), m = ss((j) => {
976
+ z.current = !z.current, N(z.current ? j : `${j}​`);
977
+ }, []), S = $(
978
+ () => ({ onReorder: r, count: f, dragSource: w, setDragSource: y, announce: m }),
979
+ [r, f, w, m]
943
980
  );
944
- return !g && !a ? null : /* @__PURE__ */ s(ds.Provider, { value: S, children: /* @__PURE__ */ u(
981
+ return !g && !a ? null : /* @__PURE__ */ s(is.Provider, { value: S, children: /* @__PURE__ */ u(
945
982
  as,
946
983
  {
947
- ref: t,
948
- label: c,
949
- className: d,
950
- ...l,
984
+ ref: o,
985
+ label: l,
986
+ className: i,
987
+ ...c,
951
988
  children: [
952
989
  g ? p : /* @__PURE__ */ s("p", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] type-meta ds:text-[color:var(--muted-foreground)]", children: a }),
953
- /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: i })
990
+ /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: d })
954
991
  ]
955
992
  }
956
993
  ) });
957
994
  }
958
995
  );
959
- Gs.displayName = "SidebarFavorites";
960
- const qs = I(
996
+ Zs.displayName = "SidebarFavorites";
997
+ const Ws = T(
961
998
  [
962
999
  "ds:group/item ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
963
1000
  "ds:rounded-[var(--radius-sm)]",
@@ -976,7 +1013,7 @@ const qs = I(
976
1013
  },
977
1014
  defaultVariants: { dragging: !1, dropTarget: !1 }
978
1015
  }
979
- ), Zs = [
1016
+ ), Ys = [
980
1017
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
981
1018
  "ds:size-6 ds:rounded-[var(--radius-sm)]",
982
1019
  "ds:cursor-grab ds:active:cursor-grabbing",
@@ -990,68 +1027,68 @@ const qs = I(
990
1027
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
991
1028
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
992
1029
  "ds:transition-[color,opacity,background-color] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
993
- ].join(" "), Ws = b(
1030
+ ].join(" "), Js = b(
994
1031
  ({
995
1032
  index: e,
996
1033
  isActive: a = !1,
997
1034
  asChild: r = !1,
998
- reorderLabel: d,
1035
+ reorderLabel: i,
999
1036
  isPinned: n = !1,
1000
- onPinChange: l,
1001
- pinLabel: t,
1002
- "aria-label": o,
1003
- className: c,
1037
+ onPinChange: c,
1038
+ pinLabel: o,
1039
+ "aria-label": t,
1040
+ className: l,
1004
1041
  children: p,
1005
1042
  ...f
1006
1043
  }, g) => {
1007
- const { t: N } = D(), { mode: y } = x(), i = Os(), [w, z] = R(!1), m = !!(i != null && i.onReorder) && y !== "icon", S = d ?? o ?? "", j = ns(), C = (v, T) => {
1008
- if (!(i != null && i.onReorder)) return;
1009
- const L = Math.max(0, Math.min(i.count - 1, T));
1010
- L !== v && (i.onReorder(v, L), i.announce(
1011
- N(
1044
+ const { t: w } = A(), { mode: y } = x(), d = qs(), [N, z] = B(!1), m = !!(d != null && d.onReorder) && y !== "icon", S = i ?? t ?? "", j = ns(), C = (v, I) => {
1045
+ if (!(d != null && d.onReorder)) return;
1046
+ const V = Math.max(0, Math.min(d.count - 1, I));
1047
+ V !== v && (d.onReorder(v, V), d.announce(
1048
+ w(
1012
1049
  "navigation.sidebar.reorderAnnounce",
1013
1050
  "{{label}} moved to position {{to}} of {{total}}",
1014
- { label: S, to: L + 1, total: i.count }
1051
+ { label: S, to: V + 1, total: d.count }
1015
1052
  )
1016
1053
  ));
1017
1054
  }, F = (v) => {
1018
- m && (v.altKey && v.key === "ArrowUp" ? (v.preventDefault(), C(e, e - 1)) : v.altKey && v.key === "ArrowDown" ? (v.preventDefault(), C(e, e + 1)) : v.key === "Home" && v.altKey ? (v.preventDefault(), C(e, 0)) : v.key === "End" && v.altKey && (v.preventDefault(), C(e, i.count - 1)));
1019
- }, A = (v) => {
1020
- m && (i == null || i.setDragSource(e), v.dataTransfer && (v.dataTransfer.effectAllowed = "move", v.dataTransfer.setData("ds:text/plain", String(e))));
1021
- }, P = () => {
1022
- i == null || i.setDragSource(null), z(!1);
1023
- }, M = (v) => {
1024
- !m || (i == null ? void 0 : i.dragSource) === null || (v.preventDefault(), v.dataTransfer && (v.dataTransfer.dropEffect = "move"), z(!0));
1025
- }, _ = () => z(!1), K = (v) => {
1055
+ m && (v.altKey && v.key === "ArrowUp" ? (v.preventDefault(), C(e, e - 1)) : v.altKey && v.key === "ArrowDown" ? (v.preventDefault(), C(e, e + 1)) : v.key === "Home" && v.altKey ? (v.preventDefault(), C(e, 0)) : v.key === "End" && v.altKey && (v.preventDefault(), C(e, d.count - 1)));
1056
+ }, D = (v) => {
1057
+ m && (d == null || d.setDragSource(e), v.dataTransfer && (v.dataTransfer.effectAllowed = "move", v.dataTransfer.setData("ds:text/plain", String(e))));
1058
+ }, _ = () => {
1059
+ d == null || d.setDragSource(null), z(!1);
1060
+ }, U = (v) => {
1061
+ !m || (d == null ? void 0 : d.dragSource) === null || (v.preventDefault(), v.dataTransfer && (v.dataTransfer.dropEffect = "move"), z(!0));
1062
+ }, P = () => z(!1), M = (v) => {
1026
1063
  if (!m) return;
1027
1064
  v.preventDefault();
1028
- const T = i == null ? void 0 : i.dragSource;
1029
- z(!1), !(T == null || T === e) && C(T, e);
1030
- }, k = (i == null ? void 0 : i.dragSource) === e;
1065
+ const I = d == null ? void 0 : d.dragSource;
1066
+ z(!1), !(I == null || I === e) && C(I, e);
1067
+ }, k = (d == null ? void 0 : d.dragSource) === e;
1031
1068
  return /* @__PURE__ */ u(
1032
1069
  "div",
1033
1070
  {
1034
- className: qs({
1071
+ className: Ws({
1035
1072
  dragging: k,
1036
- dropTarget: w && !k
1073
+ dropTarget: N && !k
1037
1074
  }),
1038
1075
  draggable: m || void 0,
1039
- onDragStart: m ? A : void 0,
1040
- onDragEnd: m ? P : void 0,
1041
- onDragOver: M,
1042
- onDragLeave: _,
1043
- onDrop: K,
1076
+ onDragStart: m ? D : void 0,
1077
+ onDragEnd: m ? _ : void 0,
1078
+ onDragOver: U,
1079
+ onDragLeave: P,
1080
+ onDrop: M,
1044
1081
  children: [
1045
1082
  /* @__PURE__ */ s(
1046
- is,
1083
+ ds,
1047
1084
  {
1048
1085
  ref: g,
1049
1086
  isActive: a,
1050
1087
  asChild: r,
1051
- "aria-label": o,
1088
+ "aria-label": t,
1052
1089
  "aria-describedby": m ? j : void 0,
1053
1090
  draggable: m ? !1 : void 0,
1054
- className: [m ? "ds:flex-1 ds:min-w-0" : "", c ?? ""].filter(Boolean).join(" "),
1091
+ className: [m ? "ds:flex-1 ds:min-w-0" : "", l ?? ""].filter(Boolean).join(" "),
1055
1092
  ...f,
1056
1093
  children: p
1057
1094
  }
@@ -1061,22 +1098,22 @@ const qs = I(
1061
1098
  {
1062
1099
  type: "button",
1063
1100
  id: j,
1064
- "aria-label": N(
1101
+ "aria-label": w(
1065
1102
  "navigation.sidebar.reorderHandle",
1066
1103
  "Reorder {{label}}. Press Alt + Up or Alt + Down to move.",
1067
1104
  { label: S }
1068
1105
  ),
1069
- className: Zs,
1106
+ className: Ys,
1070
1107
  onKeyDown: F,
1071
- children: /* @__PURE__ */ s(ps, { "aria-hidden": "true", className: "ds:size-4" })
1108
+ children: /* @__PURE__ */ s(bs, { "aria-hidden": "true", className: "ds:size-4" })
1072
1109
  }
1073
1110
  ) : null,
1074
- l && y !== "icon" ? /* @__PURE__ */ s(
1111
+ c && y !== "icon" ? /* @__PURE__ */ s(
1075
1112
  Y,
1076
1113
  {
1077
1114
  isPinned: n,
1078
- label: t ?? o ?? "",
1079
- onPinChange: l
1115
+ label: o ?? t ?? "",
1116
+ onPinChange: c
1080
1117
  }
1081
1118
  ) : null
1082
1119
  ]
@@ -1084,8 +1121,8 @@ const qs = I(
1084
1121
  );
1085
1122
  }
1086
1123
  );
1087
- Ws.displayName = "SidebarFavoriteItem";
1088
- const Xs = I(
1124
+ Js.displayName = "SidebarFavoriteItem";
1125
+ const Qs = T(
1089
1126
  [
1090
1127
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
1091
1128
  "ds:min-h-[var(--min-target-size)]",
@@ -1098,16 +1135,16 @@ const Xs = I(
1098
1135
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
1099
1136
  "ds:no-underline"
1100
1137
  ].join(" ")
1101
- ), Ys = b(({ avatar: e, name: a, subtitle: r, subtitleLabel: d, className: n, ...l }, t) => {
1102
- const { mode: o } = x(), c = o !== "icon", p = typeof r == "string" ? r : d;
1138
+ ), se = b(({ avatar: e, name: a, subtitle: r, subtitleLabel: i, className: n, ...c }, o) => {
1139
+ const { mode: t } = x(), l = t !== "icon", p = typeof r == "string" ? r : i;
1103
1140
  return /* @__PURE__ */ u(
1104
1141
  "button",
1105
1142
  {
1106
- ref: t,
1143
+ ref: o,
1107
1144
  type: "button",
1108
1145
  "aria-label": p ? `${a}, ${p}` : a,
1109
- className: [Xs(), n].filter(Boolean).join(" "),
1110
- ...l,
1146
+ className: [Qs(), n].filter(Boolean).join(" "),
1147
+ ...c,
1111
1148
  children: [
1112
1149
  /* @__PURE__ */ s(
1113
1150
  "span",
@@ -1117,7 +1154,7 @@ const Xs = I(
1117
1154
  children: e
1118
1155
  }
1119
1156
  ),
1120
- c ? /* @__PURE__ */ u("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1157
+ l ? /* @__PURE__ */ u("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1121
1158
  /* @__PURE__ */ s("span", { className: "ds:block ds:truncate type-label", children: a }),
1122
1159
  r ? typeof r == "string" ? /* @__PURE__ */ s("span", { className: "ds:block ds:truncate type-meta ds:text-[color:var(--muted-foreground)]", children: r }) : /* @__PURE__ */ s("span", { className: "ds:flex ds:items-center ds:gap-[length:var(--spacing-xs)] ds:min-w-0 type-meta ds:text-[color:var(--muted-foreground)]", children: r }) : null
1123
1160
  ] }) : null
@@ -1125,8 +1162,8 @@ const Xs = I(
1125
1162
  }
1126
1163
  );
1127
1164
  });
1128
- Ys.displayName = "SidebarProfilePill";
1129
- const Js = [
1165
+ se.displayName = "SidebarProfilePill";
1166
+ const ee = [
1130
1167
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
1131
1168
  "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
1132
1169
  "ds:rounded-[var(--radius-sm)]",
@@ -1136,29 +1173,29 @@ const Js = [
1136
1173
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1137
1174
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
1138
1175
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
1139
- ].join(" "), Qs = b(({ className: e, "aria-label": a, onClick: r, ...d }, n) => {
1140
- const { t: l } = D(), { mode: t, transitionTo: o } = x();
1141
- if (t === "overlay") return null;
1142
- const c = t === "expanded", p = a ?? (c ? l("navigation.sidebar.collapse", "Collapse sidebar") : l("navigation.sidebar.expand", "Expand sidebar")), f = /* @__PURE__ */ s(
1176
+ ].join(" "), ae = b(({ className: e, "aria-label": a, onClick: r, ...i }, n) => {
1177
+ const { t: c } = A(), { mode: o, transitionTo: t } = x();
1178
+ if (o === "overlay") return null;
1179
+ const l = o === "expanded", p = a ?? (l ? c("navigation.sidebar.collapse", "Collapse sidebar") : c("navigation.sidebar.expand", "Expand sidebar")), f = /* @__PURE__ */ s(
1143
1180
  "button",
1144
1181
  {
1145
1182
  ref: n,
1146
1183
  type: "button",
1147
1184
  "aria-label": p,
1148
- "aria-expanded": c,
1185
+ "aria-expanded": l,
1149
1186
  onClick: (g) => {
1150
- o == null || o(c ? "icon" : "expanded"), r == null || r(g);
1187
+ t == null || t(l ? "icon" : "expanded"), r == null || r(g);
1151
1188
  },
1152
- className: [Js, e].filter(Boolean).join(" "),
1153
- ...d,
1154
- children: c ? /* @__PURE__ */ s(
1155
- bs,
1189
+ className: [ee, e].filter(Boolean).join(" "),
1190
+ ...i,
1191
+ children: l ? /* @__PURE__ */ s(
1192
+ ys,
1156
1193
  {
1157
1194
  "aria-hidden": "true",
1158
1195
  className: "ds:size-4 ds:rtl:-scale-x-100"
1159
1196
  }
1160
1197
  ) : /* @__PURE__ */ s(
1161
- xs,
1198
+ ws,
1162
1199
  {
1163
1200
  "aria-hidden": "true",
1164
1201
  className: "ds:size-4 ds:rtl:-scale-x-100"
@@ -1171,7 +1208,7 @@ const Js = [
1171
1208
  /* @__PURE__ */ s(h.Portal, { children: /* @__PURE__ */ u(
1172
1209
  h.Content,
1173
1210
  {
1174
- side: t === "icon" ? "right" : "top",
1211
+ side: o === "icon" ? "right" : "top",
1175
1212
  sideOffset: 6,
1176
1213
  className: [
1177
1214
  "ds:z-[var(--z-tooltip)] ds:max-w-[16rem]",
@@ -1188,8 +1225,8 @@ const Js = [
1188
1225
  ) })
1189
1226
  ] });
1190
1227
  });
1191
- Qs.displayName = "SidebarCollapseTrigger";
1192
- const se = I(
1228
+ ae.displayName = "SidebarCollapseTrigger";
1229
+ const re = T(
1193
1230
  [
1194
1231
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
1195
1232
  "ds:rounded-[var(--radius-md)]",
@@ -1220,17 +1257,17 @@ const se = I(
1220
1257
  },
1221
1258
  defaultVariants: { mode: "expanded" }
1222
1259
  }
1223
- ), ee = b(({ title: e, description: a, icon: r, className: d, ...n }, l) => {
1224
- const { mode: t } = x(), o = t === "icon", c = (
1260
+ ), de = b(({ title: e, description: a, icon: r, className: i, ...n }, c) => {
1261
+ const { mode: o } = x(), t = o === "icon", l = (
1225
1262
  // aria-label only in icon mode (where the copy is hidden) — in
1226
1263
  // expanded mode the accessible name comes from the visible contents
1227
1264
  // so the description isn't excluded from it.
1228
1265
  /* @__PURE__ */ u(
1229
1266
  "a",
1230
1267
  {
1231
- ref: l,
1232
- "aria-label": o ? e : void 0,
1233
- className: se({ mode: t, className: d }),
1268
+ ref: c,
1269
+ "aria-label": t ? e : void 0,
1270
+ className: re({ mode: o, className: i }),
1234
1271
  ...n,
1235
1272
  children: [
1236
1273
  /* @__PURE__ */ s(
@@ -1242,10 +1279,10 @@ const se = I(
1242
1279
  "ds:rounded-[var(--radius-sm)]",
1243
1280
  "ds:bg-[var(--accent)] ds:text-[var(--accent-foreground)]"
1244
1281
  ].join(" "),
1245
- children: r ?? /* @__PURE__ */ s(ws, { className: "ds:size-4" })
1282
+ children: r ?? /* @__PURE__ */ s(Ss, { className: "ds:size-4" })
1246
1283
  }
1247
1284
  ),
1248
- o ? null : /* @__PURE__ */ u(q, { children: [
1285
+ t ? null : /* @__PURE__ */ u(X, { children: [
1249
1286
  /* @__PURE__ */ u("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1250
1287
  /* @__PURE__ */ s("span", { className: "ds:block ds:line-clamp-2 type-label", children: e }),
1251
1288
  a ? (
@@ -1266,8 +1303,8 @@ const se = I(
1266
1303
  }
1267
1304
  )
1268
1305
  );
1269
- return o ? /* @__PURE__ */ u(h.Root, { children: [
1270
- /* @__PURE__ */ s(h.Trigger, { asChild: !0, children: c }),
1306
+ return t ? /* @__PURE__ */ u(h.Root, { children: [
1307
+ /* @__PURE__ */ s(h.Trigger, { asChild: !0, children: l }),
1271
1308
  /* @__PURE__ */ s(h.Portal, { children: /* @__PURE__ */ u(
1272
1309
  h.Content,
1273
1310
  {
@@ -1286,29 +1323,29 @@ const se = I(
1286
1323
  ]
1287
1324
  }
1288
1325
  ) })
1289
- ] }) : c;
1326
+ ] }) : l;
1290
1327
  });
1291
- ee.displayName = "SidebarUpgradeChip";
1328
+ de.displayName = "SidebarUpgradeChip";
1292
1329
  export {
1293
- Ts as S,
1294
- Rs as a,
1295
- Qs as b,
1296
- Ws as c,
1297
- Gs as d,
1298
- Ds as e,
1299
- _s as f,
1300
- Bs as g,
1301
- is as h,
1302
- Ms as i,
1303
- Hs as j,
1304
- Fs as k,
1330
+ As as S,
1331
+ _s as a,
1332
+ ae as b,
1333
+ Js as c,
1334
+ Zs as d,
1335
+ Ps as e,
1336
+ Fs as f,
1337
+ Ds as g,
1338
+ ds as h,
1339
+ Ks as i,
1340
+ Ms as j,
1341
+ Vs as k,
1305
1342
  Y as l,
1306
- Us as m,
1307
- Ys as n,
1343
+ Os as m,
1344
+ se as n,
1308
1345
  as as o,
1309
- ee as p,
1310
- Ls as q,
1311
- Ns as s,
1346
+ de as p,
1347
+ Gs as q,
1348
+ js as s,
1312
1349
  x as u
1313
1350
  };
1314
- //# sourceMappingURL=sidebar-CtU35PIX.js.map
1351
+ //# sourceMappingURL=sidebar-C0PbwJBc.js.map