@alfadocs/ui-kit-debug 0.48.0 → 0.50.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 (318) hide show
  1. package/dist/_chunks/{address-autocomplete-CSjMrBvu.js → address-autocomplete-CT-9AOli.js} +2 -2
  2. package/dist/_chunks/{address-autocomplete-CSjMrBvu.js.map → address-autocomplete-CT-9AOli.js.map} +1 -1
  3. package/dist/_chunks/{ai-consent-banner-DO5ingMq.js → ai-consent-banner-F2md5JD3.js} +2 -2
  4. package/dist/_chunks/{ai-consent-banner-DO5ingMq.js.map → ai-consent-banner-F2md5JD3.js.map} +1 -1
  5. package/dist/_chunks/{ai-tools-rail-CxYG04cw.js → ai-tools-rail-CYLWrRmm.js} +6 -6
  6. package/dist/_chunks/ai-tools-rail-CYLWrRmm.js.map +1 -0
  7. package/dist/_chunks/{alert-ywPR59NE.js → alert-CUTxnym2.js} +56 -35
  8. package/dist/_chunks/alert-CUTxnym2.js.map +1 -0
  9. package/dist/_chunks/antenatal-schedule-timeline-CdiqkF05.js +413 -0
  10. package/dist/_chunks/antenatal-schedule-timeline-CdiqkF05.js.map +1 -0
  11. package/dist/_chunks/{ar-DEz65ZJW.js → ar-C68WKG5a.js} +2 -2
  12. package/dist/_chunks/{ar-DEz65ZJW.js.map → ar-C68WKG5a.js.map} +1 -1
  13. package/dist/_chunks/{audio-recorder-DC-v9YFW.js → audio-recorder-DVJXV7_k.js} +2 -2
  14. package/dist/_chunks/{audio-recorder-DC-v9YFW.js.map → audio-recorder-DVJXV7_k.js.map} +1 -1
  15. package/dist/_chunks/bishop-score-2MzAz8NE.js +185 -0
  16. package/dist/_chunks/bishop-score-2MzAz8NE.js.map +1 -0
  17. package/dist/_chunks/{booking-WV2GSru5.js → booking-DljH0JkS.js} +5 -5
  18. package/dist/_chunks/{booking-WV2GSru5.js.map → booking-DljH0JkS.js.map} +1 -1
  19. package/dist/_chunks/circle-arrow-up-CC_85SuH.js +16 -0
  20. package/dist/_chunks/circle-arrow-up-CC_85SuH.js.map +1 -0
  21. package/dist/_chunks/cycle-calculator-oOkj5wlB.js +252 -0
  22. package/dist/_chunks/cycle-calculator-oOkj5wlB.js.map +1 -0
  23. package/dist/_chunks/{date-picker-Bq7xhMA-.js → date-picker-BfHblqwA.js} +2 -2
  24. package/dist/_chunks/{date-picker-Bq7xhMA-.js.map → date-picker-BfHblqwA.js.map} +1 -1
  25. package/dist/_chunks/{date-picker-variants-DLi1Va_e.js → date-picker-variants-CXEAx3O_.js} +22 -22
  26. package/dist/_chunks/{date-picker-variants-DLi1Va_e.js.map → date-picker-variants-CXEAx3O_.js.map} +1 -1
  27. package/dist/_chunks/{date-range-picker-DcXuI9y7.js → date-range-picker-hcAMs1wO.js} +3 -3
  28. package/dist/_chunks/{date-range-picker-DcXuI9y7.js.map → date-range-picker-hcAMs1wO.js.map} +1 -1
  29. package/dist/_chunks/{date-time-picker-RimumeLR.js → date-time-picker-H-3Pwqlb.js} +9 -9
  30. package/dist/_chunks/{date-time-picker-RimumeLR.js.map → date-time-picker-H-3Pwqlb.js.map} +1 -1
  31. package/dist/_chunks/{de-bTBGdjPS.js → de-DK4A9_a8.js} +2 -2
  32. package/dist/_chunks/{de-bTBGdjPS.js.map → de-DK4A9_a8.js.map} +1 -1
  33. package/dist/_chunks/{document-scanner-BqLsGs4Y.js → document-scanner-Cxqvq7GR.js} +2 -2
  34. package/dist/_chunks/{document-scanner-BqLsGs4Y.js.map → document-scanner-Cxqvq7GR.js.map} +1 -1
  35. package/dist/_chunks/due-date-calculator-DykajWzh.js +256 -0
  36. package/dist/_chunks/due-date-calculator-DykajWzh.js.map +1 -0
  37. package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js → editable-currency-cell-renderer-Bh48OHRv.js} +2 -2
  38. package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js.map → editable-currency-cell-renderer-Bh48OHRv.js.map} +1 -1
  39. package/dist/_chunks/{el-BWG5RXxa.js → el-B29HXhG5.js} +2 -2
  40. package/dist/_chunks/{el-BWG5RXxa.js.map → el-B29HXhG5.js.map} +1 -1
  41. package/dist/_chunks/{es-DfO_G435.js → es-BOwPVwWn.js} +2 -2
  42. package/dist/_chunks/{es-DfO_G435.js.map → es-BOwPVwWn.js.map} +1 -1
  43. package/dist/_chunks/fetal-weight-Da-B4P4k.js +122 -0
  44. package/dist/_chunks/fetal-weight-Da-B4P4k.js.map +1 -0
  45. package/dist/_chunks/{fr-BTn24bs8.js → fr-DoDBtn0T.js} +2 -2
  46. package/dist/_chunks/{fr-BTn24bs8.js.map → fr-DoDBtn0T.js.map} +1 -1
  47. package/dist/_chunks/{freemium-paywall-DzpD63WY.js → freemium-paywall-BWaLWje-.js} +2 -2
  48. package/dist/_chunks/{freemium-paywall-DzpD63WY.js.map → freemium-paywall-BWaLWje-.js.map} +1 -1
  49. package/dist/_chunks/gestational-age-calculator-Bc55hq6t.js +311 -0
  50. package/dist/_chunks/gestational-age-calculator-Bc55hq6t.js.map +1 -0
  51. package/dist/_chunks/hcg-doubling-DAnpbale.js +170 -0
  52. package/dist/_chunks/hcg-doubling-DAnpbale.js.map +1 -0
  53. package/dist/_chunks/{hi-Dj3oYd84.js → hi-DGByrKby.js} +2 -2
  54. package/dist/_chunks/{hi-Dj3oYd84.js.map → hi-DGByrKby.js.map} +1 -1
  55. package/dist/_chunks/{isSameWeek-HfxKk6Lz.js → isSameWeek-B1odL2vR.js} +2 -2
  56. package/dist/_chunks/{isSameWeek-HfxKk6Lz.js.map → isSameWeek-B1odL2vR.js.map} +1 -1
  57. package/dist/_chunks/{it-Y85ofIQQ.js → it-B16rEecm.js} +3 -3
  58. package/dist/_chunks/{it-Y85ofIQQ.js.map → it-B16rEecm.js.map} +1 -1
  59. package/dist/_chunks/{ja-CQ7J6YoA.js → ja-B0viOgft.js} +2 -2
  60. package/dist/_chunks/{ja-CQ7J6YoA.js.map → ja-B0viOgft.js.map} +1 -1
  61. package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js → marketplace-app-shell-UKSLx9K_.js} +3 -3
  62. package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js.map → marketplace-app-shell-UKSLx9K_.js.map} +1 -1
  63. package/dist/_chunks/{nl-D9kHCmp3.js → nl-cBxEX2QU.js} +2 -2
  64. package/dist/_chunks/{nl-D9kHCmp3.js.map → nl-cBxEX2QU.js.map} +1 -1
  65. package/dist/_chunks/{patient-search-CocVcGJ3.js → patient-search-BJOmTmDA.js} +2 -2
  66. package/dist/_chunks/{patient-search-CocVcGJ3.js.map → patient-search-BJOmTmDA.js.map} +1 -1
  67. package/dist/_chunks/{patient-shell-CnT4L8gn.js → patient-shell-DUmhXnFq.js} +2 -2
  68. package/dist/_chunks/{patient-shell-CnT4L8gn.js.map → patient-shell-DUmhXnFq.js.map} +1 -1
  69. package/dist/_chunks/{payment-form-BNTx4876.js → payment-form-xmeCkxas.js} +2 -2
  70. package/dist/_chunks/{payment-form-BNTx4876.js.map → payment-form-xmeCkxas.js.map} +1 -1
  71. package/dist/_chunks/{pdf-viewer-G8SU6Azw.js → pdf-viewer-q1D3Uion.js} +2 -2
  72. package/dist/_chunks/{pdf-viewer-G8SU6Azw.js.map → pdf-viewer-q1D3Uion.js.map} +1 -1
  73. package/dist/_chunks/{pl-B3Smqpkr.js → pl-DtS08ioY.js} +3 -3
  74. package/dist/_chunks/{pl-B3Smqpkr.js.map → pl-DtS08ioY.js.map} +1 -1
  75. package/dist/_chunks/{practice-results-BFL_mcDW.js → practice-results-Cq1y8JFD.js} +2 -2
  76. package/dist/_chunks/{practice-results-BFL_mcDW.js.map → practice-results-Cq1y8JFD.js.map} +1 -1
  77. package/dist/_chunks/pregnancy-dating-48Gfvod1.js +421 -0
  78. package/dist/_chunks/pregnancy-dating-48Gfvod1.js.map +1 -0
  79. package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js +322 -0
  80. package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js.map +1 -0
  81. package/dist/_chunks/product-hub-panel-CkfZBA3t.js +620 -0
  82. package/dist/_chunks/product-hub-panel-CkfZBA3t.js.map +1 -0
  83. package/dist/_chunks/{pt-D3J-1c_7.js → pt-yFXs1VvH.js} +2 -2
  84. package/dist/_chunks/{pt-D3J-1c_7.js.map → pt-yFXs1VvH.js.map} +1 -1
  85. package/dist/_chunks/{ro-BKAbbEA3.js → ro-DsCzSrzR.js} +2 -2
  86. package/dist/_chunks/{ro-BKAbbEA3.js.map → ro-DsCzSrzR.js.map} +1 -1
  87. package/dist/_chunks/{ru-BeG8f0Ep.js → ru-DgDxL0pc.js} +3 -3
  88. package/dist/_chunks/{ru-BeG8f0Ep.js.map → ru-DgDxL0pc.js.map} +1 -1
  89. package/dist/_chunks/{sidebar-_vJXI9rB.js → sidebar-h78cTNLh.js} +440 -338
  90. package/dist/_chunks/sidebar-h78cTNLh.js.map +1 -0
  91. package/dist/_chunks/{sign-document-DPI2pY9V.js → sign-document-CZkAf28g.js} +2 -2
  92. package/dist/_chunks/{sign-document-DPI2pY9V.js.map → sign-document-CZkAf28g.js.map} +1 -1
  93. package/dist/_chunks/{sq-_hRPaeUy.js → sq-DHlCYN67.js} +2 -2
  94. package/dist/_chunks/{sq-_hRPaeUy.js.map → sq-DHlCYN67.js.map} +1 -1
  95. package/dist/_chunks/subDays-Bs00akhK.js +8 -0
  96. package/dist/_chunks/{subDays-Dv7q9S7u.js.map → subDays-Bs00akhK.js.map} +1 -1
  97. package/dist/_chunks/{sv-g009fSpe.js → sv-O0QaQs_s.js} +2 -2
  98. package/dist/_chunks/{sv-g009fSpe.js.map → sv-O0QaQs_s.js.map} +1 -1
  99. package/dist/_chunks/{tr-OKUOuhMW.js → tr-BmNDRuio.js} +2 -2
  100. package/dist/_chunks/{tr-OKUOuhMW.js.map → tr-BmNDRuio.js.map} +1 -1
  101. package/dist/_chunks/warning-stack-CXfoAT-_.js +220 -0
  102. package/dist/_chunks/warning-stack-CXfoAT-_.js.map +1 -0
  103. package/dist/_chunks/{workflow-map-ZXw-zsZ8.js → workflow-map-DzX_LI4y.js} +2 -2
  104. package/dist/_chunks/{workflow-map-ZXw-zsZ8.js.map → workflow-map-DzX_LI4y.js.map} +1 -1
  105. package/dist/_chunks/{zh-CN-De4zwEhx.js → zh-CN-CgVJZEzz.js} +3 -3
  106. package/dist/_chunks/{zh-CN-De4zwEhx.js.map → zh-CN-CgVJZEzz.js.map} +1 -1
  107. package/dist/agent-catalog.json +44 -1
  108. package/dist/components/_shared/antenatal-schedule-timeline.d.ts +18 -0
  109. package/dist/components/_shared/antenatal-schedule-timeline.d.ts.map +1 -0
  110. package/dist/components/_shared/antenatal-schedule.d.ts +68 -0
  111. package/dist/components/_shared/antenatal-schedule.d.ts.map +1 -0
  112. package/dist/components/_shared/index.d.ts +3 -0
  113. package/dist/components/_shared/index.d.ts.map +1 -1
  114. package/dist/components/_shared/obstetrics.d.ts +138 -0
  115. package/dist/components/_shared/obstetrics.d.ts.map +1 -0
  116. package/dist/components/address-autocomplete/index.js +1 -1
  117. package/dist/components/ai-consent-banner/index.js +1 -1
  118. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -1
  119. package/dist/components/ai-tools-rail/index.js +1 -1
  120. package/dist/components/alert/alert.d.ts +2 -2
  121. package/dist/components/alert/alert.d.ts.map +1 -1
  122. package/dist/components/alert/index.js +1 -1
  123. package/dist/components/audio-recorder/index.js +1 -1
  124. package/dist/components/bishop-score/bishop-score.d.ts +27 -0
  125. package/dist/components/bishop-score/bishop-score.d.ts.map +1 -0
  126. package/dist/components/bishop-score/bishop.d.ts +30 -0
  127. package/dist/components/bishop-score/bishop.d.ts.map +1 -0
  128. package/dist/components/bishop-score/index.d.ts +4 -0
  129. package/dist/components/bishop-score/index.d.ts.map +1 -0
  130. package/dist/components/bishop-score/index.js +10 -0
  131. package/dist/components/bishop-score/index.js.map +1 -0
  132. package/dist/components/booking/index.js +1 -1
  133. package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
  134. package/dist/components/cycle-calculator/cycle.d.ts +5 -0
  135. package/dist/components/cycle-calculator/cycle.d.ts.map +1 -1
  136. package/dist/components/cycle-calculator/index.js +1 -1
  137. package/dist/components/data-table/index.js +1 -1
  138. package/dist/components/date-picker/index.js +1 -1
  139. package/dist/components/date-range-picker/index.js +1 -1
  140. package/dist/components/date-time-picker/index.js +1 -1
  141. package/dist/components/document-scanner/index.js +1 -1
  142. package/dist/components/due-date-calculator/due-date-calculator.d.ts +19 -1
  143. package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
  144. package/dist/components/due-date-calculator/gestation.d.ts +1 -59
  145. package/dist/components/due-date-calculator/gestation.d.ts.map +1 -1
  146. package/dist/components/due-date-calculator/index.d.ts +1 -1
  147. package/dist/components/due-date-calculator/index.d.ts.map +1 -1
  148. package/dist/components/due-date-calculator/index.js +16 -10
  149. package/dist/components/fetal-weight/efw.d.ts +25 -0
  150. package/dist/components/fetal-weight/efw.d.ts.map +1 -0
  151. package/dist/components/fetal-weight/fetal-weight.d.ts +27 -0
  152. package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -0
  153. package/dist/components/fetal-weight/index.d.ts +4 -0
  154. package/dist/components/fetal-weight/index.d.ts.map +1 -0
  155. package/dist/components/fetal-weight/index.js +6 -0
  156. package/dist/components/fetal-weight/index.js.map +1 -0
  157. package/dist/components/freemium-paywall/index.js +1 -1
  158. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +32 -1
  159. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
  160. package/dist/components/gestational-age-calculator/index.js +1 -1
  161. package/dist/components/hcg-doubling/hcg-doubling.d.ts +31 -0
  162. package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -0
  163. package/dist/components/hcg-doubling/hcg.d.ts +33 -0
  164. package/dist/components/hcg-doubling/hcg.d.ts.map +1 -0
  165. package/dist/components/hcg-doubling/index.d.ts +4 -0
  166. package/dist/components/hcg-doubling/index.d.ts.map +1 -0
  167. package/dist/components/hcg-doubling/index.js +7 -0
  168. package/dist/components/hcg-doubling/index.js.map +1 -0
  169. package/dist/components/index.d.ts +5 -0
  170. package/dist/components/index.d.ts.map +1 -1
  171. package/dist/components/patient-search/index.js +1 -1
  172. package/dist/components/payment-form/index.js +1 -1
  173. package/dist/components/pdf-viewer/index.js +1 -1
  174. package/dist/components/practice-results/index.js +1 -1
  175. package/dist/components/pregnancy-dating/index.d.ts +3 -0
  176. package/dist/components/pregnancy-dating/index.d.ts.map +1 -0
  177. package/dist/components/pregnancy-dating/index.js +5 -0
  178. package/dist/components/pregnancy-dating/index.js.map +1 -0
  179. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts +60 -0
  180. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts.map +1 -0
  181. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  182. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +7 -0
  183. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
  184. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +33 -8
  185. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts.map +1 -1
  186. package/dist/components/product-hub-tray/index.d.ts +8 -0
  187. package/dist/components/product-hub-tray/index.d.ts.map +1 -0
  188. package/dist/components/product-hub-tray/index.js +10 -0
  189. package/dist/components/product-hub-tray/index.js.map +1 -0
  190. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts +4 -0
  191. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts.map +1 -0
  192. package/dist/components/product-hub-tray/product-hub-panel.d.ts +54 -0
  193. package/dist/components/product-hub-tray/product-hub-panel.d.ts.map +1 -0
  194. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts +4 -0
  195. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts.map +1 -0
  196. package/dist/components/product-hub-tray/product-hub-tray.d.ts +115 -0
  197. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -0
  198. package/dist/components/sidebar/index.d.ts +2 -2
  199. package/dist/components/sidebar/index.d.ts.map +1 -1
  200. package/dist/components/sidebar/index.js +12 -11
  201. package/dist/components/sidebar/sidebar.d.ts +14 -1
  202. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  203. package/dist/components/sign-document/index.js +1 -1
  204. package/dist/components/warning-stack/index.js +1 -1
  205. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  206. package/dist/components/workflow/index.js +1 -1
  207. package/dist/i18n/locales/ar.d.ts +262 -1
  208. package/dist/i18n/locales/ar.d.ts.map +1 -1
  209. package/dist/i18n/locales/ar.js +261 -2
  210. package/dist/i18n/locales/ar.js.map +1 -1
  211. package/dist/i18n/locales/de.d.ts +262 -1
  212. package/dist/i18n/locales/de.d.ts.map +1 -1
  213. package/dist/i18n/locales/de.js +261 -2
  214. package/dist/i18n/locales/de.js.map +1 -1
  215. package/dist/i18n/locales/el.d.ts +262 -1
  216. package/dist/i18n/locales/el.d.ts.map +1 -1
  217. package/dist/i18n/locales/el.js +261 -2
  218. package/dist/i18n/locales/el.js.map +1 -1
  219. package/dist/i18n/locales/en.d.ts +262 -1
  220. package/dist/i18n/locales/en.d.ts.map +1 -1
  221. package/dist/i18n/locales/en.js +261 -2
  222. package/dist/i18n/locales/en.js.map +1 -1
  223. package/dist/i18n/locales/es.d.ts +262 -1
  224. package/dist/i18n/locales/es.d.ts.map +1 -1
  225. package/dist/i18n/locales/es.js +261 -2
  226. package/dist/i18n/locales/es.js.map +1 -1
  227. package/dist/i18n/locales/fr.d.ts +262 -1
  228. package/dist/i18n/locales/fr.d.ts.map +1 -1
  229. package/dist/i18n/locales/fr.js +261 -2
  230. package/dist/i18n/locales/fr.js.map +1 -1
  231. package/dist/i18n/locales/hi.d.ts +262 -1
  232. package/dist/i18n/locales/hi.d.ts.map +1 -1
  233. package/dist/i18n/locales/hi.js +261 -2
  234. package/dist/i18n/locales/hi.js.map +1 -1
  235. package/dist/i18n/locales/it.d.ts +262 -1
  236. package/dist/i18n/locales/it.d.ts.map +1 -1
  237. package/dist/i18n/locales/it.js +261 -2
  238. package/dist/i18n/locales/it.js.map +1 -1
  239. package/dist/i18n/locales/ja.d.ts +262 -1
  240. package/dist/i18n/locales/ja.d.ts.map +1 -1
  241. package/dist/i18n/locales/ja.js +261 -2
  242. package/dist/i18n/locales/ja.js.map +1 -1
  243. package/dist/i18n/locales/nl.d.ts +262 -1
  244. package/dist/i18n/locales/nl.d.ts.map +1 -1
  245. package/dist/i18n/locales/nl.js +261 -2
  246. package/dist/i18n/locales/nl.js.map +1 -1
  247. package/dist/i18n/locales/pl.d.ts +262 -1
  248. package/dist/i18n/locales/pl.d.ts.map +1 -1
  249. package/dist/i18n/locales/pl.js +261 -2
  250. package/dist/i18n/locales/pl.js.map +1 -1
  251. package/dist/i18n/locales/pt.d.ts +262 -1
  252. package/dist/i18n/locales/pt.d.ts.map +1 -1
  253. package/dist/i18n/locales/pt.js +261 -2
  254. package/dist/i18n/locales/pt.js.map +1 -1
  255. package/dist/i18n/locales/ro.d.ts +262 -1
  256. package/dist/i18n/locales/ro.d.ts.map +1 -1
  257. package/dist/i18n/locales/ro.js +261 -2
  258. package/dist/i18n/locales/ro.js.map +1 -1
  259. package/dist/i18n/locales/ru.d.ts +262 -1
  260. package/dist/i18n/locales/ru.d.ts.map +1 -1
  261. package/dist/i18n/locales/ru.js +261 -2
  262. package/dist/i18n/locales/ru.js.map +1 -1
  263. package/dist/i18n/locales/sq.d.ts +262 -1
  264. package/dist/i18n/locales/sq.d.ts.map +1 -1
  265. package/dist/i18n/locales/sq.js +261 -2
  266. package/dist/i18n/locales/sq.js.map +1 -1
  267. package/dist/i18n/locales/sv.d.ts +262 -1
  268. package/dist/i18n/locales/sv.d.ts.map +1 -1
  269. package/dist/i18n/locales/sv.js +261 -2
  270. package/dist/i18n/locales/sv.js.map +1 -1
  271. package/dist/i18n/locales/tr.d.ts +262 -1
  272. package/dist/i18n/locales/tr.d.ts.map +1 -1
  273. package/dist/i18n/locales/tr.js +261 -2
  274. package/dist/i18n/locales/tr.js.map +1 -1
  275. package/dist/i18n/locales/zh.d.ts +262 -1
  276. package/dist/i18n/locales/zh.d.ts.map +1 -1
  277. package/dist/i18n/locales/zh.js +261 -2
  278. package/dist/i18n/locales/zh.js.map +1 -1
  279. package/dist/index.js +661 -632
  280. package/dist/index.js.map +1 -1
  281. package/dist/locales/ar.json +263 -2
  282. package/dist/locales/de.json +263 -2
  283. package/dist/locales/el.json +263 -2
  284. package/dist/locales/en.json +263 -2
  285. package/dist/locales/es.json +263 -2
  286. package/dist/locales/fr.json +263 -2
  287. package/dist/locales/hi.json +263 -2
  288. package/dist/locales/it.json +263 -2
  289. package/dist/locales/ja.json +263 -2
  290. package/dist/locales/nl.json +263 -2
  291. package/dist/locales/pl.json +263 -2
  292. package/dist/locales/pt.json +263 -2
  293. package/dist/locales/ro.json +263 -2
  294. package/dist/locales/ru.json +263 -2
  295. package/dist/locales/sq.json +263 -2
  296. package/dist/locales/sv.json +263 -2
  297. package/dist/locales/tr.json +263 -2
  298. package/dist/locales/zh.json +263 -2
  299. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  300. package/dist/patterns/patient-shell/index.js +1 -1
  301. package/dist/tokens.css +1 -1
  302. package/package.json +21 -1
  303. package/dist/_chunks/ai-tools-rail-CxYG04cw.js.map +0 -1
  304. package/dist/_chunks/alert-ywPR59NE.js.map +0 -1
  305. package/dist/_chunks/cycle-calculator-DYvGm_m1.js +0 -211
  306. package/dist/_chunks/cycle-calculator-DYvGm_m1.js.map +0 -1
  307. package/dist/_chunks/due-date-calculator-BXd3ANj7.js +0 -216
  308. package/dist/_chunks/due-date-calculator-BXd3ANj7.js.map +0 -1
  309. package/dist/_chunks/gestation-mWF4AXea.js +0 -50
  310. package/dist/_chunks/gestation-mWF4AXea.js.map +0 -1
  311. package/dist/_chunks/gestational-age-calculator-Crj6FgZw.js +0 -203
  312. package/dist/_chunks/gestational-age-calculator-Crj6FgZw.js.map +0 -1
  313. package/dist/_chunks/pregnancy-weight-gain-C7dK89jE.js +0 -246
  314. package/dist/_chunks/pregnancy-weight-gain-C7dK89jE.js.map +0 -1
  315. package/dist/_chunks/sidebar-_vJXI9rB.js.map +0 -1
  316. package/dist/_chunks/subDays-Dv7q9S7u.js +0 -8
  317. package/dist/_chunks/warning-stack-DNR3-IbP.js +0 -180
  318. package/dist/_chunks/warning-stack-DNR3-IbP.js.map +0 -1
@@ -1,30 +1,31 @@
1
- import { jsx as e, jsxs as v, Fragment as G } from "react/jsx-runtime";
2
- import { forwardRef as b, useState as R, useEffect as K, useCallback as O, useRef as $, useMemo as U, useId as ts, useContext as q, createContext as W } from "react";
3
- import * as I from "@radix-ui/react-dialog";
4
- import * as H from "@radix-ui/react-collapsible";
1
+ import { jsx as s, jsxs as u, Fragment as V } from "react/jsx-runtime";
2
+ import { forwardRef as g, useState as R, useEffect as M, useCallback as U, useRef as G, useMemo as $, useId as is, useContext as q, createContext as W } from "react";
3
+ import * as B from "@radix-ui/react-dialog";
4
+ import * as F from "@radix-ui/react-collapsible";
5
5
  import * as A from "@radix-ui/react-accordion";
6
- import * as S from "@radix-ui/react-tooltip";
7
- import { a as is } from "./accordion-9lJSMMsZ.js";
8
- import { Slot as ns } from "@radix-ui/react-slot";
9
- import { c as B } from "./index-D2ZczOXr.js";
6
+ import * as x from "@radix-ui/react-tooltip";
7
+ import { a as ns } from "./accordion-9lJSMMsZ.js";
8
+ import { Slot as ts } from "@radix-ui/react-slot";
9
+ import { c as k } from "./index-D2ZczOXr.js";
10
10
  import { useTranslation as D } from "react-i18next";
11
11
  import { u as os } from "./registry-nPAVE19X.js";
12
12
  import { X as ls } from "./x-CCcI3eJp.js";
13
13
  import { c as X } from "./createLucideIcon-CrFbzy84.js";
14
14
  import { G as cs } from "./grip-vertical-Dlg0_k5C.js";
15
- import { C as E } from "./chevron-right-BrpYejk0.js";
15
+ import { C as P } from "./chevron-right-BrpYejk0.js";
16
16
  import { S as us } from "./star-vav0SJ9e.js";
17
+ import { C as ms } from "./circle-arrow-up-CC_85SuH.js";
17
18
  /**
18
19
  * @license lucide-react v1.8.0 - ISC
19
20
  *
20
21
  * This source code is licensed under the ISC license.
21
22
  * See the LICENSE file in the root directory of this source tree.
22
23
  */
23
- const ms = [
24
+ const ps = [
24
25
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
25
26
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
26
27
  ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
27
- ], vs = X("panel-left-close", ms);
28
+ ], vs = X("panel-left-close", ps);
28
29
  /**
29
30
  * @license lucide-react v1.8.0 - ISC
30
31
  *
@@ -35,22 +36,22 @@ const fs = [
35
36
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
36
37
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
37
38
  ["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
38
- ], ps = X("panel-left-open", fs), gs = {
39
+ ], gs = X("panel-left-open", fs), bs = {
39
40
  id: "sidebar",
40
41
  capabilities: ["expand"],
41
42
  state: {
42
43
  isCollapsed: {
43
44
  type: "boolean",
44
45
  description: "True when the sidebar is in its collapsed (rail) state.",
45
- read: (s) => s.getIsCollapsed()
46
+ read: (e) => e.getIsCollapsed()
46
47
  }
47
48
  },
48
49
  actions: {
49
50
  toggle_collapsed: {
50
51
  safety: "read",
51
52
  description: "Toggle the sidebar between collapsed and expanded.",
52
- invoke: (s) => {
53
- s.toggleCollapsed();
53
+ invoke: (e) => {
54
+ e.toggleCollapsed();
54
55
  }
55
56
  }
56
57
  },
@@ -66,27 +67,27 @@ const fs = [
66
67
  description: "Each Sidebar.Item emits its key as data-nav-id."
67
68
  }
68
69
  }
69
- }, F = W({
70
+ }, E = W({
70
71
  mode: "expanded",
71
72
  density: "default"
72
- }), y = () => q(F), Y = "ui.sidebar.state";
73
- function bs(s) {
74
- if (typeof window > "u") return s;
73
+ }), w = () => q(E), Y = "ui.sidebar.state";
74
+ function hs(e) {
75
+ if (typeof window > "u") return e;
75
76
  try {
76
77
  const a = window.localStorage.getItem(Y);
77
78
  if (a === "expanded" || a === "icon" || a === "overlay") return a;
78
79
  } catch {
79
80
  }
80
- return s;
81
+ return e;
81
82
  }
82
- function hs(s) {
83
+ function xs(e) {
83
84
  if (!(typeof window > "u"))
84
85
  try {
85
- window.localStorage.setItem(Y, s);
86
+ window.localStorage.setItem(Y, e);
86
87
  } catch {
87
88
  }
88
89
  }
89
- const _ = B(
90
+ const _ = k(
90
91
  [
91
92
  "ds:flex ds:flex-col",
92
93
  // Sidebar sits at the page background in light mode (white-on-white
@@ -126,52 +127,52 @@ const _ = B(
126
127
  },
127
128
  defaultVariants: { mode: "expanded", density: "default" }
128
129
  }
129
- ), xs = b(
130
+ ), ys = g(
130
131
  ({
131
- state: s,
132
+ state: e,
132
133
  defaultState: a = "expanded",
133
134
  onStateChange: r,
134
- density: t = "default",
135
- open: i,
135
+ density: i = "default",
136
+ open: t,
136
137
  onOpenChange: o,
137
- "aria-label": u,
138
+ "aria-label": l,
138
139
  className: n,
139
140
  children: m,
140
- id: l,
141
- ...f
142
- }, x) => {
143
- const { t: w } = D(), g = s !== void 0, [d, N] = R(
144
- () => g ? s : bs(a)
145
- ), h = g ? s : d;
146
- K(() => {
147
- g || hs(d);
148
- }, [d, g]);
149
- const p = O(
150
- (C) => {
151
- g || N(C), r == null || r(C);
141
+ id: c,
142
+ ...v
143
+ }, y) => {
144
+ const { t: N } = D(), b = e !== void 0, [d, S] = R(
145
+ () => b ? e : hs(a)
146
+ ), h = b ? e : d;
147
+ M(() => {
148
+ b || xs(d);
149
+ }, [d, b]);
150
+ const f = U(
151
+ (T) => {
152
+ b || S(T), r == null || r(T);
152
153
  },
153
- [g, r]
154
- ), z = u ?? w("navigation.sidebar.label"), j = $(h);
155
- K(() => {
156
- j.current = h;
154
+ [b, r]
155
+ ), j = l ?? N("navigation.sidebar.label"), z = G(h);
156
+ M(() => {
157
+ z.current = h;
157
158
  }, [h]);
158
- const k = U(
159
+ const C = $(
159
160
  () => ({
160
- getIsCollapsed: () => j.current !== "expanded",
161
+ getIsCollapsed: () => z.current !== "expanded",
161
162
  toggleCollapsed: () => {
162
- const C = j.current === "expanded" ? "icon" : "expanded";
163
- p(C);
163
+ const T = z.current === "expanded" ? "icon" : "expanded";
164
+ f(T);
164
165
  }
165
166
  }),
166
- [p]
167
+ [f]
167
168
  );
168
- return os(gs, k, l), h === "overlay" ? /* @__PURE__ */ e(
169
- F.Provider,
169
+ return os(bs, C, c), h === "overlay" ? /* @__PURE__ */ s(
170
+ E.Provider,
170
171
  {
171
- value: { mode: "overlay", density: t, transitionTo: p },
172
- children: /* @__PURE__ */ e(I.Root, { open: i, onOpenChange: o, children: /* @__PURE__ */ v(I.Portal, { children: [
173
- /* @__PURE__ */ e(
174
- I.Overlay,
172
+ value: { mode: "overlay", density: i, transitionTo: f },
173
+ children: /* @__PURE__ */ s(B.Root, { open: t, onOpenChange: o, children: /* @__PURE__ */ u(B.Portal, { children: [
174
+ /* @__PURE__ */ s(
175
+ B.Overlay,
175
176
  {
176
177
  className: [
177
178
  "ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
@@ -182,15 +183,15 @@ const _ = B(
182
183
  ].join(" ")
183
184
  }
184
185
  ),
185
- /* @__PURE__ */ v(
186
- I.Content,
186
+ /* @__PURE__ */ u(
187
+ B.Content,
187
188
  {
188
- "aria-label": z,
189
+ "aria-label": j,
189
190
  className: [
190
191
  "ds:fixed ds:z-[var(--z-modal)]",
191
192
  "ds:inset-inline-start-0 ds:inset-block-start-0",
192
193
  "ds:h-dvh",
193
- _({ mode: "overlay", density: t }),
194
+ _({ mode: "overlay", density: i }),
194
195
  "ds:shadow-[var(--shadow-xl)]",
195
196
  "ds:data-[state=open]:animate-in ds:data-[state=closed]:animate-out",
196
197
  "ds:data-[state=open]:slide-in-from-left ds:data-[state=closed]:slide-out-to-left",
@@ -200,24 +201,24 @@ const _ = B(
200
201
  n ?? ""
201
202
  ].filter(Boolean).join(" "),
202
203
  children: [
203
- /* @__PURE__ */ e(
204
+ /* @__PURE__ */ s(
204
205
  "nav",
205
206
  {
206
- ref: x,
207
- id: l,
208
- "aria-label": z,
207
+ ref: y,
208
+ id: c,
209
+ "aria-label": j,
209
210
  "data-component": "sidebar",
210
- "data-component-id": l,
211
+ "data-component-id": c,
211
212
  className: "ds:flex ds:flex-col ds:h-full",
212
- ...f,
213
+ ...v,
213
214
  children: m
214
215
  }
215
216
  ),
216
- /* @__PURE__ */ e(I.Close, { asChild: !0, children: /* @__PURE__ */ e(
217
+ /* @__PURE__ */ s(B.Close, { asChild: !0, children: /* @__PURE__ */ s(
217
218
  "button",
218
219
  {
219
220
  type: "button",
220
- "aria-label": w("navigation.sidebar.close"),
221
+ "aria-label": N("navigation.sidebar.close"),
221
222
  className: [
222
223
  "ds:absolute ds:top-[var(--spacing-sm)] ds:end-[var(--spacing-sm)]",
223
224
  "ds:inline-flex ds:items-center ds:justify-center",
@@ -227,7 +228,7 @@ const _ = B(
227
228
  "ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)]",
228
229
  "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
229
230
  ].join(" "),
230
- children: /* @__PURE__ */ e(ls, { "aria-hidden": "true", className: "ds:size-4" })
231
+ children: /* @__PURE__ */ s(ls, { "aria-hidden": "true", className: "ds:size-4" })
231
232
  }
232
233
  ) })
233
234
  ]
@@ -235,26 +236,26 @@ const _ = B(
235
236
  )
236
237
  ] }) })
237
238
  }
238
- ) : /* @__PURE__ */ e(
239
- F.Provider,
239
+ ) : /* @__PURE__ */ s(
240
+ E.Provider,
240
241
  {
241
- value: { mode: h, density: t, transitionTo: p },
242
- children: /* @__PURE__ */ e(S.Provider, { delayDuration: 300, children: /* @__PURE__ */ e(
242
+ value: { mode: h, density: i, transitionTo: f },
243
+ children: /* @__PURE__ */ s(x.Provider, { delayDuration: 300, children: /* @__PURE__ */ s(
243
244
  "nav",
244
245
  {
245
- ref: x,
246
- id: l,
247
- "aria-label": z,
246
+ ref: y,
247
+ id: c,
248
+ "aria-label": j,
248
249
  "data-component": "sidebar",
249
- "data-component-id": l,
250
+ "data-component-id": c,
250
251
  "data-mode": h,
251
- "data-density": t,
252
+ "data-density": i,
252
253
  className: [
253
- _({ mode: h, density: t }),
254
- t === "compact" ? "ds:density-compact" : "",
254
+ _({ mode: h, density: i }),
255
+ i === "compact" ? "ds:density-compact" : "",
255
256
  n ?? ""
256
257
  ].filter(Boolean).join(" "),
257
- ...f,
258
+ ...v,
258
259
  children: m
259
260
  }
260
261
  ) })
@@ -262,10 +263,10 @@ const _ = B(
262
263
  );
263
264
  }
264
265
  );
265
- xs.displayName = "Sidebar";
266
- const ys = b(({ className: s, ...a }, r) => {
267
- const { mode: t } = y();
268
- return /* @__PURE__ */ e(
266
+ ys.displayName = "Sidebar";
267
+ const ws = g(({ className: e, ...a }, r) => {
268
+ const { mode: i } = w();
269
+ return /* @__PURE__ */ s(
269
270
  "div",
270
271
  {
271
272
  ref: r,
@@ -274,21 +275,21 @@ const ys = b(({ className: s, ...a }, r) => {
274
275
  "ds:min-h-[var(--min-target-size)]",
275
276
  // Icon-rail is 64px — shrink horizontal padding so a 44×44
276
277
  // control fits centred inside the header.
277
- t === "icon" ? "ds:justify-center ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
278
+ 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)]",
278
279
  "ds:py-[var(--spacing-sm)]",
279
280
  // Hairline border + downward chrome shadow cast the header as a
280
281
  // sticky top band above the scrolling body.
281
282
  "ds:border-block-end ds:border-[var(--border)]",
282
283
  "ds:shadow-[var(--shadow-chrome-down)]",
283
- s ?? ""
284
+ e ?? ""
284
285
  ].filter(Boolean).join(" "),
285
286
  ...a
286
287
  }
287
288
  );
288
289
  });
289
- ys.displayName = "SidebarHeader";
290
- const ws = b(
291
- ({ className: s, ...a }, r) => /* @__PURE__ */ e(
290
+ ws.displayName = "SidebarHeader";
291
+ const Ns = g(
292
+ ({ className: e, ...a }, r) => /* @__PURE__ */ s(
292
293
  "div",
293
294
  {
294
295
  ref: r,
@@ -296,16 +297,16 @@ const ws = b(
296
297
  "ds:flex-1 ds:overflow-auto",
297
298
  "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
298
299
  "ds:py-[var(--spacing-sm)]",
299
- s ?? ""
300
+ e ?? ""
300
301
  ].filter(Boolean).join(" "),
301
302
  ...a
302
303
  }
303
304
  )
304
305
  );
305
- ws.displayName = "SidebarBody";
306
- const Ns = b(({ className: s, ...a }, r) => {
307
- const { mode: t } = y();
308
- return /* @__PURE__ */ e(
306
+ Ns.displayName = "SidebarBody";
307
+ const Ss = g(({ className: e, ...a }, r) => {
308
+ const { mode: i } = w();
309
+ return /* @__PURE__ */ s(
309
310
  "div",
310
311
  {
311
312
  ref: r,
@@ -313,21 +314,21 @@ const Ns = b(({ className: s, ...a }, r) => {
313
314
  "ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
314
315
  // Icon-rail is 64px — two 44×44 controls can't sit side-by-side,
315
316
  // so switch to a vertical stack and let each row self-centre.
316
- t === "icon" ? "ds:flex-col ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]" : "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
317
+ 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)]",
317
318
  "ds:min-h-[var(--min-target-size)]",
318
319
  "ds:py-[var(--spacing-sm)]",
319
320
  // Hairline border + upward chrome shadow cast the footer as a
320
321
  // sticky bottom band below the scrolling body.
321
322
  "ds:border-block-start ds:border-[var(--border)]",
322
323
  "ds:shadow-[var(--shadow-chrome-up)]",
323
- s ?? ""
324
+ e ?? ""
324
325
  ].filter(Boolean).join(" "),
325
326
  ...a
326
327
  }
327
328
  );
328
329
  });
329
- Ns.displayName = "SidebarFooter";
330
- const Ss = [
330
+ Ss.displayName = "SidebarFooter";
331
+ const zs = [
331
332
  "ds:group/section-label ds:flex ds:w-full ds:items-center",
332
333
  "type-eyebrow",
333
334
  "ds:text-[var(--muted-foreground)]",
@@ -337,32 +338,32 @@ const Ss = [
337
338
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
338
339
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
339
340
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
340
- ].join(" "), M = [
341
+ ].join(" "), O = [
341
342
  "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
342
343
  "ds:size-4",
343
344
  "ds:text-[var(--accent)]",
344
345
  "ds:me-[var(--spacing-xs)]"
345
- ].join(" "), J = b(
346
+ ].join(" "), J = g(
346
347
  ({
347
- label: s,
348
+ label: e,
348
349
  icon: a,
349
350
  collapsible: r = !0,
350
- defaultOpen: t = !0,
351
- open: i,
351
+ defaultOpen: i = !0,
352
+ open: t,
352
353
  onOpenChange: o,
353
- className: u,
354
+ className: l,
354
355
  children: n,
355
356
  ...m
356
- }, l) => {
357
- const { mode: f } = y(), x = f === "icon", w = r && !x && !!s, g = [
357
+ }, c) => {
358
+ const { mode: v } = w(), y = v === "icon", N = r && !y && !!e, b = [
358
359
  "ds:flex ds:flex-col",
359
360
  "ds:gap-[var(--spacing-xs)]",
360
361
  "ds:mt-[var(--spacing-sm)]",
361
- u ?? ""
362
+ l ?? ""
362
363
  ].filter(Boolean).join(" ");
363
- if (!w)
364
- return /* @__PURE__ */ v("div", { ref: l, className: g, ...m, children: [
365
- !!s || !!a ? /* @__PURE__ */ v(
364
+ if (!N)
365
+ return /* @__PURE__ */ u("div", { ref: c, className: b, ...m, children: [
366
+ !!e || !!a ? /* @__PURE__ */ u(
366
367
  "span",
367
368
  {
368
369
  className: [
@@ -371,42 +372,42 @@ const Ss = [
371
372
  "ds:text-[var(--muted-foreground)]",
372
373
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
373
374
  "ds:py-[var(--spacing-xs)]",
374
- x && !a ? "ds:sr-only" : ""
375
+ y && !a ? "ds:sr-only" : ""
375
376
  ].filter(Boolean).join(" "),
376
377
  children: [
377
- a ? /* @__PURE__ */ e("span", { "aria-hidden": "true", className: M, children: a }) : null,
378
- s ? /* @__PURE__ */ e("span", { className: x ? "ds:sr-only" : "", children: s }) : null
378
+ a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: O, children: a }) : null,
379
+ e ? /* @__PURE__ */ s("span", { className: y ? "ds:sr-only" : "", children: e }) : null
379
380
  ]
380
381
  }
381
382
  ) : null,
382
383
  n
383
384
  ] });
384
385
  const d = "section";
385
- return /* @__PURE__ */ e(
386
+ return /* @__PURE__ */ s(
386
387
  A.Root,
387
388
  {
388
389
  type: "single",
389
390
  collapsible: !0,
390
- defaultValue: i === void 0 && t ? d : void 0,
391
- value: i === void 0 ? void 0 : i ? d : "",
392
- onValueChange: o ? (N) => o(N === d) : void 0,
391
+ defaultValue: t === void 0 && i ? d : void 0,
392
+ value: t === void 0 ? void 0 : t ? d : "",
393
+ onValueChange: o ? (S) => o(S === d) : void 0,
393
394
  asChild: !0,
394
- children: /* @__PURE__ */ e("div", { ref: l, className: g, ...m, children: /* @__PURE__ */ v(A.Item, { value: d, children: [
395
- /* @__PURE__ */ e(A.Header, { className: "ds:flex", children: /* @__PURE__ */ v(A.Trigger, { className: Ss, children: [
396
- a ? /* @__PURE__ */ e("span", { "aria-hidden": "true", className: M, children: a }) : null,
397
- /* @__PURE__ */ e("span", { className: "ds:flex-1 ds:text-start", children: s }),
398
- /* @__PURE__ */ e(
399
- E,
395
+ children: /* @__PURE__ */ s("div", { ref: c, className: b, ...m, children: /* @__PURE__ */ u(A.Item, { value: d, children: [
396
+ /* @__PURE__ */ s(A.Header, { className: "ds:flex", children: /* @__PURE__ */ u(A.Trigger, { className: zs, children: [
397
+ a ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: O, children: a }) : null,
398
+ /* @__PURE__ */ s("span", { className: "ds:flex-1 ds:text-start", children: e }),
399
+ /* @__PURE__ */ s(
400
+ P,
400
401
  {
401
402
  "aria-hidden": "true",
402
403
  className: "ds:size-3 ds:transition-transform ds:group-data-[state=open]/section-label:rotate-90 ds:rtl:-scale-x-100 ds:motion-reduce:transition-none"
403
404
  }
404
405
  )
405
406
  ] }) }),
406
- /* @__PURE__ */ e(
407
- is,
407
+ /* @__PURE__ */ s(
408
+ ns,
408
409
  {
409
- "aria-label": s,
410
+ "aria-label": e,
410
411
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:[&>div]:contents",
411
412
  children: n
412
413
  }
@@ -428,30 +429,30 @@ const js = [
428
429
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
429
430
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
430
431
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
431
- ].join(" "), zs = b(
432
+ ].join(" "), Cs = g(
432
433
  ({
433
- label: s,
434
+ label: e,
434
435
  icon: a,
435
436
  children: r,
436
- className: t,
437
- defaultOpen: i,
437
+ className: i,
438
+ defaultOpen: t,
438
439
  open: o,
439
- onOpenChange: u,
440
+ onOpenChange: l,
440
441
  ...n
441
442
  }, m) => {
442
- const { mode: l } = y();
443
- return /* @__PURE__ */ v(
444
- H.Root,
443
+ const { mode: c } = w();
444
+ return /* @__PURE__ */ u(
445
+ F.Root,
445
446
  {
446
447
  ref: m,
447
- defaultOpen: i,
448
+ defaultOpen: t,
448
449
  open: o,
449
- onOpenChange: u,
450
- className: t,
450
+ onOpenChange: l,
451
+ className: i,
451
452
  ...n,
452
453
  children: [
453
- /* @__PURE__ */ v(H.Trigger, { className: js, children: [
454
- a ? /* @__PURE__ */ e(
454
+ /* @__PURE__ */ u(F.Trigger, { className: js, children: [
455
+ a ? /* @__PURE__ */ s(
455
456
  "span",
456
457
  {
457
458
  "aria-hidden": "true",
@@ -459,26 +460,26 @@ const js = [
459
460
  children: a
460
461
  }
461
462
  ) : null,
462
- /* @__PURE__ */ e(
463
+ /* @__PURE__ */ s(
463
464
  "span",
464
465
  {
465
466
  className: [
466
467
  "ds:flex-1 ds:text-start",
467
- l === "icon" ? "ds:sr-only" : ""
468
+ c === "icon" ? "ds:sr-only" : ""
468
469
  ].join(" "),
469
- children: s
470
+ children: e
470
471
  }
471
472
  ),
472
- l !== "icon" ? /* @__PURE__ */ e(
473
- E,
473
+ c !== "icon" ? /* @__PURE__ */ s(
474
+ P,
474
475
  {
475
476
  "aria-hidden": "true",
476
477
  className: "ds:size-4 ds:transition-transform ds:group-data-[state=open]:rotate-90 ds:rtl:-scale-x-100 ds:motion-reduce:transition-none"
477
478
  }
478
479
  ) : null
479
480
  ] }),
480
- /* @__PURE__ */ e(
481
- H.Content,
481
+ /* @__PURE__ */ s(
482
+ F.Content,
482
483
  {
483
484
  className: [
484
485
  "ds:overflow-hidden",
@@ -494,8 +495,8 @@ const js = [
494
495
  );
495
496
  }
496
497
  );
497
- zs.displayName = "SidebarGroup";
498
- const ks = B(
498
+ Cs.displayName = "SidebarGroup";
499
+ const ks = k(
499
500
  [
500
501
  // Every row is a pin-hover parent so inline pin / reorder affordances can
501
502
  // fade in on hover of the whole row — keep `group/item` on this selector.
@@ -556,34 +557,34 @@ const ks = B(
556
557
  isActive: !1
557
558
  }
558
559
  }
559
- ), Q = b(
560
+ ), Q = g(
560
561
  ({
561
- asChild: s = !1,
562
+ asChild: e = !1,
562
563
  isActive: a = !1,
563
564
  isPinned: r = !1,
564
- onPinChange: t,
565
- pinLabel: i,
565
+ onPinChange: i,
566
+ pinLabel: t,
566
567
  className: o,
567
- children: u,
568
+ children: l,
568
569
  "aria-label": n,
569
570
  ...m
570
- }, l) => {
571
- const { mode: f, density: x } = y(), w = s ? ns : "a", g = t !== void 0 && f !== "icon", d = /* @__PURE__ */ e(
572
- w,
571
+ }, c) => {
572
+ const { mode: v, density: y } = w(), N = e ? ts : "a", b = i !== void 0 && v !== "icon", d = /* @__PURE__ */ s(
573
+ N,
573
574
  {
574
- ref: l,
575
+ ref: c,
575
576
  "aria-current": a ? "page" : void 0,
576
577
  "aria-label": n,
577
578
  className: ks({
578
- mode: f,
579
- density: x,
579
+ mode: v,
580
+ density: y,
580
581
  isActive: a,
581
- className: g ? "ds:flex-1 ds:min-w-0" : o
582
+ className: b ? "ds:flex-1 ds:min-w-0" : o
582
583
  }),
583
584
  ...m,
584
- children: u
585
+ children: l
585
586
  }
586
- ), N = g ? /* @__PURE__ */ v(
587
+ ), S = b ? /* @__PURE__ */ u(
587
588
  "div",
588
589
  {
589
590
  className: [
@@ -592,21 +593,21 @@ const ks = B(
592
593
  ].filter(Boolean).join(" "),
593
594
  children: [
594
595
  d,
595
- /* @__PURE__ */ e(
596
+ /* @__PURE__ */ s(
596
597
  L,
597
598
  {
598
599
  isPinned: r,
599
- label: i ?? n ?? "",
600
- onPinChange: t
600
+ label: t ?? n ?? "",
601
+ onPinChange: i
601
602
  }
602
603
  )
603
604
  ]
604
605
  }
605
606
  ) : d;
606
- return f === "icon" && n ? /* @__PURE__ */ v(S.Root, { children: [
607
- /* @__PURE__ */ e(S.Trigger, { asChild: !0, children: N }),
608
- /* @__PURE__ */ e(S.Portal, { children: /* @__PURE__ */ v(
609
- S.Content,
607
+ return v === "icon" && n ? /* @__PURE__ */ u(x.Root, { children: [
608
+ /* @__PURE__ */ s(x.Trigger, { asChild: !0, children: S }),
609
+ /* @__PURE__ */ s(x.Portal, { children: /* @__PURE__ */ u(
610
+ x.Content,
610
611
  {
611
612
  side: "right",
612
613
  sideOffset: 6,
@@ -619,18 +620,18 @@ const ks = B(
619
620
  ].join(" "),
620
621
  children: [
621
622
  n,
622
- /* @__PURE__ */ e(S.Arrow, { className: "ds:fill-[var(--foreground)]" })
623
+ /* @__PURE__ */ s(x.Arrow, { className: "ds:fill-[var(--foreground)]" })
623
624
  ]
624
625
  }
625
626
  ) })
626
- ] }) : N;
627
+ ] }) : S;
627
628
  }
628
629
  );
629
630
  Q.displayName = "SidebarItem";
630
- const Cs = b(({ className: s, children: a, ...r }, t) => /* @__PURE__ */ e(
631
+ const Ts = g(({ className: e, children: a, ...r }, i) => /* @__PURE__ */ s(
631
632
  "span",
632
633
  {
633
- ref: t,
634
+ ref: i,
634
635
  "aria-hidden": "true",
635
636
  className: [
636
637
  "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
@@ -642,38 +643,38 @@ const Cs = b(({ className: s, children: a, ...r }, t) => /* @__PURE__ */ e(
642
643
  // pill — keeping it readable on the primary background.
643
644
  "ds:text-[var(--accent)]",
644
645
  "ds:group-aria-[current=page]/item:text-[var(--primary-foreground)]",
645
- s ?? ""
646
+ e ?? ""
646
647
  ].filter(Boolean).join(" "),
647
648
  ...r,
648
649
  children: a
649
650
  }
650
651
  ));
651
- Cs.displayName = "SidebarItemIcon";
652
- const Ts = b(({ className: s, children: a, ...r }, t) => {
653
- const { mode: i } = y();
654
- return /* @__PURE__ */ e(
652
+ Ts.displayName = "SidebarItemIcon";
653
+ const Is = g(({ className: e, children: a, ...r }, i) => {
654
+ const { mode: t } = w();
655
+ return /* @__PURE__ */ s(
655
656
  "span",
656
657
  {
657
- ref: t,
658
+ ref: i,
658
659
  className: [
659
660
  "ds:flex-1",
660
661
  "ds:overflow-hidden ds:text-ellipsis ds:whitespace-nowrap ds:break-normal",
661
662
  "ds:text-start",
662
- i === "icon" ? "ds:sr-only" : "",
663
- s ?? ""
663
+ t === "icon" ? "ds:sr-only" : "",
664
+ e ?? ""
664
665
  ].filter(Boolean).join(" "),
665
666
  ...r,
666
667
  children: a
667
668
  }
668
669
  );
669
670
  });
670
- Ts.displayName = "SidebarItemLabel";
671
- const Bs = b(({ className: s, children: a, ...r }, t) => {
672
- const { mode: i } = y(), o = i === "icon";
673
- return /* @__PURE__ */ e(
671
+ Is.displayName = "SidebarItemLabel";
672
+ const Bs = g(({ className: e, children: a, ...r }, i) => {
673
+ const { mode: t } = w(), o = t === "icon";
674
+ return /* @__PURE__ */ s(
674
675
  "span",
675
676
  {
676
- ref: t,
677
+ ref: i,
677
678
  "aria-hidden": o ? "true" : void 0,
678
679
  className: [
679
680
  "ds:inline-flex ds:items-center ds:justify-center",
@@ -692,7 +693,7 @@ const Bs = b(({ className: s, children: a, ...r }, t) => {
692
693
  "ds:text-[length:var(--font-size-xs)]",
693
694
  "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]"
694
695
  ].join(" "),
695
- s ?? ""
696
+ e ?? ""
696
697
  ].filter(Boolean).join(" "),
697
698
  ...r,
698
699
  children: a
@@ -700,7 +701,7 @@ const Bs = b(({ className: s, children: a, ...r }, t) => {
700
701
  );
701
702
  });
702
703
  Bs.displayName = "SidebarItemBadge";
703
- const Is = B(
704
+ const Ds = k(
704
705
  [
705
706
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
706
707
  "ds:min-h-[var(--min-target-size)]",
@@ -713,29 +714,29 @@ const Is = B(
713
714
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
714
715
  "ds:no-underline"
715
716
  ].join(" ")
716
- ), Ds = b(({ logo: s, name: a, showChevron: r = !0, className: t, ...i }, o) => {
717
- const { mode: u } = y(), n = u !== "icon";
718
- return /* @__PURE__ */ v(
717
+ ), As = g(({ logo: e, name: a, showChevron: r = !0, className: i, ...t }, o) => {
718
+ const { mode: l } = w(), n = l !== "icon";
719
+ return /* @__PURE__ */ u(
719
720
  "button",
720
721
  {
721
722
  ref: o,
722
723
  type: "button",
723
724
  "aria-label": a,
724
- className: [Is(), t].filter(Boolean).join(" "),
725
- ...i,
725
+ className: [Ds(), i].filter(Boolean).join(" "),
726
+ ...t,
726
727
  children: [
727
- /* @__PURE__ */ e(
728
+ /* @__PURE__ */ s(
728
729
  "span",
729
730
  {
730
731
  "aria-hidden": "true",
731
732
  className: "ds:inline-flex ds:items-center ds:shrink-0",
732
- children: s
733
+ children: e
733
734
  }
734
735
  ),
735
- n ? /* @__PURE__ */ v(G, { children: [
736
- /* @__PURE__ */ e("span", { className: "ds:truncate ds:flex-1 ds:text-start ds:max-w-[var(--header-workspace-max-inline-size)]", children: a }),
737
- r ? /* @__PURE__ */ e(
738
- E,
736
+ n ? /* @__PURE__ */ u(V, { children: [
737
+ /* @__PURE__ */ s("span", { className: "ds:truncate ds:flex-1 ds:text-start ds:max-w-[var(--header-workspace-max-inline-size)]", children: a }),
738
+ r ? /* @__PURE__ */ s(
739
+ P,
739
740
  {
740
741
  "aria-hidden": "true",
741
742
  className: "ds:size-4 ds:shrink-0 ds:rotate-90"
@@ -746,8 +747,8 @@ const Is = B(
746
747
  }
747
748
  );
748
749
  });
749
- Ds.displayName = "SidebarWorkspaceSwitcher";
750
- const As = B(
750
+ As.displayName = "SidebarWorkspaceSwitcher";
751
+ const Rs = k(
751
752
  [
752
753
  "ds:flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
753
754
  "ds:min-h-[var(--min-target-size)]",
@@ -770,36 +771,36 @@ const As = B(
770
771
  },
771
772
  defaultVariants: { mode: "expanded" }
772
773
  }
773
- ), Rs = b(({ icon: s, label: a, shortcut: r, className: t, ...i }, o) => {
774
- const { mode: u } = y(), n = u !== "icon";
775
- return /* @__PURE__ */ v(
774
+ ), Ps = g(({ icon: e, label: a, shortcut: r, className: i, ...t }, o) => {
775
+ const { mode: l } = w(), n = l !== "icon";
776
+ return /* @__PURE__ */ u(
776
777
  "button",
777
778
  {
778
779
  ref: o,
779
780
  type: "button",
780
781
  "aria-label": a,
781
782
  "aria-keyshortcuts": r,
782
- className: [As({ mode: u }), t].filter(Boolean).join(" "),
783
- ...i,
783
+ className: [Rs({ mode: l }), i].filter(Boolean).join(" "),
784
+ ...t,
784
785
  children: [
785
- /* @__PURE__ */ e(
786
+ /* @__PURE__ */ s(
786
787
  "span",
787
788
  {
788
789
  "aria-hidden": "true",
789
790
  className: "ds:inline-flex ds:size-4 ds:items-center ds:justify-center",
790
- children: s
791
+ children: e
791
792
  }
792
793
  ),
793
- n ? /* @__PURE__ */ v(G, { children: [
794
- /* @__PURE__ */ e("span", { className: "ds:truncate", children: a }),
795
- r ? /* @__PURE__ */ e("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
794
+ n ? /* @__PURE__ */ u(V, { children: [
795
+ /* @__PURE__ */ s("span", { className: "ds:truncate", children: a }),
796
+ 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
796
797
  ] }) : null
797
798
  ]
798
799
  }
799
800
  );
800
801
  });
801
- Rs.displayName = "SidebarPrimaryAction";
802
- const Ps = [
802
+ Ps.displayName = "SidebarPrimaryAction";
803
+ const Hs = [
803
804
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
804
805
  "ds:size-6 ds:rounded-[var(--radius-sm)]",
805
806
  // Pin stars carry the accent tint to match every other icon in the rail.
@@ -812,29 +813,29 @@ const Ps = [
812
813
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
813
814
  "ds:transition-[color,opacity,background-color] ds:duration-[var(--animation-duration)]",
814
815
  "ds:motion-reduce:transition-none"
815
- ].join(" "), L = b(
816
- ({ isPinned: s, onPinChange: a, label: r, className: t, onClick: i, ...o }, u) => {
817
- const { t: n } = D(), { mode: m } = y();
816
+ ].join(" "), L = g(
817
+ ({ isPinned: e, onPinChange: a, label: r, className: i, onClick: t, ...o }, l) => {
818
+ const { t: n } = D(), { mode: m } = w();
818
819
  if (m === "icon") return null;
819
- const l = s ? n("navigation.sidebar.unpinItem", "Unpin {{label}}", { label: r }) : n("navigation.sidebar.pinItem", "Pin {{label}}", { label: r });
820
- return /* @__PURE__ */ e(
820
+ const c = e ? n("navigation.sidebar.unpinItem", "Unpin {{label}}", { label: r }) : n("navigation.sidebar.pinItem", "Pin {{label}}", { label: r });
821
+ return /* @__PURE__ */ s(
821
822
  "button",
822
823
  {
823
- ref: u,
824
+ ref: l,
824
825
  type: "button",
825
- "aria-label": l,
826
- "aria-pressed": s,
827
- className: [Ps, t].filter(Boolean).join(" "),
828
- onClick: (f) => {
829
- f.preventDefault(), f.stopPropagation(), a == null || a(!s), i == null || i(f);
826
+ "aria-label": c,
827
+ "aria-pressed": e,
828
+ className: [Hs, i].filter(Boolean).join(" "),
829
+ onClick: (v) => {
830
+ v.preventDefault(), v.stopPropagation(), a == null || a(!e), t == null || t(v);
830
831
  },
831
832
  ...o,
832
- children: /* @__PURE__ */ e(
833
+ children: /* @__PURE__ */ s(
833
834
  us,
834
835
  {
835
836
  "aria-hidden": "true",
836
837
  className: "ds:size-4",
837
- fill: s ? "currentColor" : "none"
838
+ fill: e ? "currentColor" : "none"
838
839
  }
839
840
  )
840
841
  }
@@ -842,31 +843,31 @@ const Ps = [
842
843
  }
843
844
  );
844
845
  L.displayName = "SidebarPinButton";
845
- const Z = W(null), Hs = () => q(Z), Fs = b(
846
- ({ heading: s, emptyMessage: a, onReorder: r, className: t, children: i, ...o }, u) => {
847
- const { t: n } = D(), m = s ?? n("navigation.sidebar.favorites", "Favourites"), l = Array.isArray(i) ? i.filter(Boolean) : i ? [i] : [], f = l.length, x = f > 0, [w, g] = R(null), [d, N] = R(""), h = $(!1), p = O((j) => {
848
- h.current = !h.current, N(h.current ? j : `${j}​`);
849
- }, []), z = U(
850
- () => ({ onReorder: r, count: f, dragSource: w, setDragSource: g, announce: p }),
851
- [r, f, w, p]
846
+ const Z = W(null), Fs = () => q(Z), Es = g(
847
+ ({ heading: e, emptyMessage: a, onReorder: r, className: i, children: t, ...o }, l) => {
848
+ const { t: n } = D(), m = e ?? n("navigation.sidebar.favorites", "Favourites"), c = Array.isArray(t) ? t.filter(Boolean) : t ? [t] : [], v = c.length, y = v > 0, [N, b] = R(null), [d, S] = R(""), h = G(!1), f = U((z) => {
849
+ h.current = !h.current, S(h.current ? z : `${z}​`);
850
+ }, []), j = $(
851
+ () => ({ onReorder: r, count: v, dragSource: N, setDragSource: b, announce: f }),
852
+ [r, v, N, f]
852
853
  );
853
- return !x && !a ? null : /* @__PURE__ */ e(Z.Provider, { value: z, children: /* @__PURE__ */ v(
854
+ return !y && !a ? null : /* @__PURE__ */ s(Z.Provider, { value: j, children: /* @__PURE__ */ u(
854
855
  J,
855
856
  {
856
- ref: u,
857
+ ref: l,
857
858
  label: m,
858
- className: t,
859
+ className: i,
859
860
  ...o,
860
861
  children: [
861
- x ? l : /* @__PURE__ */ e("p", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] type-meta ds:text-[color:var(--muted-foreground)]", children: a }),
862
- /* @__PURE__ */ e("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: d })
862
+ y ? c : /* @__PURE__ */ s("p", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] type-meta ds:text-[color:var(--muted-foreground)]", children: a }),
863
+ /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: d })
863
864
  ]
864
865
  }
865
866
  ) });
866
867
  }
867
868
  );
868
- Fs.displayName = "SidebarFavorites";
869
- const Es = B(
869
+ Es.displayName = "SidebarFavorites";
870
+ const Vs = k(
870
871
  [
871
872
  "ds:group/item ds:relative ds:flex ds:items-center ds:gap-[var(--spacing-2xs)]",
872
873
  "ds:rounded-[var(--radius-sm)]",
@@ -899,92 +900,92 @@ const Es = B(
899
900
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
900
901
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
901
902
  "ds:transition-[color,opacity,background-color] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
902
- ].join(" "), Vs = b(
903
+ ].join(" "), Ks = g(
903
904
  ({
904
- index: s,
905
+ index: e,
905
906
  isActive: a = !1,
906
907
  asChild: r = !1,
907
- reorderLabel: t,
908
- isPinned: i = !1,
908
+ reorderLabel: i,
909
+ isPinned: t = !1,
909
910
  onPinChange: o,
910
- pinLabel: u,
911
+ pinLabel: l,
911
912
  "aria-label": n,
912
913
  className: m,
913
- children: l,
914
- ...f
915
- }, x) => {
916
- const { t: w } = D(), { mode: g } = y(), d = Hs(), [N, h] = R(!1), p = !!(d != null && d.onReorder) && g !== "icon", z = t ?? n ?? "", j = ts(), k = (c, T) => {
914
+ children: c,
915
+ ...v
916
+ }, y) => {
917
+ const { t: N } = D(), { mode: b } = w(), d = Fs(), [S, h] = R(!1), f = !!(d != null && d.onReorder) && b !== "icon", j = i ?? n ?? "", z = is(), C = (p, I) => {
917
918
  if (!(d != null && d.onReorder)) return;
918
- const P = Math.max(0, Math.min(d.count - 1, T));
919
- P !== c && (d.onReorder(c, P), d.announce(
920
- w(
919
+ const H = Math.max(0, Math.min(d.count - 1, I));
920
+ H !== p && (d.onReorder(p, H), d.announce(
921
+ N(
921
922
  "navigation.sidebar.reorderAnnounce",
922
923
  "{{label}} moved to position {{to}} of {{total}}",
923
- { label: z, to: P + 1, total: d.count }
924
+ { label: j, to: H + 1, total: d.count }
924
925
  )
925
926
  ));
926
- }, C = (c) => {
927
- p && (c.altKey && c.key === "ArrowUp" ? (c.preventDefault(), k(s, s - 1)) : c.altKey && c.key === "ArrowDown" ? (c.preventDefault(), k(s, s + 1)) : c.key === "Home" && c.altKey ? (c.preventDefault(), k(s, 0)) : c.key === "End" && c.altKey && (c.preventDefault(), k(s, d.count - 1)));
928
- }, ss = (c) => {
929
- p && (d == null || d.setDragSource(s), c.dataTransfer && (c.dataTransfer.effectAllowed = "move", c.dataTransfer.setData("ds:text/plain", String(s))));
927
+ }, T = (p) => {
928
+ f && (p.altKey && p.key === "ArrowUp" ? (p.preventDefault(), C(e, e - 1)) : p.altKey && p.key === "ArrowDown" ? (p.preventDefault(), C(e, e + 1)) : p.key === "Home" && p.altKey ? (p.preventDefault(), C(e, 0)) : p.key === "End" && p.altKey && (p.preventDefault(), C(e, d.count - 1)));
929
+ }, ss = (p) => {
930
+ f && (d == null || d.setDragSource(e), p.dataTransfer && (p.dataTransfer.effectAllowed = "move", p.dataTransfer.setData("ds:text/plain", String(e))));
930
931
  }, es = () => {
931
932
  d == null || d.setDragSource(null), h(!1);
932
- }, as = (c) => {
933
- !p || (d == null ? void 0 : d.dragSource) === null || (c.preventDefault(), c.dataTransfer && (c.dataTransfer.dropEffect = "move"), h(!0));
934
- }, rs = () => h(!1), ds = (c) => {
935
- if (!p) return;
936
- c.preventDefault();
937
- const T = d == null ? void 0 : d.dragSource;
938
- h(!1), !(T == null || T === s) && k(T, s);
939
- }, V = (d == null ? void 0 : d.dragSource) === s;
940
- return /* @__PURE__ */ v(
933
+ }, as = (p) => {
934
+ !f || (d == null ? void 0 : d.dragSource) === null || (p.preventDefault(), p.dataTransfer && (p.dataTransfer.dropEffect = "move"), h(!0));
935
+ }, rs = () => h(!1), ds = (p) => {
936
+ if (!f) return;
937
+ p.preventDefault();
938
+ const I = d == null ? void 0 : d.dragSource;
939
+ h(!1), !(I == null || I === e) && C(I, e);
940
+ }, K = (d == null ? void 0 : d.dragSource) === e;
941
+ return /* @__PURE__ */ u(
941
942
  "div",
942
943
  {
943
- className: Es({
944
- dragging: V,
945
- dropTarget: N && !V
944
+ className: Vs({
945
+ dragging: K,
946
+ dropTarget: S && !K
946
947
  }),
947
- draggable: p || void 0,
948
- onDragStart: p ? ss : void 0,
949
- onDragEnd: p ? es : void 0,
948
+ draggable: f || void 0,
949
+ onDragStart: f ? ss : void 0,
950
+ onDragEnd: f ? es : void 0,
950
951
  onDragOver: as,
951
952
  onDragLeave: rs,
952
953
  onDrop: ds,
953
954
  children: [
954
- /* @__PURE__ */ e(
955
+ /* @__PURE__ */ s(
955
956
  Q,
956
957
  {
957
- ref: x,
958
+ ref: y,
958
959
  isActive: a,
959
960
  asChild: r,
960
961
  "aria-label": n,
961
- "aria-describedby": p ? j : void 0,
962
- draggable: p ? !1 : void 0,
963
- className: [p ? "ds:flex-1 ds:min-w-0" : "", m ?? ""].filter(Boolean).join(" "),
964
- ...f,
965
- children: l
962
+ "aria-describedby": f ? z : void 0,
963
+ draggable: f ? !1 : void 0,
964
+ className: [f ? "ds:flex-1 ds:min-w-0" : "", m ?? ""].filter(Boolean).join(" "),
965
+ ...v,
966
+ children: c
966
967
  }
967
968
  ),
968
- p ? /* @__PURE__ */ e(
969
+ f ? /* @__PURE__ */ s(
969
970
  "button",
970
971
  {
971
972
  type: "button",
972
- id: j,
973
- "aria-label": w(
973
+ id: z,
974
+ "aria-label": N(
974
975
  "navigation.sidebar.reorderHandle",
975
976
  "Reorder {{label}}. Press Alt + Up or Alt + Down to move.",
976
- { label: z }
977
+ { label: j }
977
978
  ),
978
979
  className: Ls,
979
- onKeyDown: C,
980
- children: /* @__PURE__ */ e(cs, { "aria-hidden": "true", className: "ds:size-4" })
980
+ onKeyDown: T,
981
+ children: /* @__PURE__ */ s(cs, { "aria-hidden": "true", className: "ds:size-4" })
981
982
  }
982
983
  ) : null,
983
- o && g !== "icon" ? /* @__PURE__ */ e(
984
+ o && b !== "icon" ? /* @__PURE__ */ s(
984
985
  L,
985
986
  {
986
- isPinned: i,
987
- label: u ?? n ?? "",
987
+ isPinned: t,
988
+ label: l ?? n ?? "",
988
989
  onPinChange: o
989
990
  }
990
991
  ) : null
@@ -993,8 +994,8 @@ const Es = B(
993
994
  );
994
995
  }
995
996
  );
996
- Vs.displayName = "SidebarFavoriteItem";
997
- const Ks = B(
997
+ Ks.displayName = "SidebarFavoriteItem";
998
+ const Ms = k(
998
999
  [
999
1000
  "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
1000
1001
  "ds:min-h-[var(--min-target-size)]",
@@ -1007,35 +1008,35 @@ const Ks = B(
1007
1008
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
1008
1009
  "ds:no-underline"
1009
1010
  ].join(" ")
1010
- ), _s = b(({ avatar: s, name: a, subtitle: r, subtitleLabel: t, className: i, ...o }, u) => {
1011
- const { mode: n } = y(), m = n !== "icon", l = typeof r == "string" ? r : t;
1012
- return /* @__PURE__ */ v(
1011
+ ), _s = g(({ avatar: e, name: a, subtitle: r, subtitleLabel: i, className: t, ...o }, l) => {
1012
+ const { mode: n } = w(), m = n !== "icon", c = typeof r == "string" ? r : i;
1013
+ return /* @__PURE__ */ u(
1013
1014
  "button",
1014
1015
  {
1015
- ref: u,
1016
+ ref: l,
1016
1017
  type: "button",
1017
- "aria-label": l ? `${a}, ${l}` : a,
1018
- className: [Ks(), i].filter(Boolean).join(" "),
1018
+ "aria-label": c ? `${a}, ${c}` : a,
1019
+ className: [Ms(), t].filter(Boolean).join(" "),
1019
1020
  ...o,
1020
1021
  children: [
1021
- /* @__PURE__ */ e(
1022
+ /* @__PURE__ */ s(
1022
1023
  "span",
1023
1024
  {
1024
1025
  "aria-hidden": "true",
1025
1026
  className: "ds:inline-flex ds:items-center ds:shrink-0",
1026
- children: s
1027
+ children: e
1027
1028
  }
1028
1029
  ),
1029
- m ? /* @__PURE__ */ v("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1030
- /* @__PURE__ */ e("span", { className: "ds:block ds:truncate type-label", children: a }),
1031
- r ? typeof r == "string" ? /* @__PURE__ */ e("span", { className: "ds:block ds:truncate type-meta ds:text-[color:var(--muted-foreground)]", children: r }) : /* @__PURE__ */ e("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
1030
+ m ? /* @__PURE__ */ u("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1031
+ /* @__PURE__ */ s("span", { className: "ds:block ds:truncate type-label", children: a }),
1032
+ 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
1032
1033
  ] }) : null
1033
1034
  ]
1034
1035
  }
1035
1036
  );
1036
1037
  });
1037
1038
  _s.displayName = "SidebarProfilePill";
1038
- const Ms = [
1039
+ const Os = [
1039
1040
  "ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
1040
1041
  "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
1041
1042
  "ds:rounded-[var(--radius-sm)]",
@@ -1045,29 +1046,29 @@ const Ms = [
1045
1046
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1046
1047
  "ds:forced-colors:focus-visible:outline-[CanvasText]",
1047
1048
  "ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
1048
- ].join(" "), Gs = b(({ className: s, "aria-label": a, onClick: r, ...t }, i) => {
1049
- const { t: o } = D(), { mode: u, transitionTo: n } = y();
1050
- if (u === "overlay") return null;
1051
- const m = u === "expanded", l = a ?? (m ? o("navigation.sidebar.collapse", "Collapse sidebar") : o("navigation.sidebar.expand", "Expand sidebar")), f = /* @__PURE__ */ e(
1049
+ ].join(" "), Us = g(({ className: e, "aria-label": a, onClick: r, ...i }, t) => {
1050
+ const { t: o } = D(), { mode: l, transitionTo: n } = w();
1051
+ if (l === "overlay") return null;
1052
+ const m = l === "expanded", c = a ?? (m ? o("navigation.sidebar.collapse", "Collapse sidebar") : o("navigation.sidebar.expand", "Expand sidebar")), v = /* @__PURE__ */ s(
1052
1053
  "button",
1053
1054
  {
1054
- ref: i,
1055
+ ref: t,
1055
1056
  type: "button",
1056
- "aria-label": l,
1057
+ "aria-label": c,
1057
1058
  "aria-expanded": m,
1058
- onClick: (x) => {
1059
- n == null || n(m ? "icon" : "expanded"), r == null || r(x);
1059
+ onClick: (y) => {
1060
+ n == null || n(m ? "icon" : "expanded"), r == null || r(y);
1060
1061
  },
1061
- className: [Ms, s].filter(Boolean).join(" "),
1062
- ...t,
1063
- children: m ? /* @__PURE__ */ e(
1062
+ className: [Os, e].filter(Boolean).join(" "),
1063
+ ...i,
1064
+ children: m ? /* @__PURE__ */ s(
1064
1065
  vs,
1065
1066
  {
1066
1067
  "aria-hidden": "true",
1067
1068
  className: "ds:size-4 ds:rtl:-scale-x-100"
1068
1069
  }
1069
- ) : /* @__PURE__ */ e(
1070
- ps,
1070
+ ) : /* @__PURE__ */ s(
1071
+ gs,
1071
1072
  {
1072
1073
  "aria-hidden": "true",
1073
1074
  className: "ds:size-4 ds:rtl:-scale-x-100"
@@ -1075,12 +1076,12 @@ const Ms = [
1075
1076
  )
1076
1077
  }
1077
1078
  );
1078
- return /* @__PURE__ */ v(S.Root, { children: [
1079
- /* @__PURE__ */ e(S.Trigger, { asChild: !0, children: f }),
1080
- /* @__PURE__ */ e(S.Portal, { children: /* @__PURE__ */ v(
1081
- S.Content,
1079
+ return /* @__PURE__ */ u(x.Root, { children: [
1080
+ /* @__PURE__ */ s(x.Trigger, { asChild: !0, children: v }),
1081
+ /* @__PURE__ */ s(x.Portal, { children: /* @__PURE__ */ u(
1082
+ x.Content,
1082
1083
  {
1083
- side: u === "icon" ? "right" : "top",
1084
+ side: l === "icon" ? "right" : "top",
1084
1085
  sideOffset: 6,
1085
1086
  className: [
1086
1087
  "ds:z-[var(--z-tooltip)] ds:max-w-[16rem]",
@@ -1090,33 +1091,134 @@ const Ms = [
1090
1091
  "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
1091
1092
  ].join(" "),
1092
1093
  children: [
1093
- l,
1094
- /* @__PURE__ */ e(S.Arrow, { className: "ds:fill-[var(--foreground)]" })
1094
+ c,
1095
+ /* @__PURE__ */ s(x.Arrow, { className: "ds:fill-[var(--foreground)]" })
1095
1096
  ]
1096
1097
  }
1097
1098
  ) })
1098
1099
  ] });
1099
1100
  });
1100
- Gs.displayName = "SidebarCollapseTrigger";
1101
+ Us.displayName = "SidebarCollapseTrigger";
1102
+ const Gs = k(
1103
+ [
1104
+ "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
1105
+ "ds:rounded-[var(--radius-md)]",
1106
+ "ds:border ds:border-[var(--border)]",
1107
+ "ds:bg-[image:var(--gradient-surface-subtle-accent)]",
1108
+ "ds:no-underline ds:!text-[var(--foreground)]",
1109
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1110
+ "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1111
+ "ds:forced-colors:focus-visible:outline-[CanvasText]"
1112
+ ].join(" "),
1113
+ {
1114
+ variants: {
1115
+ mode: {
1116
+ expanded: [
1117
+ "ds:min-h-[var(--min-target-size)]",
1118
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]"
1119
+ ].join(" "),
1120
+ icon: [
1121
+ "ds:justify-center",
1122
+ "ds:w-[var(--min-target-size)] ds:h-[var(--min-target-size)]",
1123
+ "ds:ms-auto ds:me-auto ds:ps-0 ds:pe-0"
1124
+ ].join(" "),
1125
+ overlay: [
1126
+ "ds:min-h-[var(--min-target-size)]",
1127
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]"
1128
+ ].join(" ")
1129
+ }
1130
+ },
1131
+ defaultVariants: { mode: "expanded" }
1132
+ }
1133
+ ), $s = g(({ title: e, description: a, icon: r, className: i, ...t }, o) => {
1134
+ const { mode: l } = w(), n = l === "icon", m = (
1135
+ // aria-label only in icon mode (where the copy is hidden) — in
1136
+ // expanded mode the accessible name comes from the visible contents
1137
+ // so the description isn't excluded from it.
1138
+ /* @__PURE__ */ u(
1139
+ "a",
1140
+ {
1141
+ ref: o,
1142
+ "aria-label": n ? e : void 0,
1143
+ className: Gs({ mode: l, className: i }),
1144
+ ...t,
1145
+ children: [
1146
+ /* @__PURE__ */ s(
1147
+ "span",
1148
+ {
1149
+ "aria-hidden": "true",
1150
+ className: [
1151
+ "ds:inline-flex ds:size-8 ds:shrink-0 ds:items-center ds:justify-center",
1152
+ "ds:rounded-[var(--radius-sm)]",
1153
+ "ds:bg-[var(--accent)] ds:text-[var(--accent-foreground)]"
1154
+ ].join(" "),
1155
+ children: r ?? /* @__PURE__ */ s(ms, { className: "ds:size-4" })
1156
+ }
1157
+ ),
1158
+ n ? null : /* @__PURE__ */ u(V, { children: [
1159
+ /* @__PURE__ */ u("span", { className: "ds:flex-1 ds:min-w-0 ds:text-start", children: [
1160
+ /* @__PURE__ */ s("span", { className: "ds:block ds:line-clamp-2 type-label", children: e }),
1161
+ a ? (
1162
+ // Foreground (not muted) on the tinted surface — the gradient
1163
+ // stops leave muted text short of AA in both colour schemes.
1164
+ /* @__PURE__ */ s("span", { className: "ds:block ds:line-clamp-2 type-meta", children: a })
1165
+ ) : null
1166
+ ] }),
1167
+ /* @__PURE__ */ s(
1168
+ P,
1169
+ {
1170
+ "aria-hidden": "true",
1171
+ className: "ds:size-4 ds:shrink-0 ds:rtl:-scale-x-100"
1172
+ }
1173
+ )
1174
+ ] })
1175
+ ]
1176
+ }
1177
+ )
1178
+ );
1179
+ return n ? /* @__PURE__ */ u(x.Root, { children: [
1180
+ /* @__PURE__ */ s(x.Trigger, { asChild: !0, children: m }),
1181
+ /* @__PURE__ */ s(x.Portal, { children: /* @__PURE__ */ u(
1182
+ x.Content,
1183
+ {
1184
+ side: "right",
1185
+ sideOffset: 6,
1186
+ className: [
1187
+ "ds:z-[var(--z-tooltip)] ds:max-w-[16rem]",
1188
+ "ds:rounded-[var(--radius-sm)]",
1189
+ "ds:bg-[var(--foreground)] ds:text-[var(--background)]",
1190
+ "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:text-[length:var(--font-size-xs)]",
1191
+ "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
1192
+ ].join(" "),
1193
+ children: [
1194
+ e,
1195
+ /* @__PURE__ */ s(x.Arrow, { className: "ds:fill-[var(--foreground)]" })
1196
+ ]
1197
+ }
1198
+ ) })
1199
+ ] }) : m;
1200
+ });
1201
+ $s.displayName = "SidebarUpgradeChip";
1101
1202
  export {
1102
- xs as S,
1103
- ws as a,
1104
- Gs as b,
1105
- Vs as c,
1106
- Fs as d,
1107
- Ns as e,
1108
- zs as f,
1109
- ys as g,
1203
+ ys as S,
1204
+ Ns as a,
1205
+ Us as b,
1206
+ Ks as c,
1207
+ Es as d,
1208
+ Ss as e,
1209
+ Cs as f,
1210
+ ws as g,
1110
1211
  Q as h,
1111
1212
  Bs as i,
1112
- Cs as j,
1113
- Ts as k,
1213
+ Ts as j,
1214
+ Is as k,
1114
1215
  L as l,
1115
- Rs as m,
1216
+ Ps as m,
1116
1217
  _s as n,
1117
1218
  J as o,
1118
- Ds as p,
1119
- gs as s,
1120
- y as u
1219
+ $s as p,
1220
+ As as q,
1221
+ bs as s,
1222
+ w as u
1121
1223
  };
1122
- //# sourceMappingURL=sidebar-_vJXI9rB.js.map
1224
+ //# sourceMappingURL=sidebar-h78cTNLh.js.map