@photon-ai/pho-ui 4.18.3 → 4.18.5

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 (370) hide show
  1. package/README.md +1 -1
  2. package/dist/chunks/{IconAlertCircleFilled-VxKU8TYK.js → IconAlertCircleFilled-D6mUlVaE.js} +2 -2
  3. package/dist/chunks/IconAlertCircleFilled-D6mUlVaE.js.map +1 -0
  4. package/dist/chunks/{IconArrowUpRight-DGgKzQwV.js → IconArrowUpRight-OK8Fp0KQ.js} +2 -2
  5. package/dist/chunks/IconArrowUpRight-OK8Fp0KQ.js.map +1 -0
  6. package/dist/chunks/{IconCheck-D2WuculQ.js → IconCheck-DwSMn1wK.js} +2 -2
  7. package/dist/chunks/IconCheck-DwSMn1wK.js.map +1 -0
  8. package/dist/chunks/{IconChevronDown-CZilB71T.js → IconChevronDown-Cd68NnX2.js} +2 -2
  9. package/dist/chunks/IconChevronDown-Cd68NnX2.js.map +1 -0
  10. package/dist/chunks/{IconChevronLeft-CSWMKQ4C.js → IconChevronLeft-CptqhdxO.js} +2 -2
  11. package/dist/chunks/IconChevronLeft-CptqhdxO.js.map +1 -0
  12. package/dist/chunks/{IconChevronRight-CzoJnYNI.js → IconChevronRight-BNkXCTk6.js} +2 -2
  13. package/dist/chunks/IconChevronRight-BNkXCTk6.js.map +1 -0
  14. package/dist/chunks/{IconChevronUp-CrpWSgIl.js → IconChevronUp-Bxllwz8J.js} +2 -2
  15. package/dist/chunks/IconChevronUp-Bxllwz8J.js.map +1 -0
  16. package/dist/chunks/{IconInfoCircle-L0zfhg7R.js → IconInfoCircle-CTAynhe8.js} +2 -2
  17. package/dist/chunks/IconInfoCircle-CTAynhe8.js.map +1 -0
  18. package/dist/chunks/{IconSearch-BKAHkLyX.js → IconSearch-DkcWWZ1H.js} +2 -2
  19. package/dist/chunks/IconSearch-DkcWWZ1H.js.map +1 -0
  20. package/dist/chunks/{IconX-pZ9vrtSr.js → IconX-DnPlFC68.js} +2 -2
  21. package/dist/chunks/IconX-DnPlFC68.js.map +1 -0
  22. package/dist/chunks/animated-height-zr7BmFY1.js.map +1 -1
  23. package/dist/chunks/{avatar-BkmGDIqf.js → avatar-PgBOfszL.js} +4 -4
  24. package/dist/chunks/avatar-PgBOfszL.js.map +1 -0
  25. package/dist/chunks/{badge-DlLJPLeZ.js → badge-CVViIYj_.js} +2 -2
  26. package/dist/chunks/badge-CVViIYj_.js.map +1 -0
  27. package/dist/chunks/{bar-chart-Dadmleu_.js → bar-chart-ZNuOoH7c.js} +2 -2
  28. package/dist/chunks/bar-chart-ZNuOoH7c.js.map +1 -0
  29. package/dist/chunks/{basic-page-Bfcda8w5.js → basic-page-BKvtEQkZ.js} +22 -22
  30. package/dist/chunks/basic-page-BKvtEQkZ.js.map +1 -0
  31. package/dist/chunks/{box-search-C9EVZgcb.js → box-search-CMl5bQ7Y.js} +5 -5
  32. package/dist/chunks/box-search-CMl5bQ7Y.js.map +1 -0
  33. package/dist/chunks/{bubble-eaoLJP4N.js → bubble-D88Edlgj.js} +2 -2
  34. package/dist/chunks/bubble-D88Edlgj.js.map +1 -0
  35. package/dist/chunks/{button-C9VqBBIr.js → button-CLfWdqm-.js} +3 -3
  36. package/dist/chunks/button-CLfWdqm-.js.map +1 -0
  37. package/dist/chunks/{calendar-4OFiCLAv.js → calendar-DDWITGo4.js} +7 -7
  38. package/dist/chunks/calendar-DDWITGo4.js.map +1 -0
  39. package/dist/chunks/{card-N-tvFsuV.js → card-zyRAihYE.js} +2 -2
  40. package/dist/chunks/{card-N-tvFsuV.js.map → card-zyRAihYE.js.map} +1 -1
  41. package/dist/chunks/{chart-D4fw7E3w.js → chart-Btnw7KXV.js} +4 -4
  42. package/dist/chunks/chart-Btnw7KXV.js.map +1 -0
  43. package/dist/chunks/{chat-Bu8UyIbT.js → chat-ZUzGmTWE.js} +11 -11
  44. package/dist/chunks/chat-ZUzGmTWE.js.map +1 -0
  45. package/dist/chunks/{checkbox-CwvoEJhd.js → checkbox-DpWLbKVS.js} +2 -2
  46. package/dist/chunks/checkbox-DpWLbKVS.js.map +1 -0
  47. package/dist/chunks/choice-card-_Ocs0iUj.js.map +1 -1
  48. package/dist/chunks/chrome-Ds7WykBJ.js.map +1 -1
  49. package/dist/chunks/{close-button-GvqWbLl0.js → close-button-Ck4rY1Fp.js} +3 -3
  50. package/dist/chunks/close-button-Ck4rY1Fp.js.map +1 -0
  51. package/dist/chunks/{cn-ChIgwEl3.js → cn-CPbhpG1q.js} +162 -83
  52. package/dist/chunks/cn-CPbhpG1q.js.map +1 -0
  53. package/dist/chunks/{code-block-DekLMMtV.js → code-block-Yxg2wZGJ.js} +10 -10
  54. package/dist/chunks/code-block-Yxg2wZGJ.js.map +1 -0
  55. package/dist/chunks/{collapsible-Dv306QOT.js → collapsible-C2tn_b1Q.js} +2 -2
  56. package/dist/chunks/collapsible-C2tn_b1Q.js.map +1 -0
  57. package/dist/chunks/{combobox-D4LiGJB2.js → combobox-OQOi5hlB.js} +83 -77
  58. package/dist/chunks/combobox-OQOi5hlB.js.map +1 -0
  59. package/dist/chunks/{copy-button-BmGshaq9.js → copy-button-BLvirhXk.js} +4 -4
  60. package/dist/chunks/copy-button-BLvirhXk.js.map +1 -0
  61. package/dist/chunks/{createReactComponent-BqCmnqfX.js → createReactComponent-yKZn9MIX.js} +6 -6
  62. package/dist/chunks/createReactComponent-yKZn9MIX.js.map +1 -0
  63. package/dist/chunks/{data-table-T4QKnrxQ.js → data-table-CAz_8HQw.js} +8 -8
  64. package/dist/chunks/data-table-CAz_8HQw.js.map +1 -0
  65. package/dist/chunks/{date-picker-CZbcNIe-.js → date-picker-vJQrTol9.js} +5 -5
  66. package/dist/chunks/date-picker-vJQrTol9.js.map +1 -0
  67. package/dist/chunks/{description-list-BRRQ0oF6.js → description-list-Duhhralt.js} +3 -3
  68. package/dist/chunks/description-list-Duhhralt.js.map +1 -0
  69. package/dist/chunks/{dialog-12foDiQb.js → dialog-CCfeyQBG.js} +5 -5
  70. package/dist/chunks/dialog-CCfeyQBG.js.map +1 -0
  71. package/dist/chunks/{error-D5SzZ0ev.js → error-yAVi4cBu.js} +8 -8
  72. package/dist/chunks/error-yAVi4cBu.js.map +1 -0
  73. package/dist/chunks/{filter-bar-upeYW4dQ.js → filter-bar-qqCZf1x4.js} +9 -9
  74. package/dist/chunks/filter-bar-qqCZf1x4.js.map +1 -0
  75. package/dist/chunks/{form-AiHbbw4m.js → form-CXT6ayt0.js} +2 -2
  76. package/dist/chunks/{form-AiHbbw4m.js.map → form-CXT6ayt0.js.map} +1 -1
  77. package/dist/chunks/{ghost-search-8PzP73zS.js → ghost-search-CMUI2UH0.js} +4 -4
  78. package/dist/chunks/ghost-search-CMUI2UH0.js.map +1 -0
  79. package/dist/chunks/{input-fFWvPJOf.js → input-DWnb33UF.js} +4 -4
  80. package/dist/chunks/input-DWnb33UF.js.map +1 -0
  81. package/dist/chunks/{input-group-fc9_jD4d.js → input-group-C3upo2OU.js} +39 -37
  82. package/dist/chunks/input-group-C3upo2OU.js.map +1 -0
  83. package/dist/chunks/is-react-component-DSnjtBmo.js.map +1 -1
  84. package/dist/chunks/{kbd-DNI10uy7.js → kbd-DWDs_6U1.js} +2 -2
  85. package/dist/chunks/kbd-DWDs_6U1.js.map +1 -0
  86. package/dist/chunks/{line-chart-Cp-ME94d.js → line-chart-pOwE2_Oz.js} +2 -2
  87. package/dist/chunks/line-chart-pOwE2_Oz.js.map +1 -0
  88. package/dist/chunks/link-provider-DXzDQ08N.js.map +1 -1
  89. package/dist/chunks/{log-list-tNuCFGlP.js → log-list-QbSYHZu3.js} +8 -8
  90. package/dist/chunks/log-list-QbSYHZu3.js.map +1 -0
  91. package/dist/chunks/{menu-CoMrYnd1.js → menu-CC3fhf83.js} +3 -3
  92. package/dist/chunks/menu-CC3fhf83.js.map +1 -0
  93. package/dist/chunks/{message-Dz2-numf.js → message-DRAWQlW-.js} +2 -2
  94. package/dist/chunks/message-DRAWQlW-.js.map +1 -0
  95. package/dist/chunks/{popover-BhBJO346.js → popover-B0NBrYV5.js} +2 -2
  96. package/dist/chunks/popover-B0NBrYV5.js.map +1 -0
  97. package/dist/chunks/popup-anchor-C3_iXdbh.js +40 -0
  98. package/dist/chunks/popup-anchor-C3_iXdbh.js.map +1 -0
  99. package/dist/chunks/resolve-variant-CcD8iG5l.js.map +1 -1
  100. package/dist/chunks/{scroll-area-DSwD9th7.js → scroll-area-Dhl5hqay.js} +2 -2
  101. package/dist/chunks/scroll-area-Dhl5hqay.js.map +1 -0
  102. package/dist/chunks/{select-COFV0NLb.js → select-xhSvDNbw.js} +62 -56
  103. package/dist/chunks/select-xhSvDNbw.js.map +1 -0
  104. package/dist/chunks/{sidebar-BP39w1iA.js → sidebar-CgaSEWVr.js} +11 -11
  105. package/dist/chunks/sidebar-CgaSEWVr.js.map +1 -0
  106. package/dist/chunks/{skeleton-DwjSl4vC.js → skeleton-CqZlGphn.js} +2 -2
  107. package/dist/chunks/skeleton-CqZlGphn.js.map +1 -0
  108. package/dist/chunks/{spinner-BzLUo4Xk.js → spinner-BSutFL4l.js} +2 -2
  109. package/dist/chunks/spinner-BSutFL4l.js.map +1 -0
  110. package/dist/chunks/{stat-hnNqjWVG.js → stat-BXBfMQ9Q.js} +4 -4
  111. package/dist/chunks/stat-BXBfMQ9Q.js.map +1 -0
  112. package/dist/chunks/{status-view-C8tabjDu.js → status-view-I_Y6eEyX.js} +2 -2
  113. package/dist/chunks/status-view-I_Y6eEyX.js.map +1 -0
  114. package/dist/chunks/{toast-BACxYsv6.js → toast-DrLKzrDJ.js} +7 -7
  115. package/dist/chunks/toast-DrLKzrDJ.js.map +1 -0
  116. package/dist/chunks/{toggle-o84tawXy.js → toggle-Ca4SS3YD.js} +2 -2
  117. package/dist/chunks/toggle-Ca4SS3YD.js.map +1 -0
  118. package/dist/chunks/{tooltip-BTF7GChl.js → tooltip-4J1PUJmB.js} +2 -2
  119. package/dist/chunks/tooltip-4J1PUJmB.js.map +1 -0
  120. package/dist/chunks/{trace-DyjsBY-S.js → trace-D9F0sne7.js} +11 -11
  121. package/dist/chunks/trace-D9F0sne7.js.map +1 -0
  122. package/dist/chunks/use-copy-D6JwKUll.js.map +1 -1
  123. package/dist/chunks/use-press-pulse-IbNstUT0.js.map +1 -1
  124. package/dist/components/accordion.js +1 -1
  125. package/dist/components/accordion.js.map +1 -1
  126. package/dist/components/autocomplete.js +1 -1
  127. package/dist/components/autocomplete.js.map +1 -1
  128. package/dist/components/avatar.js +1 -1
  129. package/dist/components/badge.js +1 -1
  130. package/dist/components/bar-chart.js +1 -1
  131. package/dist/components/bubble.js +1 -1
  132. package/dist/components/button.js +2 -2
  133. package/dist/components/calendar.js +1 -1
  134. package/dist/components/card.js +1 -1
  135. package/dist/components/chart.js +1 -1
  136. package/dist/components/chat.js +1 -1
  137. package/dist/components/checkbox.js +1 -1
  138. package/dist/components/code-block.js +1 -1
  139. package/dist/components/collapsible.js +1 -1
  140. package/dist/components/combobox.js +1 -1
  141. package/dist/components/command.js +4 -4
  142. package/dist/components/command.js.map +1 -1
  143. package/dist/components/context-menu.js +2 -2
  144. package/dist/components/context-menu.js.map +1 -1
  145. package/dist/components/copy-button.js +1 -1
  146. package/dist/components/data-table.js +2 -2
  147. package/dist/components/date-picker.js +1 -1
  148. package/dist/components/description-list.js +1 -1
  149. package/dist/components/dialog.js +1 -1
  150. package/dist/components/drawer.js +1 -1
  151. package/dist/components/drawer.js.map +1 -1
  152. package/dist/components/error.js +1 -1
  153. package/dist/components/field.js +1 -1
  154. package/dist/components/field.js.map +1 -1
  155. package/dist/components/fieldset.js +1 -1
  156. package/dist/components/fieldset.js.map +1 -1
  157. package/dist/components/filter-bar.js +1 -1
  158. package/dist/components/form.js +1 -1
  159. package/dist/components/input-group.js +1 -1
  160. package/dist/components/input.js +1 -1
  161. package/dist/components/kbd.js +1 -1
  162. package/dist/components/line-chart.js +1 -1
  163. package/dist/components/log-list.js +1 -1
  164. package/dist/components/menu.js +1 -1
  165. package/dist/components/menubar.js +1 -1
  166. package/dist/components/menubar.js.map +1 -1
  167. package/dist/components/message.js +1 -1
  168. package/dist/components/meter.js +1 -1
  169. package/dist/components/meter.js.map +1 -1
  170. package/dist/components/navigation-menu.js +1 -1
  171. package/dist/components/navigation-menu.js.map +1 -1
  172. package/dist/components/notification.js +4 -4
  173. package/dist/components/notification.js.map +1 -1
  174. package/dist/components/number-field.js +1 -1
  175. package/dist/components/number-field.js.map +1 -1
  176. package/dist/components/otp-field.js +1 -1
  177. package/dist/components/otp-field.js.map +1 -1
  178. package/dist/components/phone-input.js +35 -45
  179. package/dist/components/phone-input.js.map +1 -1
  180. package/dist/components/popover.js +1 -1
  181. package/dist/components/preview-card.js +1 -1
  182. package/dist/components/preview-card.js.map +1 -1
  183. package/dist/components/progress.js +1 -1
  184. package/dist/components/progress.js.map +1 -1
  185. package/dist/components/radio-group.js +1 -1
  186. package/dist/components/radio-group.js.map +1 -1
  187. package/dist/components/scope.js +10 -10
  188. package/dist/components/scope.js.map +1 -1
  189. package/dist/components/scroll-area.js +1 -1
  190. package/dist/components/select.js +1 -1
  191. package/dist/components/separator.js +1 -1
  192. package/dist/components/separator.js.map +1 -1
  193. package/dist/components/skeleton.js +1 -1
  194. package/dist/components/slider.js +1 -1
  195. package/dist/components/slider.js.map +1 -1
  196. package/dist/components/spinner.js +1 -1
  197. package/dist/components/stat.js +1 -1
  198. package/dist/components/status-view.js +1 -1
  199. package/dist/components/switch.js +1 -1
  200. package/dist/components/switch.js.map +1 -1
  201. package/dist/components/tabs.js +1 -1
  202. package/dist/components/tabs.js.map +1 -1
  203. package/dist/components/theme-toggle.js +2 -2
  204. package/dist/components/theme-toggle.js.map +1 -1
  205. package/dist/components/toast.js +1 -1
  206. package/dist/components/toggle-group.js +1 -1
  207. package/dist/components/toggle-group.js.map +1 -1
  208. package/dist/components/toggle.js +1 -1
  209. package/dist/components/toolbar.js +1 -1
  210. package/dist/components/toolbar.js.map +1 -1
  211. package/dist/components/tooltip.js +1 -1
  212. package/dist/components/trace.js +1 -1
  213. package/dist/icons.js.map +1 -1
  214. package/dist/index.js +27 -27
  215. package/dist/motion.js.map +1 -1
  216. package/dist/sections/basic-page.js +2 -2
  217. package/dist/sections/sidebar.js +1 -1
  218. package/dist/src/components/accordion/accordion.d.ts +5 -5
  219. package/dist/src/components/autocomplete/autocomplete.d.ts +9 -9
  220. package/dist/src/components/avatar/avatar.d.ts +3 -3
  221. package/dist/src/components/badge/badge.d.ts +1 -1
  222. package/dist/src/components/bar-chart/bar-chart.d.ts +1 -1
  223. package/dist/src/components/bubble/bubble.d.ts +3 -3
  224. package/dist/src/components/button/button.d.ts +4 -4
  225. package/dist/src/components/button/close-button.d.ts +1 -1
  226. package/dist/src/components/calendar/calendar.d.ts +1 -1
  227. package/dist/src/components/card/card.d.ts +7 -7
  228. package/dist/src/components/chart/chart.d.ts +1 -1
  229. package/dist/src/components/chart/legend.d.ts +2 -2
  230. package/dist/src/components/chart/shell.d.ts +1 -1
  231. package/dist/src/components/chart/skeleton.d.ts +1 -1
  232. package/dist/src/components/chart/tooltip.d.ts +1 -1
  233. package/dist/src/components/chat/chat.d.ts +17 -17
  234. package/dist/src/components/checkbox/check-glyph.d.ts +1 -1
  235. package/dist/src/components/checkbox/checkbox-card.d.ts +1 -1
  236. package/dist/src/components/checkbox/checkbox-group.d.ts +1 -1
  237. package/dist/src/components/checkbox/checkbox.d.ts +1 -1
  238. package/dist/src/components/code-block/code-block.d.ts +1 -1
  239. package/dist/src/components/code-block/languages.d.ts +27 -27
  240. package/dist/src/components/collapsible/collapsible.d.ts +2 -2
  241. package/dist/src/components/combobox/combobox.d.ts +15 -15
  242. package/dist/src/components/command/command.d.ts +12 -12
  243. package/dist/src/components/context-menu/context-menu.d.ts +48 -0
  244. package/dist/src/components/copy-button/copy-button.d.ts +1 -1
  245. package/dist/src/components/data-table/data-table.d.ts +1 -1
  246. package/dist/src/components/date-picker/date-picker.d.ts +1 -1
  247. package/dist/src/components/description-list/description-list.d.ts +2 -2
  248. package/dist/src/components/dialog/dialog.d.ts +11 -11
  249. package/dist/src/components/drawer/drawer.d.ts +6 -6
  250. package/dist/src/components/error/error.d.ts +2 -2
  251. package/dist/src/components/field/field.d.ts +6 -6
  252. package/dist/src/components/fieldset/fieldset.d.ts +2 -2
  253. package/dist/src/components/filter-bar/filter-bar.d.ts +1 -1
  254. package/dist/src/components/form/form.d.ts +1 -1
  255. package/dist/src/components/input/input.d.ts +1 -1
  256. package/dist/src/components/input-group/box-search.d.ts +1 -1
  257. package/dist/src/components/input-group/input-group.d.ts +6 -5
  258. package/dist/src/components/kbd/kbd.d.ts +1 -1
  259. package/dist/src/components/line-chart/line-chart.d.ts +1 -1
  260. package/dist/src/components/log-list/log-list.d.ts +7 -7
  261. package/dist/src/components/menu/menu-pending.d.ts +3 -4
  262. package/dist/src/components/menu/menu.d.ts +81 -0
  263. package/dist/src/components/menubar/menubar.d.ts +1 -1
  264. package/dist/src/components/message/message.d.ts +7 -7
  265. package/dist/src/components/meter/meter.d.ts +5 -5
  266. package/dist/src/components/navigation-menu/navigation-menu.d.ts +8 -8
  267. package/dist/src/components/notification/notification.d.ts +1 -1
  268. package/dist/src/components/number-field/number-field.d.ts +6 -6
  269. package/dist/src/components/otp-field/otp-field.d.ts +1 -1
  270. package/dist/src/components/phone-input/phone-input.d.ts +2 -2
  271. package/dist/src/components/popover/popover.d.ts +4 -4
  272. package/dist/src/components/preview-card/preview-card.d.ts +3 -3
  273. package/dist/src/components/progress/progress.d.ts +5 -5
  274. package/dist/src/components/radio-group/radio-card.d.ts +1 -1
  275. package/dist/src/components/radio-group/radio-group.d.ts +2 -2
  276. package/dist/src/components/scope/scope.d.ts +1 -1
  277. package/dist/src/components/scroll-area/scroll-area-edges.d.ts +1 -1
  278. package/dist/src/components/scroll-area/scroll-area.d.ts +5 -5
  279. package/dist/src/components/select/select.d.ts +9 -9
  280. package/dist/src/components/separator/separator.d.ts +1 -1
  281. package/dist/src/components/slider/slider.d.ts +7 -7
  282. package/dist/src/components/spinner/spinner.d.ts +1 -1
  283. package/dist/src/components/stat/stat.d.ts +2 -2
  284. package/dist/src/components/status-view/status-view.d.ts +1 -1
  285. package/dist/src/components/switch/switch.d.ts +1 -1
  286. package/dist/src/components/tabs/tabs.d.ts +4 -4
  287. package/dist/src/components/theme-toggle/theme-toggle.d.ts +1 -1
  288. package/dist/src/components/toast/toast.d.ts +7 -7
  289. package/dist/src/components/toggle/toggle.d.ts +1 -1
  290. package/dist/src/components/toggle-group/toggle-group.d.ts +1 -1
  291. package/dist/src/components/toolbar/toolbar.d.ts +6 -6
  292. package/dist/src/components/tooltip/tooltip.d.ts +3 -3
  293. package/dist/src/components/trace/span-primitive.d.ts +3 -3
  294. package/dist/src/components/trace/trace.d.ts +3 -3
  295. package/dist/src/icons/discord.d.ts +1 -1
  296. package/dist/src/icons/github.d.ts +1 -1
  297. package/dist/src/icons/google.d.ts +1 -1
  298. package/dist/src/icons/imessage.d.ts +1 -1
  299. package/dist/src/icons/photon-mark.d.ts +1 -1
  300. package/dist/src/icons/reddit.d.ts +1 -1
  301. package/dist/src/icons/slack.d.ts +1 -1
  302. package/dist/src/icons/telegram.d.ts +1 -1
  303. package/dist/src/icons/whatsapp.d.ts +1 -1
  304. package/dist/src/icons/x.d.ts +1 -1
  305. package/dist/src/icons/youtube.d.ts +1 -1
  306. package/dist/src/index.d.ts +1 -1
  307. package/dist/src/sections/basic-page/basic-page.d.ts +46 -46
  308. package/dist/src/sections/sidebar/sidebar.d.ts +11 -11
  309. package/dist/src/utils/animated-height.d.ts +1 -1
  310. package/dist/src/utils/ghost-search.d.ts +1 -1
  311. package/dist/src/utils/link-provider.d.ts +1 -1
  312. package/dist/src/utils/popup-anchor.d.ts +28 -0
  313. package/dist/utils.js +1 -1
  314. package/package.json +24 -24
  315. package/src/styles/pho.css +1 -1
  316. package/src/styles/theme.css +1 -1
  317. package/dist/chunks/IconAlertCircleFilled-VxKU8TYK.js.map +0 -1
  318. package/dist/chunks/IconArrowUpRight-DGgKzQwV.js.map +0 -1
  319. package/dist/chunks/IconCheck-D2WuculQ.js.map +0 -1
  320. package/dist/chunks/IconChevronDown-CZilB71T.js.map +0 -1
  321. package/dist/chunks/IconChevronLeft-CSWMKQ4C.js.map +0 -1
  322. package/dist/chunks/IconChevronRight-CzoJnYNI.js.map +0 -1
  323. package/dist/chunks/IconChevronUp-CrpWSgIl.js.map +0 -1
  324. package/dist/chunks/IconInfoCircle-L0zfhg7R.js.map +0 -1
  325. package/dist/chunks/IconSearch-BKAHkLyX.js.map +0 -1
  326. package/dist/chunks/IconX-pZ9vrtSr.js.map +0 -1
  327. package/dist/chunks/avatar-BkmGDIqf.js.map +0 -1
  328. package/dist/chunks/badge-DlLJPLeZ.js.map +0 -1
  329. package/dist/chunks/bar-chart-Dadmleu_.js.map +0 -1
  330. package/dist/chunks/basic-page-Bfcda8w5.js.map +0 -1
  331. package/dist/chunks/box-search-C9EVZgcb.js.map +0 -1
  332. package/dist/chunks/bubble-eaoLJP4N.js.map +0 -1
  333. package/dist/chunks/button-C9VqBBIr.js.map +0 -1
  334. package/dist/chunks/calendar-4OFiCLAv.js.map +0 -1
  335. package/dist/chunks/chart-D4fw7E3w.js.map +0 -1
  336. package/dist/chunks/chat-Bu8UyIbT.js.map +0 -1
  337. package/dist/chunks/checkbox-CwvoEJhd.js.map +0 -1
  338. package/dist/chunks/close-button-GvqWbLl0.js.map +0 -1
  339. package/dist/chunks/cn-ChIgwEl3.js.map +0 -1
  340. package/dist/chunks/code-block-DekLMMtV.js.map +0 -1
  341. package/dist/chunks/collapsible-Dv306QOT.js.map +0 -1
  342. package/dist/chunks/combobox-D4LiGJB2.js.map +0 -1
  343. package/dist/chunks/copy-button-BmGshaq9.js.map +0 -1
  344. package/dist/chunks/createReactComponent-BqCmnqfX.js.map +0 -1
  345. package/dist/chunks/data-table-T4QKnrxQ.js.map +0 -1
  346. package/dist/chunks/date-picker-CZbcNIe-.js.map +0 -1
  347. package/dist/chunks/description-list-BRRQ0oF6.js.map +0 -1
  348. package/dist/chunks/dialog-12foDiQb.js.map +0 -1
  349. package/dist/chunks/error-D5SzZ0ev.js.map +0 -1
  350. package/dist/chunks/filter-bar-upeYW4dQ.js.map +0 -1
  351. package/dist/chunks/ghost-search-8PzP73zS.js.map +0 -1
  352. package/dist/chunks/input-fFWvPJOf.js.map +0 -1
  353. package/dist/chunks/input-group-fc9_jD4d.js.map +0 -1
  354. package/dist/chunks/kbd-DNI10uy7.js.map +0 -1
  355. package/dist/chunks/line-chart-Cp-ME94d.js.map +0 -1
  356. package/dist/chunks/log-list-tNuCFGlP.js.map +0 -1
  357. package/dist/chunks/menu-CoMrYnd1.js.map +0 -1
  358. package/dist/chunks/message-Dz2-numf.js.map +0 -1
  359. package/dist/chunks/popover-BhBJO346.js.map +0 -1
  360. package/dist/chunks/scroll-area-DSwD9th7.js.map +0 -1
  361. package/dist/chunks/select-COFV0NLb.js.map +0 -1
  362. package/dist/chunks/sidebar-BP39w1iA.js.map +0 -1
  363. package/dist/chunks/skeleton-DwjSl4vC.js.map +0 -1
  364. package/dist/chunks/spinner-BzLUo4Xk.js.map +0 -1
  365. package/dist/chunks/stat-hnNqjWVG.js.map +0 -1
  366. package/dist/chunks/status-view-C8tabjDu.js.map +0 -1
  367. package/dist/chunks/toast-BACxYsv6.js.map +0 -1
  368. package/dist/chunks/toggle-o84tawXy.js.map +0 -1
  369. package/dist/chunks/tooltip-BTF7GChl.js.map +0 -1
  370. package/dist/chunks/trace-DyjsBY-S.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete.js","names":[],"sources":["../../src/components/autocomplete/autocomplete.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Autocomplete as BaseAutocomplete } from \"@base-ui/react/autocomplete\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nconst Root = BaseAutocomplete.Root;\nconst Value = BaseAutocomplete.Value;\nconst Portal = BaseAutocomplete.Portal;\nconst Group = BaseAutocomplete.Group;\nconst Collection = BaseAutocomplete.Collection;\n\nfunction InputGroup({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.InputGroup>) {\n return (\n <BaseAutocomplete.InputGroup\n className={cn(\"relative flex items-center\", className)}\n {...props}\n />\n );\n}\n\nfunction Input({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Input>) {\n return (\n <BaseAutocomplete.Input\n className={cn(\n // Flat field surface — the 15% hairline ring carries the edge; shadows\n // are reserved for floating layers.\n // text-md on small viewports — iOS zooms into fields under 16px.\n \"bg-pho-primary ring-pho-primary text-pho-primary placeholder:text-pho-placeholder focus-visible:ring-pho-brand text-md rounded-base w-full px-3 py-2 ring-1 transition-shadow duration-100 ease-linear outline-none ring-inset focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Clear({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Clear>) {\n return (\n <BaseAutocomplete.Clear\n className={cn(\n \"text-pho-secondary hover:text-pho-secondary-hover absolute right-2.5 flex cursor-pointer items-center [&>svg]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Positioner({\n className,\n sideOffset = 6,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Positioner>) {\n return (\n <BaseAutocomplete.Positioner\n sideOffset={sideOffset}\n className={cn(\"z-50 outline-none\", className)}\n {...props}\n />\n );\n}\n\nfunction Popup({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Popup>) {\n return (\n <BaseAutocomplete.Popup\n className={cn(\n // Floating layer: keeps its elevation shadow, edged with the site\n // hairline (ring-pho-secondary).\n \"bg-pho-primary text-pho-primary shadow-pho-lg ring-pho-secondary rounded-base w-[var(--anchor-width)] max-w-[var(--available-width)] origin-[var(--transform-origin)] p-1 ring-1 transition-[transform,opacity] duration-150 ease-out outline-none ring-inset\",\n \"data-[starting-style]:scale-95 data-[starting-style]:opacity-0\",\n \"data-[ending-style]:scale-95 data-[ending-style]:opacity-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction List({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.List>) {\n return (\n <BaseAutocomplete.List\n className={cn(\n \"max-h-[min(20rem,var(--available-height))] overflow-y-auto overscroll-contain\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Empty({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Empty>) {\n return (\n <BaseAutocomplete.Empty\n className={cn(\n \"text-pho-description px-2.5 py-6 text-center text-base empty:m-0 empty:p-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Item({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Item>) {\n return (\n <BaseAutocomplete.Item\n className={cn(\n \"text-pho-secondary flex cursor-pointer items-center gap-2 rounded-[calc(var(--radius-base)-4px)] py-1.5 pr-2.5 pl-2 text-base outline-none select-none\",\n // Secondary at rest; highlight lifts to primary + ghost wash (Menu idiom).\n \"data-[highlighted]:bg-pho-ghost-hover data-[highlighted]:text-pho-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction GroupLabel({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.GroupLabel>) {\n return (\n <BaseAutocomplete.GroupLabel\n className={cn(\n \"text-pho-secondary px-2.5 py-1.5 text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Autocomplete built on Base UI `Autocomplete` — a free-text input that offers\n * matching suggestions as you type. Unlike `Combobox`, the value isn't\n * constrained to the list: the user can submit text that matches no suggestion.\n * Pass `items` to `Autocomplete.Root` and render an `Item` per suggestion.\n */\nexport const Autocomplete = {\n Root,\n Value,\n InputGroup,\n Input,\n Clear,\n Portal,\n Positioner,\n Popup,\n List,\n Collection,\n Empty,\n Item,\n Group,\n GroupLabel,\n};\n"],"mappings":";;;;;AAYA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EAAiB,OAAlB;AAAA,IACE,WAAW,EACT,8EACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAK,EACZ,WAAA,GACA,GAAG,EAAA,GACyC;AAC5C,SACE,gBAAA,EAAC,EAAiB,MAAlB;AAAA,IACE,WAAW,EACT,0JAEA,6EACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAClB,WAAA,GACA,GAAG,EAAA,GAC+C;AAClD,SACE,gBAAA,EAAC,EAAiB,YAAlB;AAAA,IACE,WAAW,EACT,wDACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAQA,IAAa,IAAe;AAAA,EAC1B,MAAA;AAAA,EACA,OAAA;AAAA,EACA,YAAA;AAAA,EACA,OAAA;AAAA,EACA,OAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,YAAA;AACF"}
1
+ {"version":3,"file":"autocomplete.js","names":["BaseAutocomplete","cn","jsx","Autocomplete$1","Root","Value","Portal","Group","Collection","InputGroup","className","props","Input","Clear","Positioner","sideOffset","Popup","List","Empty","Item","GroupLabel","Autocomplete"],"sources":["../../src/components/autocomplete/autocomplete.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Autocomplete as BaseAutocomplete } from \"@base-ui/react/autocomplete\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nconst Root = BaseAutocomplete.Root;\nconst Value = BaseAutocomplete.Value;\nconst Portal = BaseAutocomplete.Portal;\nconst Group = BaseAutocomplete.Group;\nconst Collection = BaseAutocomplete.Collection;\n\nfunction InputGroup({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.InputGroup>) {\n return (\n <BaseAutocomplete.InputGroup\n className={cn(\"relative flex items-center\", className)}\n {...props}\n />\n );\n}\n\nfunction Input({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Input>) {\n return (\n <BaseAutocomplete.Input\n className={cn(\n // Flat field surface — the 15% hairline ring carries the edge; shadows\n // are reserved for floating layers.\n // text-md on small viewports — iOS zooms into fields under 16px.\n \"bg-pho-primary ring-pho-primary text-pho-primary placeholder:text-pho-placeholder focus-visible:ring-pho-brand text-md rounded-base w-full px-3 py-2 ring-1 transition-shadow duration-100 ease-linear outline-none ring-inset focus-visible:ring-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Clear({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Clear>) {\n return (\n <BaseAutocomplete.Clear\n className={cn(\n \"text-pho-secondary hover:text-pho-secondary-hover absolute right-2.5 flex cursor-pointer items-center [&>svg]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Positioner({\n className,\n sideOffset = 6,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Positioner>) {\n return (\n <BaseAutocomplete.Positioner\n sideOffset={sideOffset}\n className={cn(\"z-50 outline-none\", className)}\n {...props}\n />\n );\n}\n\nfunction Popup({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Popup>) {\n return (\n <BaseAutocomplete.Popup\n className={cn(\n // Floating layer: keeps its elevation shadow, edged with the site\n // hairline (ring-pho-secondary).\n \"bg-pho-primary text-pho-primary shadow-pho-lg ring-pho-secondary rounded-base w-[var(--anchor-width)] max-w-[var(--available-width)] origin-[var(--transform-origin)] p-1 ring-1 transition-[transform,opacity] duration-150 ease-out outline-none ring-inset\",\n \"data-[starting-style]:scale-95 data-[starting-style]:opacity-0\",\n \"data-[ending-style]:scale-95 data-[ending-style]:opacity-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction List({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.List>) {\n return (\n <BaseAutocomplete.List\n className={cn(\n \"max-h-[min(20rem,var(--available-height))] overflow-y-auto overscroll-contain\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Empty({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Empty>) {\n return (\n <BaseAutocomplete.Empty\n className={cn(\n \"text-pho-description px-2.5 py-6 text-center text-base empty:m-0 empty:p-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Item({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.Item>) {\n return (\n <BaseAutocomplete.Item\n className={cn(\n \"text-pho-secondary flex cursor-pointer items-center gap-2 rounded-[calc(var(--radius-base)-4px)] py-1.5 pr-2.5 pl-2 text-base outline-none select-none\",\n // Secondary at rest; highlight lifts to primary + ghost wash (Menu idiom).\n \"data-[highlighted]:bg-pho-ghost-hover data-[highlighted]:text-pho-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction GroupLabel({\n className,\n ...props\n}: StyledProps<typeof BaseAutocomplete.GroupLabel>) {\n return (\n <BaseAutocomplete.GroupLabel\n className={cn(\n \"text-pho-secondary px-2.5 py-1.5 text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Autocomplete built on Base UI `Autocomplete` — a free-text input that offers\n * matching suggestions as you type. Unlike `Combobox`, the value isn't\n * constrained to the list: the user can submit text that matches no suggestion.\n * Pass `items` to `Autocomplete.Root` and render an `Item` per suggestion.\n */\nexport const Autocomplete = {\n Root,\n Value,\n InputGroup,\n Input,\n Clear,\n Portal,\n Positioner,\n Popup,\n List,\n Collection,\n Empty,\n Item,\n Group,\n GroupLabel,\n};\n"],"mappings":";;;;;AAYA,IAAMI,IAAOJ,EAAiB,MACxBK,IAAQL,EAAiB,OACzBM,IAASN,EAAiB,QAC1BO,IAAQP,EAAiB,OACzBQ,IAAaR,EAAiB;AAEpC,SAASS,EAAW,E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AA,EACL,CAAA;AAEL;AAEA,SAASQ,EAAK,EACZ,WAAAT,GACA,GAAGC,EAAA,GACyC;AAC5C,SACE,gBAAAT,EAACF,EAAiB,MAAlB;AAAA,IACE,WAAWC,EACT,0JAEA,6EACAS,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASS,EAAW,EAClB,WAAAV,GACA,GAAGC,EAAA,GAC+C;AAClD,SACE,gBAAAT,EAACF,EAAiB,YAAlB;AAAA,IACE,WAAWC,EACT,wDACAS,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAQA,IAAaU,IAAe;AAAA,EAC1B,MAAAjB;AAAA,EACA,OAAAC;AAAA,EACA,YAAAI;AAAA,EACA,OAAAG;AAAA,EACA,OAAAC;AAAA,EACA,QAAAP;AAAA,EACA,YAAAQ;AAAA,EACA,OAAAE;AAAA,EACA,MAAAC;AAAA,EACA,YAAAT;AAAA,EACA,OAAAU;AAAA,EACA,MAAAC;AAAA,EACA,OAAAZ;AAAA,EACA,YAAAa;AACF"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as a, t as r } from "../chunks/avatar-BkmGDIqf.js";
2
+ import { n as a, t as r } from "../chunks/avatar-PgBOfszL.js";
3
3
  export {
4
4
  r as AVATAR_SIZES,
5
5
  a as Avatar
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as s, n as e, r, t } from "../chunks/badge-DlLJPLeZ.js";
2
+ import { i as s, n as e, r, t } from "../chunks/badge-CVViIYj_.js";
3
3
  export {
4
4
  t as BADGE_COLORS,
5
5
  e as BADGE_SIZES,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t } from "../chunks/bar-chart-Dadmleu_.js";
2
+ import { t } from "../chunks/bar-chart-ZNuOoH7c.js";
3
3
  export {
4
4
  t as BarChart
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as t, t as B } from "../chunks/bubble-eaoLJP4N.js";
2
+ import { n as t, t as B } from "../chunks/bubble-D88Edlgj.js";
3
3
  export {
4
4
  B as BUBBLE_VARIANTS,
5
5
  t as Bubble
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { a, c as s, d as o, i as n, l as T, n as B, o as u, r as e, s as f, t as i, u as r } from "../chunks/button-C9VqBBIr.js";
3
- import { t as E } from "../chunks/close-button-GvqWbLl0.js";
2
+ import { a, c as s, d as o, i as n, l as T, n as B, o as u, r as e, s as f, t as i, u as r } from "../chunks/button-CLfWdqm-.js";
3
+ import { t as E } from "../chunks/close-button-Ck4rY1Fp.js";
4
4
  export {
5
5
  i as BUTTON_COLORS,
6
6
  B as BUTTON_SHAPES,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as r } from "../chunks/calendar-4OFiCLAv.js";
2
+ import { t as r } from "../chunks/calendar-DDWITGo4.js";
3
3
  export {
4
4
  r as Calendar
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as t, t as a } from "../chunks/card-N-tvFsuV.js";
2
+ import { n as t, t as a } from "../chunks/card-zyRAihYE.js";
3
3
  export {
4
4
  a as CARD_SURFACE,
5
5
  t as Card
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a as r, i as t, n as s, o as h, r as C, s as e, t as o } from "../chunks/chart-D4fw7E3w.js";
2
+ import { a as r, i as t, n as s, o as h, r as C, s as e, t as o } from "../chunks/chart-Btnw7KXV.js";
3
3
  export {
4
4
  h as CHART_SLOTS,
5
5
  o as Chart,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "../chunks/chat-Bu8UyIbT.js";
2
+ import { t as e } from "../chunks/chat-ZUzGmTWE.js";
3
3
  export {
4
4
  e as Chat
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as e, r, t as a } from "../chunks/checkbox-CwvoEJhd.js";
2
+ import { n as e, r, t as a } from "../chunks/checkbox-DpWLbKVS.js";
3
3
  export {
4
4
  r as Checkbox,
5
5
  a as CheckboxCard,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a as s, c as e, d as i, i as g, l as o, n as h, o as l, r, s as t, t as n, u as A } from "../chunks/code-block-DekLMMtV.js";
2
+ import { a as s, c as e, d as i, i as g, l as o, n as h, o as l, r, s as t, t as n, u as A } from "../chunks/code-block-Yxg2wZGJ.js";
3
3
  export {
4
4
  o as CODE_GRAMMARS,
5
5
  e as CODE_TOKEN_CLASS,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as l } from "../chunks/collapsible-Dv306QOT.js";
2
+ import { t as l } from "../chunks/collapsible-C2tn_b1Q.js";
3
3
  export {
4
4
  l as Collapsible
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t } from "../chunks/combobox-D4LiGJB2.js";
2
+ import { t } from "../chunks/combobox-OQOi5hlB.js";
3
3
  export {
4
4
  t as Combobox
5
5
  };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { t as s } from "../chunks/cn-ChIgwEl3.js";
2
+ import { t as s } from "../chunks/cn-CPbhpG1q.js";
3
3
  import { t as m } from "../chunks/resolve-variant-CcD8iG5l.js";
4
4
  import { SPRING_SETTLE as P } from "../motion.js";
5
- import { t as j } from "../chunks/IconArrowUpRight-DGgKzQwV.js";
6
- import { t as V } from "../chunks/IconChevronLeft-CSWMKQ4C.js";
5
+ import { t as j } from "../chunks/IconArrowUpRight-OK8Fp0KQ.js";
6
+ import { t as V } from "../chunks/IconChevronLeft-CptqhdxO.js";
7
7
  import { t as Z } from "../chunks/animated-height-zr7BmFY1.js";
8
- import { t as u } from "../chunks/dialog-12foDiQb.js";
8
+ import { t as u } from "../chunks/dialog-CCfeyQBG.js";
9
9
  import { useEffect as $, useId as z, useLayoutEffect as A, useRef as F } from "react";
10
10
  import { Fragment as E, jsx as t, jsxs as d } from "react/jsx-runtime";
11
11
  import { LayoutGroup as H, motion as g, useReducedMotion as B } from "motion/react";
@@ -1 +1 @@
1
- {"version":3,"file":"command.js","names":[],"sources":["../../src/components/command/command.tsx"],"sourcesContent":["import {\n useEffect,\n useId,\n useLayoutEffect,\n useRef,\n type ComponentProps,\n type ReactNode,\n type Ref,\n} from \"react\";\nimport { IconArrowUpRight, IconChevronLeft } from \"@tabler/icons-react\";\nimport { SPRING_SETTLE } from \"../../motion\";\nimport { Command as CommandPrimitive, useCommandState } from \"cmdk\";\nimport { LayoutGroup, motion, useReducedMotion } from \"motion/react\";\nimport { AnimatedHeight } from \"../../utils/animated-height\";\nimport { cn } from \"../../utils/cn\";\nimport { resolveVariant, type VariantMap } from \"../../utils/resolve-variant\";\nimport { Dialog as PhoDialog } from \"../dialog\";\n\n/**\n * Spring for row moves (FLIP / shared-layout) — same feel as\n * `AnimatedHeight`: quick and critically damped, so rows glide to their new\n * slot without overshooting into neighbours.\n */\nconst ROW_MOVE_SPRING = SPRING_SETTLE;\n\nfunction Root({\n // Filtering is yours by default: filter in render (state above the\n // palette) so the rows' FLIP diff can glide survivors to their slots.\n // cmdk's built-in matcher reorders DOM imperatively — invisible to the\n // layout pass — so it is opt-in: pass `shouldFilter` to hand matching\n // and ranking back to cmdk at the cost of the animation.\n shouldFilter = false,\n className,\n children,\n ...props\n}: ComponentProps<typeof CommandPrimitive>) {\n // Namespace row layoutIds per palette instance — the docs page mounts the\n // inline demo and the dialog demo at once, with identical item values.\n const layoutNamespace = useId();\n return (\n <CommandPrimitive\n className={cn(\n \"bg-pho-primary text-pho-primary flex w-full flex-col overflow-hidden outline-none\",\n className,\n )}\n shouldFilter={shouldFilter}\n {...props}\n >\n <LayoutGroup id={layoutNamespace}>{children}</LayoutGroup>\n </CommandPrimitive>\n );\n}\n\n/**\n * The input row — a bottom hairline separates it from the list. Position\n * leading icons absolutely and pad the input (`pl-9`), mirroring\n * `Autocomplete.InputGroup`.\n */\nfunction InputGroup({ className, ...props }: ComponentProps<\"div\">) {\n return (\n <div\n className={cn(\n \"border-pho-secondary relative flex items-center border-b\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/** SSR-safe layout effect (same pattern cmdk uses internally). */\nconst useIsomorphicLayoutEffect =\n typeof window === \"undefined\" ? useEffect : useLayoutEffect;\n\nfunction assignRef<T>(ref: Ref<T> | undefined, value: T | null) {\n if (typeof ref === \"function\") ref(value);\n else if (ref) ref.current = value;\n}\n\nfunction Input({\n className,\n value,\n ref: consumerRef,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Input>) {\n const inputRef = useRef<HTMLInputElement>(null);\n const search = useCommandState((state) => state.search);\n\n // cmdk stays uncontrolled here on purpose. Its controlled path syncs the\n // `value` prop into the search store through a passive effect — one painted\n // frame late — so on that stale frame the old row is still \"selected\" while\n // the list has already reflowed, and the selection pill visibly rides it\n // before snapping to the re-selected first row. Uncontrolled keystrokes\n // update search + first-row selection synchronously (pre-paint), killing\n // that frame in both directions (typing and clearing).\n //\n // The consumer-facing API is still controlled: external `value` changes\n // (programmatic reset, initial query) are replayed through the native input\n // path below so store, display, and selection take the same sync route.\n useIsomorphicLayoutEffect(() => {\n const input = inputRef.current;\n if (value == null || input == null || value === search) return;\n const setNativeValue = Object.getOwnPropertyDescriptor(\n HTMLInputElement.prototype,\n \"value\",\n )?.set;\n setNativeValue?.call(input, value);\n input.dispatchEvent(new Event(\"input\", { bubbles: true }));\n }, [value, search]);\n\n return (\n <CommandPrimitive.Input\n className={cn(\n // Borderless inside the palette surface — the InputGroup hairline\n // carries the edge. display-xs (18px) keeps iOS from zooming in.\n \"text-pho-primary placeholder:text-pho-placeholder text-display-xs w-full bg-transparent px-3 py-3 outline-none disabled:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n ref={(node) => {\n inputRef.current = node;\n assignRef(consumerRef, node);\n }}\n />\n );\n}\n\nfunction List({\n className,\n children,\n ...props\n}: ComponentProps<typeof CommandPrimitive.List>) {\n return (\n // Same spring as the onboarding / invite Card shell — list height glides\n // when idle ↔ search (or filter) changes instead of jumping.\n <AnimatedHeight>\n {/* The scroller is a motion element with layoutScroll so the rows'\n FLIP projections account for its scroll offset — without it,\n scrolling reads as a layout change and every row glides to\n compensate. scroll-py keeps a breath above and below the row\n being scrolled into view. */}\n <motion.div\n layoutScroll\n className=\"max-h-[min(24rem,60vh)] scroll-py-1 overflow-y-auto overscroll-contain\"\n >\n <CommandPrimitive.List\n className={cn(\"relative isolate p-1\", className)}\n {...props}\n >\n {children}\n </CommandPrimitive.List>\n </motion.div>\n </AnimatedHeight>\n );\n}\n\nfunction Empty({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Empty>) {\n return (\n <CommandPrimitive.Empty\n className={cn(\n \"text-pho-description px-2.5 py-6 text-center text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Group({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Group>) {\n return (\n <CommandPrimitive.Group\n className={cn(\n // cmdk renders the `heading` prop in a [cmdk-group-heading] wrapper —\n // typography mirrors `Autocomplete.GroupLabel`.\n \"[&_[cmdk-group-heading]]:text-pho-secondary [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Row layout mode:\n * - `item` / `subitem` / `subsubitem` — idle hierarchy (icon column + indent)\n * - `result` — flat search hit (breadcrumb + trailing scope)\n */\nexport type CommandItemLevel = \"item\" | \"subitem\" | \"subsubitem\" | \"result\";\nexport type CommandItemSize = \"sm\" | \"md\";\n\nconst ITEM_SIZES = {\n sm: {\n classes: \"gap-1.5 py-1 pr-2 text-sm\",\n description: \"Compact rows for filter lists and dense pickers\",\n },\n md: {\n classes: \"gap-2 py-2 pr-2.5 text-base\",\n description: \"Default palette row\",\n },\n} as const satisfies VariantMap;\n\nconst ITEM_TITLE_SIZES = {\n sm: { classes: \"text-sm\", description: \"Compact row title\" },\n md: { classes: \"text-md\", description: \"Default row title\" },\n} as const satisfies VariantMap;\n\nconst ITEM_ICON_SIZES = {\n sm: {\n classes: \"size-3.5 [&>svg]:size-3.5\",\n description: \"Compact leading glyph\",\n },\n md: {\n classes: \"size-4 [&>svg]:size-4\",\n description: \"Default leading glyph\",\n },\n} as const satisfies VariantMap;\n\ntype ItemPrimitiveProps = ComponentProps<typeof CommandPrimitive.Item>;\n\nexport interface CommandItemProps extends Omit<\n ItemPrimitiveProps,\n \"children\" | \"title\"\n> {\n /**\n * Row depth / mode in the palette:\n * - `item` — page / top destination (icon + title)\n * - `subitem` — section under an item (label aligns with the item title)\n * - `subsubitem` — row under a section (one step deeper)\n * - `result` — flat search hit (`title` + `path` crumbs + `scope`)\n */\n level?: CommandItemLevel;\n /**\n * Leading glyph. On idle `item` rows (and reserved for sub-levels). On\n * `result` rows, pass the resolved icon (self → parent → grandparent).\n */\n icon?: ReactNode;\n /**\n * When `level=\"result\"`, force the icon column so labels align across the\n * list even if this row's `icon` is empty. Set true when any sibling result\n * has an icon; omit when the whole result set is icon-less.\n */\n iconSlot?: boolean;\n /**\n * Row density. `sm` tightens padding and type for chip popovers\n * (Filter Bar options). Palette destinations stay `md`.\n * @default \"md\"\n */\n size?: CommandItemSize;\n /** Primary label. Prefer this over free-form children for the shared layout. */\n title?: ReactNode;\n /**\n * Ancestors after `title` for `level=\"result\"` — parent → page\n * (e.g. `[\"Agent profile\", \"Settings\"]` → `Name < Agent profile < Settings`).\n */\n path?: ReactNode[];\n /**\n * Trailing scope for `level=\"result\"` — `Project` vs `Personal`, not a nav group.\n */\n scope?: ReactNode;\n /** Shows a trailing external-link glyph (opens outside the app). */\n external?: boolean;\n /**\n * Free-form content. When `title` is set, rendered after the label stack.\n * When `title` is omitted, becomes the row body (legacy / simple items).\n */\n children?: ReactNode;\n}\n\n/** Leading icon column — `size-4` at `md`, tighter at `sm`. */\nfunction ItemIcon({\n className,\n size = \"md\",\n ...props\n}: ComponentProps<\"span\"> & { size?: CommandItemSize }) {\n return (\n <span\n className={cn(\n \"text-pho-secondary flex shrink-0 items-center justify-center\",\n resolveVariant(ITEM_ICON_SIZES, size),\n className,\n )}\n {...props}\n />\n );\n}\n\n/** Primary label — medium + primary ink on `item` rows. */\nfunction ItemTitle({\n className,\n level = \"item\",\n size = \"md\",\n ...props\n}: ComponentProps<\"span\"> & {\n level?: CommandItemLevel;\n size?: CommandItemSize;\n}) {\n return (\n <span\n className={cn(\n \"block truncate\",\n resolveVariant(ITEM_TITLE_SIZES, size),\n level === \"item\" && \"text-pho-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * One selectable row. Idle palettes use `level` + `icon` / `title`\n * (item → subitem → subsubitem). Searching uses `level=\"result\"` with `path`\n * crumbs and a trailing `scope` (Project / Personal). No description line —\n * match via `keywords` / aliases instead.\n */\nfunction ExternalGlyph() {\n return (\n <IconArrowUpRight\n aria-hidden\n className=\"text-pho-description size-4 shrink-0\"\n />\n );\n}\n\nfunction Item({\n className,\n level = \"item\",\n size = \"md\",\n icon,\n iconSlot,\n title,\n path,\n scope,\n external,\n children,\n value,\n ...props\n}: CommandItemProps) {\n const reduceMotion = useReducedMotion();\n // cmdk registers `value.trim()` and exposes the selected one as\n // `state.value` — mirrors cmdk's own `data-selected` computation.\n const trimmedValue = typeof value === \"string\" ? value.trim() : \"\";\n const selectedValue = useCommandState((state) => state.value);\n const isSelected = trimmedValue !== \"\" && selectedValue === trimmedValue;\n const structured = title != null;\n const isResult = level === \"result\";\n // Reserve the icon column when the row has an icon, or when the list asks\n // for alignment (`iconSlot`) even if this row's glyph is empty.\n const showResultIcon = isResult && (icon != null || iconSlot);\n\n const row = (\n <CommandPrimitive.Item\n data-level={level}\n data-size={size}\n value={value}\n className={cn(\n \"text-pho-secondary flex cursor-pointer items-center rounded-[calc(var(--radius-base)-4px)] outline-none select-none\",\n resolveVariant(ITEM_SIZES, size),\n // subsubitem steps in; item/subitem share the base gutter.\n level === \"subsubitem\" ? \"pl-6\" : \"pl-2\",\n // Secondary at rest; selection lifts to primary ink (Menu idiom).\n // The wash lands with it instantly — stepping through rows is a\n // snap, not a flight.\n \"data-[selected=true]:text-pho-primary data-[selected=true]:bg-pho-ghost-hover\",\n \"data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50\",\n className,\n )}\n {...props}\n >\n {structured && isResult ? (\n <>\n {showResultIcon ? (\n <ItemIcon size={size} aria-hidden={icon == null ? true : undefined}>\n {icon ?? null}\n </ItemIcon>\n ) : null}\n {/* Same title size as idle ItemTitle so row height matches. */}\n <span\n className={cn(\n \"flex min-w-0 flex-1 items-center gap-1 overflow-hidden\",\n resolveVariant(ITEM_TITLE_SIZES, size),\n )}\n >\n <span className=\"text-pho-primary truncate\">{title}</span>\n {(path ?? []).map((segment, index) => (\n <span\n key={index}\n className=\"text-pho-description flex shrink-0 items-center gap-0.5\"\n >\n <IconChevronLeft aria-hidden className=\"size-4 shrink-0\" />\n {segment}\n </span>\n ))}\n </span>\n {scope != null && scope !== \"\" ? (\n <span className=\"text-pho-description shrink-0 text-xs\">\n {scope}\n </span>\n ) : null}\n {external ? <ExternalGlyph /> : null}\n {children}\n </>\n ) : structured ? (\n <>\n {/* Icon column always reserved so subitem labels share the item title edge. */}\n <ItemIcon size={size} aria-hidden={icon == null ? true : undefined}>\n {icon ?? null}\n </ItemIcon>\n <span className=\"min-w-0 flex-1\">\n <ItemTitle level={level} size={size}>\n {title}\n </ItemTitle>\n </span>\n {external ? <ExternalGlyph /> : null}\n {children}\n </>\n ) : (\n children\n )}\n </CommandPrimitive.Item>\n );\n\n if (reduceMotion) return row;\n\n return (\n // FLIP wrapper: rows that stay mounted glide when neighbours enter or\n // leave, and a row remounting elsewhere with the same `value` (idle group\n // ↔ flat search result) inherits the old bounds via its layoutId and\n // slides to the new slot — the iOS list-diff feel. Rows without a match\n // simply appear / disappear so the whole list never swarms.\n //\n // The selected row is the exception: it skips the travel and appears at\n // its final slot immediately, so the selection wash is never sitting on\n // empty space waiting for its row to fly in.\n <motion.div\n layout=\"position\"\n layoutId={typeof value === \"string\" ? value : undefined}\n initial={false}\n transition={isSelected ? { duration: 0 } : ROW_MOVE_SPRING}\n >\n {row}\n </motion.div>\n );\n}\n\nfunction Separator({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Separator>) {\n return (\n <CommandPrimitive.Separator\n className={cn(\n \"-mx-1 my-1 h-px bg-[var(--border-color-pho-secondary)]\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Loading({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Loading>) {\n return (\n <CommandPrimitive.Loading\n className={cn(\"text-pho-description px-2.5 py-1.5 text-base\", className)}\n {...props}\n />\n );\n}\n\ntype DialogRootProps = ComponentProps<typeof PhoDialog.Root>;\n\ninterface CommandDialogProps extends ComponentProps<typeof CommandPrimitive> {\n /** Controlled dialog state — pass straight through to `Dialog.Root`. */\n open?: DialogRootProps[\"open\"];\n onOpenChange?: DialogRootProps[\"onOpenChange\"];\n /** Accessible name for the palette (dialog and command menu). */\n label?: string;\n /** Extra classes for the dialog panel (not the command root). */\n className?: string;\n}\n\n/**\n * A command palette in a modal — Pho's `Dialog` overlay (Base UI) around a\n * `Command.Root`, raised above center. We deliberately skip cmdk's own\n * `Command.Dialog` (Radix) so overlays stay on one primitive stack.\n *\n * List height springs via `AnimatedHeight` (same feel as the Card shell on\n * onboarding / invite) — the input row stays put while results resize.\n */\nfunction Dialog({\n open,\n onOpenChange,\n label,\n className,\n children,\n ...props\n}: CommandDialogProps) {\n return (\n <PhoDialog.Root open={open} onOpenChange={onOpenChange}>\n <PhoDialog.Portal>\n <PhoDialog.Backdrop />\n <PhoDialog.Popup\n aria-label={label}\n // Palette sits above center so the list grows downward from a\n // stable top edge instead of jumping around it.\n className={cn(\n \"top-[max(4rem,18vh)] max-w-xl translate-y-0 overflow-hidden p-0\",\n className,\n )}\n >\n {/* The popup is position: fixed; layout animations inside a fixed\n element need a layoutRoot to project against, or their\n measurements drift with the page scroll. */}\n <motion.div layoutRoot>\n <Root label={label} {...props}>\n {children}\n </Root>\n </motion.div>\n </PhoDialog.Popup>\n </PhoDialog.Portal>\n </PhoDialog.Root>\n );\n}\n\n/**\n * Command menu built on `cmdk` — a filterable list of actions driven from a\n * single input, keyboard-first. Compose inline (`Command.Root`) or as a\n * ⌘K-style modal palette (`Command.Dialog`, which owns the overlay).\n * Filtering is yours by default — filter in render so the rows' diff can\n * glide; pass `shouldFilter` to hand matching and ranking to cmdk (its\n * imperative reorder skips the animation).\n *\n * Rows share one layout via `Command.Item` `level` — idle\n * `item` → `subitem` → `subsubitem`, or flat `result` while searching.\n */\nexport const Command = {\n Root,\n InputGroup,\n Input,\n List,\n Empty,\n Group,\n Item,\n ItemIcon,\n ItemTitle,\n Separator,\n Loading,\n Dialog,\n};\n\n/** Re-export of cmdk's state selector hook (search, value, filtered counts). */\nexport { useCommandState };\n"],"mappings":";;;;;;;;;;;;AAuBA,IAAM,IAAkB;AAExB,SAAS,EAAK,EAMZ,cAAA,IAAe,IACf,WAAA,GACA,UAAA,GACA,GAAG,EAAA,GACuC;AAG1C,QAAM,IAAkB,EAAM;AAC9B,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,WAAW,EACT,qFACA,CACF;AAAA,IACc,cAAA;AAAA,IACd,GAAI;AAAA,IAEJ,UAAA,gBAAA,EAAC,GAAD;AAAA,MAAa,IAAI;AAAA,MAAkB,UAAA;AAAA,IAAsB,CAAA;AAAA,EACzC,CAAA;AAEtB;AAOA,SAAS,EAAW,EAAE,WAAA,GAAW,GAAG,EAAA,GAAgC;AAClE,SACE,gBAAA,EAAC,OAAD;AAAA,IACE,WAAW,EACT,4DACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAGA,IAAM,IACJ,OAAO,SAAW,MAAc,IAAY;AAE9C,SAAS,EAAa,GAAyB,GAAiB;AAC9D,EAAI,OAAO,KAAQ,aAAY,EAAI,CAAK,IAC/B,MAAK,EAAI,UAAU;AAC9B;AAEA,SAAS,EAAM,EACb,WAAA,GACA,OAAA,GACA,KAAK,GACL,GAAG,EAAA,GAC6C;AAChD,QAAM,IAAW,EAAyB,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cAAY;AAAA,MAGZ,WAAW,EACT,mEACA,CACF;AAAA,MAKA,UAAA,gBAAA,EAAC,EAAO,KAAR;AAAA,QAAY,YAAA;AAAA,QACV,UAAA,gBAAA,EAAC,GAAD;AAAA,UAAa,OAAA;AAAA,UAAO,GAAI;AAAA,UACrB,UAAA;AAAA,QACG,CAAA;AAAA,MACI,CAAA;AAAA,IACG,CAAA,CACD,EAAA,CAAA;AAAA,EACJ,CAAA;AAEpB;AAaA,IAAa,KAAU;AAAA,EACrB,MAAA;AAAA,EACA,YAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,UAAA;AAAA,EACA,WAAA;AAAA,EACA,WAAA;AAAA,EACA,SAAA;AAAA,EACA,QAAA;AACF"}
1
+ {"version":3,"file":"command.js","names":["CommandPrimitive","_Fragment","PhoDialog","cn","resolveVariant","SPRING_SETTLE","IconArrowUpRight","IconChevronLeft","AnimatedHeight","Dialog$1","useEffect","useId","useLayoutEffect","useRef","Fragment$1","jsx","jsxs","LayoutGroup","motion","useReducedMotion","Command$1","useCommandState","ROW_MOVE_SPRING","Root","shouldFilter","className","children","props","layoutNamespace","InputGroup","useIsomorphicLayoutEffect","assignRef","ref","value","Input","consumerRef","inputRef","search","state","input","node","List","Empty","Group","ITEM_SIZES","ITEM_TITLE_SIZES","ITEM_ICON_SIZES","ItemIcon","size","ItemTitle","level","ExternalGlyph","Item","icon","iconSlot","title","path","scope","external","reduceMotion","trimmedValue","selectedValue","isSelected","structured","isResult","showResultIcon","row","segment","index","Separator","Loading","Dialog","open","onOpenChange","label","Command"],"sources":["../../src/components/command/command.tsx"],"sourcesContent":["import {\n useEffect,\n useId,\n useLayoutEffect,\n useRef,\n type ComponentProps,\n type ReactNode,\n type Ref,\n} from \"react\";\nimport { IconArrowUpRight, IconChevronLeft } from \"@tabler/icons-react\";\nimport { SPRING_SETTLE } from \"../../motion\";\nimport { Command as CommandPrimitive, useCommandState } from \"cmdk\";\nimport { LayoutGroup, motion, useReducedMotion } from \"motion/react\";\nimport { AnimatedHeight } from \"../../utils/animated-height\";\nimport { cn } from \"../../utils/cn\";\nimport { resolveVariant, type VariantMap } from \"../../utils/resolve-variant\";\nimport { Dialog as PhoDialog } from \"../dialog\";\n\n/**\n * Spring for row moves (FLIP / shared-layout) — same feel as\n * `AnimatedHeight`: quick and critically damped, so rows glide to their new\n * slot without overshooting into neighbours.\n */\nconst ROW_MOVE_SPRING = SPRING_SETTLE;\n\nfunction Root({\n // Filtering is yours by default: filter in render (state above the\n // palette) so the rows' FLIP diff can glide survivors to their slots.\n // cmdk's built-in matcher reorders DOM imperatively — invisible to the\n // layout pass — so it is opt-in: pass `shouldFilter` to hand matching\n // and ranking back to cmdk at the cost of the animation.\n shouldFilter = false,\n className,\n children,\n ...props\n}: ComponentProps<typeof CommandPrimitive>) {\n // Namespace row layoutIds per palette instance — the docs page mounts the\n // inline demo and the dialog demo at once, with identical item values.\n const layoutNamespace = useId();\n return (\n <CommandPrimitive\n className={cn(\n \"bg-pho-primary text-pho-primary flex w-full flex-col overflow-hidden outline-none\",\n className,\n )}\n shouldFilter={shouldFilter}\n {...props}\n >\n <LayoutGroup id={layoutNamespace}>{children}</LayoutGroup>\n </CommandPrimitive>\n );\n}\n\n/**\n * The input row — a bottom hairline separates it from the list. Position\n * leading icons absolutely and pad the input (`pl-9`), mirroring\n * `Autocomplete.InputGroup`.\n */\nfunction InputGroup({ className, ...props }: ComponentProps<\"div\">) {\n return (\n <div\n className={cn(\n \"border-pho-secondary relative flex items-center border-b\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/** SSR-safe layout effect (same pattern cmdk uses internally). */\nconst useIsomorphicLayoutEffect =\n typeof window === \"undefined\" ? useEffect : useLayoutEffect;\n\nfunction assignRef<T>(ref: Ref<T> | undefined, value: T | null) {\n if (typeof ref === \"function\") ref(value);\n else if (ref) ref.current = value;\n}\n\nfunction Input({\n className,\n value,\n ref: consumerRef,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Input>) {\n const inputRef = useRef<HTMLInputElement>(null);\n const search = useCommandState((state) => state.search);\n\n // cmdk stays uncontrolled here on purpose. Its controlled path syncs the\n // `value` prop into the search store through a passive effect — one painted\n // frame late — so on that stale frame the old row is still \"selected\" while\n // the list has already reflowed, and the selection pill visibly rides it\n // before snapping to the re-selected first row. Uncontrolled keystrokes\n // update search + first-row selection synchronously (pre-paint), killing\n // that frame in both directions (typing and clearing).\n //\n // The consumer-facing API is still controlled: external `value` changes\n // (programmatic reset, initial query) are replayed through the native input\n // path below so store, display, and selection take the same sync route.\n useIsomorphicLayoutEffect(() => {\n const input = inputRef.current;\n if (value == null || input == null || value === search) return;\n const setNativeValue = Object.getOwnPropertyDescriptor(\n HTMLInputElement.prototype,\n \"value\",\n )?.set;\n setNativeValue?.call(input, value);\n input.dispatchEvent(new Event(\"input\", { bubbles: true }));\n }, [value, search]);\n\n return (\n <CommandPrimitive.Input\n className={cn(\n // Borderless inside the palette surface — the InputGroup hairline\n // carries the edge. display-xs (18px) keeps iOS from zooming in.\n \"text-pho-primary placeholder:text-pho-placeholder text-display-xs w-full bg-transparent px-3 py-3 outline-none disabled:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n ref={(node) => {\n inputRef.current = node;\n assignRef(consumerRef, node);\n }}\n />\n );\n}\n\nfunction List({\n className,\n children,\n ...props\n}: ComponentProps<typeof CommandPrimitive.List>) {\n return (\n // Same spring as the onboarding / invite Card shell — list height glides\n // when idle ↔ search (or filter) changes instead of jumping.\n <AnimatedHeight>\n {/* The scroller is a motion element with layoutScroll so the rows'\n FLIP projections account for its scroll offset — without it,\n scrolling reads as a layout change and every row glides to\n compensate. scroll-py keeps a breath above and below the row\n being scrolled into view. */}\n <motion.div\n layoutScroll\n className=\"max-h-[min(24rem,60vh)] scroll-py-1 overflow-y-auto overscroll-contain\"\n >\n <CommandPrimitive.List\n className={cn(\"relative isolate p-1\", className)}\n {...props}\n >\n {children}\n </CommandPrimitive.List>\n </motion.div>\n </AnimatedHeight>\n );\n}\n\nfunction Empty({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Empty>) {\n return (\n <CommandPrimitive.Empty\n className={cn(\n \"text-pho-description px-2.5 py-6 text-center text-base\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Group({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Group>) {\n return (\n <CommandPrimitive.Group\n className={cn(\n // cmdk renders the `heading` prop in a [cmdk-group-heading] wrapper —\n // typography mirrors `Autocomplete.GroupLabel`.\n \"[&_[cmdk-group-heading]]:text-pho-secondary [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Row layout mode:\n * - `item` / `subitem` / `subsubitem` — idle hierarchy (icon column + indent)\n * - `result` — flat search hit (breadcrumb + trailing scope)\n */\nexport type CommandItemLevel = \"item\" | \"subitem\" | \"subsubitem\" | \"result\";\nexport type CommandItemSize = \"sm\" | \"md\";\n\nconst ITEM_SIZES = {\n sm: {\n classes: \"gap-1.5 py-1 pr-2 text-sm\",\n description: \"Compact rows for filter lists and dense pickers\",\n },\n md: {\n classes: \"gap-2 py-2 pr-2.5 text-base\",\n description: \"Default palette row\",\n },\n} as const satisfies VariantMap;\n\nconst ITEM_TITLE_SIZES = {\n sm: { classes: \"text-sm\", description: \"Compact row title\" },\n md: { classes: \"text-md\", description: \"Default row title\" },\n} as const satisfies VariantMap;\n\nconst ITEM_ICON_SIZES = {\n sm: {\n classes: \"size-3.5 [&>svg]:size-3.5\",\n description: \"Compact leading glyph\",\n },\n md: {\n classes: \"size-4 [&>svg]:size-4\",\n description: \"Default leading glyph\",\n },\n} as const satisfies VariantMap;\n\ntype ItemPrimitiveProps = ComponentProps<typeof CommandPrimitive.Item>;\n\nexport interface CommandItemProps extends Omit<\n ItemPrimitiveProps,\n \"children\" | \"title\"\n> {\n /**\n * Row depth / mode in the palette:\n * - `item` — page / top destination (icon + title)\n * - `subitem` — section under an item (label aligns with the item title)\n * - `subsubitem` — row under a section (one step deeper)\n * - `result` — flat search hit (`title` + `path` crumbs + `scope`)\n */\n level?: CommandItemLevel;\n /**\n * Leading glyph. On idle `item` rows (and reserved for sub-levels). On\n * `result` rows, pass the resolved icon (self → parent → grandparent).\n */\n icon?: ReactNode;\n /**\n * When `level=\"result\"`, force the icon column so labels align across the\n * list even if this row's `icon` is empty. Set true when any sibling result\n * has an icon; omit when the whole result set is icon-less.\n */\n iconSlot?: boolean;\n /**\n * Row density. `sm` tightens padding and type for chip popovers\n * (Filter Bar options). Palette destinations stay `md`.\n * @default \"md\"\n */\n size?: CommandItemSize;\n /** Primary label. Prefer this over free-form children for the shared layout. */\n title?: ReactNode;\n /**\n * Ancestors after `title` for `level=\"result\"` — parent → page\n * (e.g. `[\"Agent profile\", \"Settings\"]` → `Name < Agent profile < Settings`).\n */\n path?: ReactNode[];\n /**\n * Trailing scope for `level=\"result\"` — `Project` vs `Personal`, not a nav group.\n */\n scope?: ReactNode;\n /** Shows a trailing external-link glyph (opens outside the app). */\n external?: boolean;\n /**\n * Free-form content. When `title` is set, rendered after the label stack.\n * When `title` is omitted, becomes the row body (legacy / simple items).\n */\n children?: ReactNode;\n}\n\n/** Leading icon column — `size-4` at `md`, tighter at `sm`. */\nfunction ItemIcon({\n className,\n size = \"md\",\n ...props\n}: ComponentProps<\"span\"> & { size?: CommandItemSize }) {\n return (\n <span\n className={cn(\n \"text-pho-secondary flex shrink-0 items-center justify-center\",\n resolveVariant(ITEM_ICON_SIZES, size),\n className,\n )}\n {...props}\n />\n );\n}\n\n/** Primary label — medium + primary ink on `item` rows. */\nfunction ItemTitle({\n className,\n level = \"item\",\n size = \"md\",\n ...props\n}: ComponentProps<\"span\"> & {\n level?: CommandItemLevel;\n size?: CommandItemSize;\n}) {\n return (\n <span\n className={cn(\n \"block truncate\",\n resolveVariant(ITEM_TITLE_SIZES, size),\n level === \"item\" && \"text-pho-primary\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * One selectable row. Idle palettes use `level` + `icon` / `title`\n * (item → subitem → subsubitem). Searching uses `level=\"result\"` with `path`\n * crumbs and a trailing `scope` (Project / Personal). No description line —\n * match via `keywords` / aliases instead.\n */\nfunction ExternalGlyph() {\n return (\n <IconArrowUpRight\n aria-hidden\n className=\"text-pho-description size-4 shrink-0\"\n />\n );\n}\n\nfunction Item({\n className,\n level = \"item\",\n size = \"md\",\n icon,\n iconSlot,\n title,\n path,\n scope,\n external,\n children,\n value,\n ...props\n}: CommandItemProps) {\n const reduceMotion = useReducedMotion();\n // cmdk registers `value.trim()` and exposes the selected one as\n // `state.value` — mirrors cmdk's own `data-selected` computation.\n const trimmedValue = typeof value === \"string\" ? value.trim() : \"\";\n const selectedValue = useCommandState((state) => state.value);\n const isSelected = trimmedValue !== \"\" && selectedValue === trimmedValue;\n const structured = title != null;\n const isResult = level === \"result\";\n // Reserve the icon column when the row has an icon, or when the list asks\n // for alignment (`iconSlot`) even if this row's glyph is empty.\n const showResultIcon = isResult && (icon != null || iconSlot);\n\n const row = (\n <CommandPrimitive.Item\n data-level={level}\n data-size={size}\n value={value}\n className={cn(\n \"text-pho-secondary flex cursor-pointer items-center rounded-[calc(var(--radius-base)-4px)] outline-none select-none\",\n resolveVariant(ITEM_SIZES, size),\n // subsubitem steps in; item/subitem share the base gutter.\n level === \"subsubitem\" ? \"pl-6\" : \"pl-2\",\n // Secondary at rest; selection lifts to primary ink (Menu idiom).\n // The wash lands with it instantly — stepping through rows is a\n // snap, not a flight.\n \"data-[selected=true]:text-pho-primary data-[selected=true]:bg-pho-ghost-hover\",\n \"data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50\",\n className,\n )}\n {...props}\n >\n {structured && isResult ? (\n <>\n {showResultIcon ? (\n <ItemIcon size={size} aria-hidden={icon == null ? true : undefined}>\n {icon ?? null}\n </ItemIcon>\n ) : null}\n {/* Same title size as idle ItemTitle so row height matches. */}\n <span\n className={cn(\n \"flex min-w-0 flex-1 items-center gap-1 overflow-hidden\",\n resolveVariant(ITEM_TITLE_SIZES, size),\n )}\n >\n <span className=\"text-pho-primary truncate\">{title}</span>\n {(path ?? []).map((segment, index) => (\n <span\n key={index}\n className=\"text-pho-description flex shrink-0 items-center gap-0.5\"\n >\n <IconChevronLeft aria-hidden className=\"size-4 shrink-0\" />\n {segment}\n </span>\n ))}\n </span>\n {scope != null && scope !== \"\" ? (\n <span className=\"text-pho-description shrink-0 text-xs\">\n {scope}\n </span>\n ) : null}\n {external ? <ExternalGlyph /> : null}\n {children}\n </>\n ) : structured ? (\n <>\n {/* Icon column always reserved so subitem labels share the item title edge. */}\n <ItemIcon size={size} aria-hidden={icon == null ? true : undefined}>\n {icon ?? null}\n </ItemIcon>\n <span className=\"min-w-0 flex-1\">\n <ItemTitle level={level} size={size}>\n {title}\n </ItemTitle>\n </span>\n {external ? <ExternalGlyph /> : null}\n {children}\n </>\n ) : (\n children\n )}\n </CommandPrimitive.Item>\n );\n\n if (reduceMotion) return row;\n\n return (\n // FLIP wrapper: rows that stay mounted glide when neighbours enter or\n // leave, and a row remounting elsewhere with the same `value` (idle group\n // ↔ flat search result) inherits the old bounds via its layoutId and\n // slides to the new slot — the iOS list-diff feel. Rows without a match\n // simply appear / disappear so the whole list never swarms.\n //\n // The selected row is the exception: it skips the travel and appears at\n // its final slot immediately, so the selection wash is never sitting on\n // empty space waiting for its row to fly in.\n <motion.div\n layout=\"position\"\n layoutId={typeof value === \"string\" ? value : undefined}\n initial={false}\n transition={isSelected ? { duration: 0 } : ROW_MOVE_SPRING}\n >\n {row}\n </motion.div>\n );\n}\n\nfunction Separator({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Separator>) {\n return (\n <CommandPrimitive.Separator\n className={cn(\n \"-mx-1 my-1 h-px bg-[var(--border-color-pho-secondary)]\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Loading({\n className,\n ...props\n}: ComponentProps<typeof CommandPrimitive.Loading>) {\n return (\n <CommandPrimitive.Loading\n className={cn(\"text-pho-description px-2.5 py-1.5 text-base\", className)}\n {...props}\n />\n );\n}\n\ntype DialogRootProps = ComponentProps<typeof PhoDialog.Root>;\n\ninterface CommandDialogProps extends ComponentProps<typeof CommandPrimitive> {\n /** Controlled dialog state — pass straight through to `Dialog.Root`. */\n open?: DialogRootProps[\"open\"];\n onOpenChange?: DialogRootProps[\"onOpenChange\"];\n /** Accessible name for the palette (dialog and command menu). */\n label?: string;\n /** Extra classes for the dialog panel (not the command root). */\n className?: string;\n}\n\n/**\n * A command palette in a modal — Pho's `Dialog` overlay (Base UI) around a\n * `Command.Root`, raised above center. We deliberately skip cmdk's own\n * `Command.Dialog` (Radix) so overlays stay on one primitive stack.\n *\n * List height springs via `AnimatedHeight` (same feel as the Card shell on\n * onboarding / invite) — the input row stays put while results resize.\n */\nfunction Dialog({\n open,\n onOpenChange,\n label,\n className,\n children,\n ...props\n}: CommandDialogProps) {\n return (\n <PhoDialog.Root open={open} onOpenChange={onOpenChange}>\n <PhoDialog.Portal>\n <PhoDialog.Backdrop />\n <PhoDialog.Popup\n aria-label={label}\n // Palette sits above center so the list grows downward from a\n // stable top edge instead of jumping around it.\n className={cn(\n \"top-[max(4rem,18vh)] max-w-xl translate-y-0 overflow-hidden p-0\",\n className,\n )}\n >\n {/* The popup is position: fixed; layout animations inside a fixed\n element need a layoutRoot to project against, or their\n measurements drift with the page scroll. */}\n <motion.div layoutRoot>\n <Root label={label} {...props}>\n {children}\n </Root>\n </motion.div>\n </PhoDialog.Popup>\n </PhoDialog.Portal>\n </PhoDialog.Root>\n );\n}\n\n/**\n * Command menu built on `cmdk` — a filterable list of actions driven from a\n * single input, keyboard-first. Compose inline (`Command.Root`) or as a\n * ⌘K-style modal palette (`Command.Dialog`, which owns the overlay).\n * Filtering is yours by default — filter in render so the rows' diff can\n * glide; pass `shouldFilter` to hand matching and ranking to cmdk (its\n * imperative reorder skips the animation).\n *\n * Rows share one layout via `Command.Item` `level` — idle\n * `item` → `subitem` → `subsubitem`, or flat `result` while searching.\n */\nexport const Command = {\n Root,\n InputGroup,\n Input,\n List,\n Empty,\n Group,\n Item,\n ItemIcon,\n ItemTitle,\n Separator,\n Loading,\n Dialog,\n};\n\n/** Re-export of cmdk's state selector hook (search, value, filtered counts). */\nexport { useCommandState };\n"],"mappings":";;;;;;;;;;;;AAuBA,IAAMsB,IAAkBjB;AAExB,SAASkB,EAAK,EAMZ,cAAAC,IAAe,IACf,WAAAC,GACA,UAAAC,GACA,GAAGC,EAAA,GACuC;AAG1C,QAAMC,IAAkBjB,EAAM;AAC9B,SACE,gBAAAI,EAACf,GAAD;AAAA,IACE,WAAWG,EACT,qFACAsB,CACF;AAAA,IACc,cAAAD;AAAA,IACd,GAAIG;AAAA,IAEJ,UAAA,gBAAAZ,EAACE,GAAD;AAAA,MAAa,IAAIW;AAAA,MAAkB,UAAAF;AAAA,IAAsB,CAAA;AAAA,EACzC,CAAA;AAEtB;AAOA,SAASG,EAAW,EAAE,WAAAJ,GAAW,GAAGE,EAAA,GAAgC;AAClE,SACE,gBAAAZ,EAAC,OAAD;AAAA,IACE,WAAWZ,EACT,4DACAsB,CACF;AAAA,IACA,GAAIE;AAAA,EACL,CAAA;AAEL;AAGA,IAAMG,IACJ,OAAO,SAAW,MAAcpB,IAAYE;AAE9C,SAASmB,EAAaC,GAAyBC,GAAiB;AAC9D,EAAI,OAAOD,KAAQ,aAAYA,EAAIC,CAAK,IAC/BD,MAAKA,EAAI,UAAUC;AAC9B;AAEA,SAASC,EAAM,EACb,WAAAT,GACA,OAAAQ,GACA,KAAKE,GACL,GAAGR,EAAA,GAC6C;AAChD,QAAMS,IAAWvB,EAAyB,IAAI,GACxCwB,IAAShB,EAAA,CAAiBiB,MAAUA,EAAM,MAAM;AAatD,SAAAR,EAAA,MAAgC;AAC9B,UAAMS,IAAQH,EAAS;AACvB,IAAIH,KAAS,QAA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,EAACb,EAAU,MAAX;AAAA,IAAsB,MAAAsE;AAAA,IAAoB,cAAAC;AAAA,IACxC,UAAA,gBAAAzD,EAACd,EAAU,QAAX,EAAA,UAAA,CACE,gBAAAa,EAACb,EAAU,UAAX,CAAqB,CAAA,GACrB,gBAAAa,EAACb,EAAU,OAAX;AAAA,MACE,cAAYwE;AAAA,MAGZ,WAAWvE,EACT,mEACAsB,CACF;AAAA,MAKA,UAAA,gBAAAV,EAACG,EAAO,KAAR;AAAA,QAAY,YAAA;AAAA,QACV,UAAA,gBAAAH,EAACQ,GAAD;AAAA,UAAa,OAAAmD;AAAA,UAAO,GAAI/C;AAAA,UACrB,UAAAD;AAAA,QACG,CAAA;AAAA,MACI,CAAA;AAAA,IACG,CAAA,CACD,EAAA,CAAA;AAAA,EACJ,CAAA;AAEpB;AAaA,IAAaiD,KAAU;AAAA,EACrB,MAAApD;AAAA,EACA,YAAAM;AAAA,EACA,OAAAK;AAAA,EACA,MAAAO;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAAS;AAAA,EACA,UAAAL;AAAA,EACA,WAAAE;AAAA,EACA,WAAAoB;AAAA,EACA,SAAAC;AAAA,EACA,QAAAC;AACF"}
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as a } from "../chunks/cn-ChIgwEl3.js";
2
+ import { t as a } from "../chunks/cn-CPbhpG1q.js";
3
3
  import { t as v } from "../chunks/resolve-variant-CcD8iG5l.js";
4
- import { l as x, n as M, o as P, r as h, s as N, t as i } from "../chunks/menu-CoMrYnd1.js";
4
+ import { l as x, n as M, o as P, r as h, s as N, t as i } from "../chunks/menu-CC3fhf83.js";
5
5
  import "react";
6
6
  import { Fragment as S, jsx as t, jsxs as u } from "react/jsx-runtime";
7
7
  import { Separator as R } from "@base-ui/react/separator";
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.js","names":[],"sources":["../../src/components/context-menu/context-menu.tsx"],"sourcesContent":["import {\n type ComponentProps,\n type ElementType,\n type MouseEvent as ReactMouseEvent,\n} from \"react\";\nimport { ContextMenu as BaseContextMenu } from \"@base-ui/react/context-menu\";\nimport { Separator as BaseSeparator } from \"@base-ui/react/separator\";\nimport { cn } from \"../../utils/cn\";\nimport { resolveVariant } from \"../../utils/resolve-variant\";\nimport {\n MENU_POPUP,\n MENU_ITEM,\n MENU_ITEM_COLORS,\n type MenuItemColor,\n} from \"../menu/menu\";\nimport {\n MenuItemSpinner,\n useAsyncMenuItem,\n withMenuPendingRoot,\n type AsyncMenuItemClick,\n} from \"../menu/menu-pending\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\" | \"color\"\n> & {\n className?: string;\n};\n\ntype ContextMenuItemProps = Omit<\n StyledProps<typeof BaseContextMenu.Item>,\n \"onClick\"\n> & {\n /** Semantic ink. @default \"default\" */\n color?: MenuItemColor;\n /**\n * Action handler. Return a promise to keep the menu open while it runs —\n * same behavior as `Menu.Item`.\n */\n onClick?: AsyncMenuItemClick;\n /** Declarative loading state. @default false */\n loading?: boolean;\n};\n\nconst Root = withMenuPendingRoot(BaseContextMenu.Root);\nconst Trigger = BaseContextMenu.Trigger;\nconst Portal = BaseContextMenu.Portal;\nconst Group = BaseContextMenu.Group;\nconst RadioGroup = BaseContextMenu.RadioGroup;\n// Don't wrap SubmenuRoot — nested pending context would shadow the parent\n// Root and fail to lock dismissal for async items inside a submenu.\nconst SubmenuRoot = BaseContextMenu.SubmenuRoot;\n\nfunction Positioner({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.Positioner>) {\n return (\n <BaseContextMenu.Positioner className={cn(\"z-50\", className)} {...props} />\n );\n}\n\nfunction Popup({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.Popup>) {\n return (\n <BaseContextMenu.Popup className={cn(MENU_POPUP, className)} {...props} />\n );\n}\n\nfunction Item({\n className,\n color = \"default\",\n onClick,\n closeOnClick = true,\n loading = false,\n disabled = false,\n children,\n ...props\n}: ContextMenuItemProps) {\n const { inert, blocked, handleClick, blinkProps } = useAsyncMenuItem({\n onClick,\n closeOnClick,\n loading,\n disabled,\n });\n\n return (\n <BaseContextMenu.Item\n className={cn(\n MENU_ITEM,\n resolveVariant(MENU_ITEM_COLORS, color),\n className,\n )}\n closeOnClick={closeOnClick}\n disabled={blocked}\n data-loading={inert || undefined}\n aria-busy={inert || undefined}\n {...blinkProps}\n onClick={handleClick as (event: ReactMouseEvent<HTMLElement>) => void}\n {...props}\n >\n {inert ? (\n <>\n <MenuItemSpinner />\n <output className=\"sr-only\" aria-live=\"polite\" />\n </>\n ) : null}\n {children}\n </BaseContextMenu.Item>\n );\n}\n\nfunction GroupLabel({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.GroupLabel>) {\n return (\n <BaseContextMenu.GroupLabel\n className={cn(\n \"text-pho-secondary px-2.5 py-1.5 text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Separator({ className, ...props }: StyledProps<typeof BaseSeparator>) {\n return (\n <BaseSeparator\n className={cn(\n \"-mx-1.5 my-1.5 h-px bg-[var(--border-color-pho-secondary)]\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SubmenuTrigger({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.SubmenuTrigger>) {\n return (\n <BaseContextMenu.SubmenuTrigger\n className={cn(\n MENU_ITEM,\n \"data-[popup-open]:bg-pho-ghost-hover\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Right-click (context) menu built on Base UI `ContextMenu`. `ContextMenu.Trigger`\n * wraps the area that opens the menu on right-click / long-press; the popup\n * shares its look with `Menu`. `ContextMenu.Item` has the same native promise\n * support as `Menu.Item`. Always mirror these actions somewhere visible —\n * a context menu must not be the only way to reach them.\n */\nexport const ContextMenu = {\n Root,\n Trigger,\n Portal,\n Positioner,\n Popup,\n Item,\n Group,\n GroupLabel,\n Separator,\n SubmenuRoot,\n SubmenuTrigger,\n RadioG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,CAChD,EAAA,CAAA,IACA,MACH,CACmB;AAAA;AAE1B;AAEA,SAAS,EAAW,EAClB,WAAA,GACA,GAAG,EAAA,GAC8C;AACjD,SACE,gBAAA,EAAC,EAAgB,YAAjB;AAAA,IACE,WAAW,EACT,wDACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAU,EAAE,WAAA,GAAW,GAAG,EAAA,GAA4C;AAC7E,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,WAAW,EACT,8DACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAe,EACtB,WAAA,GACA,GAAG,EAAA,GACkD;AACrD,SACE,gBAAA,EAAC,EAAgB,gBAAjB;AAAA,IACE,WAAW,EACT,GACA,wCACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AASA,IAAa,IAAc;AAAA,EACzB,MAAA;AAAA,EACA,SAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,YAAA;AAAA,EACA,WAAA;AAAA,EACA,aAAA;AAAA,EACA,gBAAA;AAAA,EACA,YAAA;AACF"}
1
+ {"version":3,"file":"context-menu.js","names":["BaseContextMenu","_Fragment","Separator","BaseSeparator","cn","resolveVariant","withMenuPendingRoot","MENU_ITEM_COLORS","MenuItemSpinner","MENU_POPUP","useAsyncMenuItem","MENU_ITEM","Fragment$1","jsx","jsxs","Separator","ContextMenu$1","Root","Trigger","Portal","Group","RadioGroup","SubmenuRoot","Positioner","className","props","Popup","Item","color","onClick","closeOnClick","loading","disabled","children","inert","blocked","handleClick","blinkProps","GroupLabel","Separator$1","SubmenuTrigger","ContextMenu"],"sources":["../../src/components/context-menu/context-menu.tsx"],"sourcesContent":["import {\n type ComponentProps,\n type ElementType,\n type MouseEvent as ReactMouseEvent,\n} from \"react\";\nimport { ContextMenu as BaseContextMenu } from \"@base-ui/react/context-menu\";\nimport { Separator as BaseSeparator } from \"@base-ui/react/separator\";\nimport { cn } from \"../../utils/cn\";\nimport { resolveVariant } from \"../../utils/resolve-variant\";\nimport {\n MENU_POPUP,\n MENU_ITEM,\n MENU_ITEM_COLORS,\n type MenuItemColor,\n} from \"../menu/menu\";\nimport {\n MenuItemSpinner,\n useAsyncMenuItem,\n withMenuPendingRoot,\n type AsyncMenuItemClick,\n} from \"../menu/menu-pending\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\" | \"color\"\n> & {\n className?: string;\n};\n\ntype ContextMenuItemProps = Omit<\n StyledProps<typeof BaseContextMenu.Item>,\n \"onClick\"\n> & {\n /** Semantic ink. @default \"default\" */\n color?: MenuItemColor;\n /**\n * Action handler. Return a promise to keep the menu open while it runs —\n * same behavior as `Menu.Item`.\n */\n onClick?: AsyncMenuItemClick;\n /** Declarative loading state. @default false */\n loading?: boolean;\n};\n\nconst Root = withMenuPendingRoot(BaseContextMenu.Root);\nconst Trigger = BaseContextMenu.Trigger;\nconst Portal = BaseContextMenu.Portal;\nconst Group = BaseContextMenu.Group;\nconst RadioGroup = BaseContextMenu.RadioGroup;\n// Don't wrap SubmenuRoot — nested pending context would shadow the parent\n// Root and fail to lock dismissal for async items inside a submenu.\nconst SubmenuRoot = BaseContextMenu.SubmenuRoot;\n\nfunction Positioner({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.Positioner>) {\n return (\n <BaseContextMenu.Positioner className={cn(\"z-50\", className)} {...props} />\n );\n}\n\nfunction Popup({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.Popup>) {\n return (\n <BaseContextMenu.Popup className={cn(MENU_POPUP, className)} {...props} />\n );\n}\n\nfunction Item({\n className,\n color = \"default\",\n onClick,\n closeOnClick = true,\n loading = false,\n disabled = false,\n children,\n ...props\n}: ContextMenuItemProps) {\n const { inert, blocked, handleClick, blinkProps } = useAsyncMenuItem({\n onClick,\n closeOnClick,\n loading,\n disabled,\n });\n\n return (\n <BaseContextMenu.Item\n className={cn(\n MENU_ITEM,\n resolveVariant(MENU_ITEM_COLORS, color),\n className,\n )}\n closeOnClick={closeOnClick}\n disabled={blocked}\n data-loading={inert || undefined}\n aria-busy={inert || undefined}\n {...blinkProps}\n onClick={handleClick as (event: ReactMouseEvent<HTMLElement>) => void}\n {...props}\n >\n {inert ? (\n <>\n <MenuItemSpinner />\n <output className=\"sr-only\" aria-live=\"polite\" />\n </>\n ) : null}\n {children}\n </BaseContextMenu.Item>\n );\n}\n\nfunction GroupLabel({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.GroupLabel>) {\n return (\n <BaseContextMenu.GroupLabel\n className={cn(\n \"text-pho-secondary px-2.5 py-1.5 text-xs font-medium\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Separator({ className, ...props }: StyledProps<typeof BaseSeparator>) {\n return (\n <BaseSeparator\n className={cn(\n \"-mx-1.5 my-1.5 h-px bg-[var(--border-color-pho-secondary)]\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction SubmenuTrigger({\n className,\n ...props\n}: StyledProps<typeof BaseContextMenu.SubmenuTrigger>) {\n return (\n <BaseContextMenu.SubmenuTrigger\n className={cn(\n MENU_ITEM,\n \"data-[popup-open]:bg-pho-ghost-hover\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Right-click (context) menu built on Base UI `ContextMenu`. `ContextMenu.Trigger`\n * wraps the area that opens the menu on right-click / long-press; the popup\n * shares its look with `Menu`. `ContextMenu.Item` has the same native promise\n * support as `Menu.Item`. Always mirror these actions somewhere visible —\n * a context menu must not be the only way to reach them.\n */\nexport const ContextMenu = {\n Root,\n Trigger,\n Portal,\n Positioner,\n Popup,\n Item,\n Group,\n GroupLabel,\n Separator,\n SubmenuRoot,\n SubmenuTrigger,\n RadioGroup,\n};\n"],"mappings":";;;;;;;;AA6CA,IAAMiB,IAAOX,EAAoBN,EAAgB,IA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AAU;AAAA,IAAU,CAAA,CAChD,EAAA,CAAA,IACA,MACHoB,CACmB;AAAA,E;AAE1B;AAEA,SAASK,EAAW,EAClB,WAAAd,GACA,GAAGC,EAAA,GAC8C;AACjD,SACE,gBAAAZ,EAACb,EAAgB,YAAjB;AAAA,IACE,WAAWI,EACT,wDACAoB,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASvB,EAAU,EAAE,WAAAsB,GAAW,GAAGC,EAAA,GAA4C;AAC7E,SACE,gBAAAZ,EAACV,GAAD;AAAA,IACE,WAAWC,EACT,8DACAoB,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASe,EAAe,EACtB,WAAAhB,GACA,GAAGC,EAAA,GACkD;AACrD,SACE,gBAAAZ,EAACb,EAAgB,gBAAjB;AAAA,IACE,WAAWI,EACTO,GACA,wCACAa,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AASA,IAAagB,IAAc;AAAA,EACzB,MAAAxB;AAAA,EACA,SAAAC;AAAA,EACA,QAAAC;AAAA,EACA,YAAAI;AAAA,EACA,OAAAG;AAAA,EACA,MAAAC;AAAA,EACA,OAAAP;AAAA,EACA,YAAAkB;AAAA,EACA,WAAAC;AAAA,EACA,aAAAjB;AAAA,EACA,gBAAAkB;AAAA,EACA,YAAAnB;AACF"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as o, t as e } from "../chunks/copy-button-BmGshaq9.js";
2
+ import { n as o, t as e } from "../chunks/copy-button-BLvirhXk.js";
3
3
  export {
4
4
  e as COPY_BUTTON_SIZES,
5
5
  o as CopyButton
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { a as e, i as t, n as r, r as o, t as s } from "../chunks/data-table-T4QKnrxQ.js";
2
+ import { a as e, i as t, n as r, r as o, t as s } from "../chunks/data-table-CAz_8HQw.js";
3
3
  import { r as c } from "../chunks/chrome-Ds7WykBJ.js";
4
- import { t as T } from "../chunks/ghost-search-8PzP73zS.js";
4
+ import { t as T } from "../chunks/ghost-search-CMUI2UH0.js";
5
5
  export {
6
6
  c as DATA_TABLE_SURFACE,
7
7
  s as DataTable,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as t, t as a } from "../chunks/date-picker-CZbcNIe-.js";
2
+ import { n as t, t as a } from "../chunks/date-picker-vJQrTol9.js";
3
3
  export {
4
4
  a as DatePicker,
5
5
  t as formatDateLabel
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as i } from "../chunks/description-list-BRRQ0oF6.js";
2
+ import { t as i } from "../chunks/description-list-Duhhralt.js";
3
3
  export {
4
4
  i as DescriptionList
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as i, t as o } from "../chunks/dialog-12foDiQb.js";
2
+ import { n as i, t as o } from "../chunks/dialog-CCfeyQBG.js";
3
3
  export {
4
4
  o as Dialog,
5
5
  i as useDialogPending
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "../chunks/cn-ChIgwEl3.js";
2
+ import { t as e } from "../chunks/cn-CPbhpG1q.js";
3
3
  import "react";
4
4
  import { jsx as o } from "react/jsx-runtime";
5
5
  import { Drawer as a } from "@base-ui/react/drawer";
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.js","names":[],"sources":["../../src/components/drawer/drawer.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Drawer as BaseDrawer } from \"@base-ui/react/drawer\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nconst Root = BaseDrawer.Root;\nconst Trigger = BaseDrawer.Trigger;\nconst Portal = BaseDrawer.Portal;\nconst Close = BaseDrawer.Close;\n\nfunction Backdrop({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Backdrop>) {\n return (\n <BaseDrawer.Backdrop\n className={cn(\n \"bg-pho-overlay fixed inset-0 z-50 transition-opacity duration-300 ease-out\",\n \"data-[ending-style]:opacity-0 data-[starting-style]:opacity-0 data-[swiping]:duration-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Viewport({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Viewport>) {\n return (\n <BaseDrawer.Viewport\n className={cn(\n \"fixed inset-0 z-50 flex items-stretch justify-end\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Popup({ className, ...props }: StyledProps<typeof BaseDrawer.Popup>) {\n return (\n <BaseDrawer.Popup\n className={cn(\n // Floating layer: keeps its elevation shadow; hairline edge is the\n // site card stroke (border-pho-secondary), not the interactive edge.\n \"border-pho-secondary bg-pho-primary shadow-pho-xl h-full w-[22rem] max-w-[calc(100vw-3rem)] overflow-y-auto overscroll-contain border-l p-6 outline-none\",\n \"[transform:translateX(var(--drawer-swipe-movement-x,0px))] transition-transform duration-300 ease-out\",\n \"data-[ending-style]:translate-x-full data-[starting-style]:translate-x-full data-[swiping]:duration-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Content({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Content>) {\n return (\n <BaseDrawer.Content\n className={cn(\"flex h-full flex-col\", className)}\n {...props}\n />\n );\n}\n\nfunction Title({ className, ...props }: StyledProps<typeof BaseDrawer.Title>) {\n return (\n <BaseDrawer.Title\n className={cn(\n \"text-pho-primary font-display text-display-sm font-medium text-balance\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Description({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Description>) {\n return (\n <BaseDrawer.Description\n className={cn(\n \"text-pho-description text-display-xs mt-1 font-normal\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Drawer built on Base UI `Drawer` — a panel that slides in from the edge\n * (here, the right) with swipe-to-dismiss. Use it for secondary tasks and\n * navigation that should keep page context; for a decision or a centered modal\n * use `Dialog`. Compose `Drawer.Portal`\n * → `Backdrop` → `Viewport` → `Popup` → `Content`.\n */\nexport const Drawer = {\n Root,\n Trigger,\n Portal,\n Backdrop,\n Viewport,\n Popup,\n Content,\n Title,\n Description,\n Close,\n};\n"],"mappings":";;;;;AAYA,IAAM,IAAO,EAAW,MAClB,IAAU,EAAW,SACrB,IAAS,EAAW,QACpB,IAAQ,EAAW;AAEzB,SAAS,EAAS,EAChB,WAAA,GACA,GAAG,EAAA,GACuC;AAC1C,SACE,gBAAA,EAAC,EAAW,UAAZ;AAAA,IACE,WAAW,EACT,8EACA,2FACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAS,EAChB,WAAA,GACA,GAAG,EAAA,GACuC;AAC1C,SACE,gBAAA,EAAC,EAAW,UAAZ;AAAA,IACE,WAAW,EACT,qDACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAM,EAAE,WAAA,GAAW,GAAG,EAAA,GAA+C;AAC5E,SACE,gBAAA,EAAC,EAAW,OAAZ;AAAA,IACE,WAAW,EAGT,4JACA,yGACA,yGACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAQ,EACf,WAAA,GACA,GAAG,EAAA,GACsC;AACzC,SACE,gBAAA,EAAC,EAAW,SAAZ;AAAA,IACE,WAAW,EAAG,wBAAwB,CAAS;AAAA,IAC/C,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAM,EAAE,WAAA,GAAW,GAAG,EAAA,GAA+C;AAC5E,SACE,gBAAA,EAAC,EAAW,OAAZ;AAAA,IACE,WAAW,EACT,0EACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAY,EACnB,WAAA,GACA,GAAG,EAAA,GAC0C;AAC7C,SACE,gBAAA,EAAC,EAAW,aAAZ;AAAA,IACE,WAAW,EACT,yDACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AASA,IAAa,IAAS;AAAA,EACpB,MAAA;AAAA,EACA,SAAA;AAAA,EACA,QAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA,OAAA;AAAA,EACA,SAAA;AAAA,EACA,OAAA;AAAA,EACA,aAAA;AAAA,EACA,OAAA;AACF"}
1
+ {"version":3,"file":"drawer.js","names":["BaseDrawer","cn","jsx","Drawer$1","Root","Trigger","Portal","Close","Backdrop","className","props","Viewport","Popup","Content","Title","Description","Drawer"],"sources":["../../src/components/drawer/drawer.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Drawer as BaseDrawer } from \"@base-ui/react/drawer\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nconst Root = BaseDrawer.Root;\nconst Trigger = BaseDrawer.Trigger;\nconst Portal = BaseDrawer.Portal;\nconst Close = BaseDrawer.Close;\n\nfunction Backdrop({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Backdrop>) {\n return (\n <BaseDrawer.Backdrop\n className={cn(\n \"bg-pho-overlay fixed inset-0 z-50 transition-opacity duration-300 ease-out\",\n \"data-[ending-style]:opacity-0 data-[starting-style]:opacity-0 data-[swiping]:duration-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Viewport({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Viewport>) {\n return (\n <BaseDrawer.Viewport\n className={cn(\n \"fixed inset-0 z-50 flex items-stretch justify-end\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Popup({ className, ...props }: StyledProps<typeof BaseDrawer.Popup>) {\n return (\n <BaseDrawer.Popup\n className={cn(\n // Floating layer: keeps its elevation shadow; hairline edge is the\n // site card stroke (border-pho-secondary), not the interactive edge.\n \"border-pho-secondary bg-pho-primary shadow-pho-xl h-full w-[22rem] max-w-[calc(100vw-3rem)] overflow-y-auto overscroll-contain border-l p-6 outline-none\",\n \"[transform:translateX(var(--drawer-swipe-movement-x,0px))] transition-transform duration-300 ease-out\",\n \"data-[ending-style]:translate-x-full data-[starting-style]:translate-x-full data-[swiping]:duration-0\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Content({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Content>) {\n return (\n <BaseDrawer.Content\n className={cn(\"flex h-full flex-col\", className)}\n {...props}\n />\n );\n}\n\nfunction Title({ className, ...props }: StyledProps<typeof BaseDrawer.Title>) {\n return (\n <BaseDrawer.Title\n className={cn(\n \"text-pho-primary font-display text-display-sm font-medium text-balance\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction Description({\n className,\n ...props\n}: StyledProps<typeof BaseDrawer.Description>) {\n return (\n <BaseDrawer.Description\n className={cn(\n \"text-pho-description text-display-xs mt-1 font-normal\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Drawer built on Base UI `Drawer` — a panel that slides in from the edge\n * (here, the right) with swipe-to-dismiss. Use it for secondary tasks and\n * navigation that should keep page context; for a decision or a centered modal\n * use `Dialog`. Compose `Drawer.Portal`\n * → `Backdrop` → `Viewport` → `Popup` → `Content`.\n */\nexport const Drawer = {\n Root,\n Trigger,\n Portal,\n Backdrop,\n Viewport,\n Popup,\n Content,\n Title,\n Description,\n Close,\n};\n"],"mappings":";;;;;AAYA,IAAMI,IAAOJ,EAAW,MAClBK,IAAUL,EAAW,SACrBM,IAASN,EAAW,QACpBO,IAAQP,EAAW;AAEzB,SAASQ,EAAS,EAChB,WAAAC,GACA,GAAGC,EAAA,GACuC;AAC1C,SACE,gBAAAR,EAACF,EAAW,UAAZ;AAAA,IACE,WAAWC,EACT,8EACA,2FACAQ,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASC,EAAS,EAChB,WAAAF,GACA,GAAGC,EAAA,GACuC;AAC1C,SACE,gBAAAR,EAACF,EAAW,UAAZ;AAAA,IACE,WAAWC,EACT,qDACAQ,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASE,EAAM,EAAE,WAAAH,GAAW,GAAGC,EAAA,GAA+C;AAC5E,SACE,gBAAAR,EAACF,EAAW,OAAZ;AAAA,IACE,WAAWC,EAGT,4JACA,yGACA,yGACAQ,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASG,EAAQ,EACf,WAAAJ,GACA,GAAGC,EAAA,GACsC;AACzC,SACE,gBAAAR,EAACF,EAAW,SAAZ;AAAA,IACE,WAAWC,EAAG,wBAAwBQ,CAAS;AAAA,IAC/C,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASI,EAAM,EAAE,WAAAL,GAAW,GAAGC,EAAA,GAA+C;AAC5E,SACE,gBAAAR,EAACF,EAAW,OAAZ;AAAA,IACE,WAAWC,EACT,0EACAQ,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASK,EAAY,EACnB,WAAAN,GACA,GAAGC,EAAA,GAC0C;AAC7C,SACE,gBAAAR,EAACF,EAAW,aAAZ;AAAA,IACE,WAAWC,EACT,yDACAQ,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AASA,IAAaM,IAAS;AAAA,EACpB,MAAAZ;AAAA,EACA,SAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAE;AAAA,EACA,UAAAG;AAAA,EACA,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,OAAAR;AACF"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a, c as s, i as t, l as e, n as o, o as i, r as E, s as p, t as l } from "../chunks/error-D5SzZ0ev.js";
2
+ import { a, c as s, i as t, l as e, n as o, o as i, r as E, s as p, t as l } from "../chunks/error-yAVi4cBu.js";
3
3
  export {
4
4
  l as Error,
5
5
  o as ErrorView,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t } from "../chunks/cn-ChIgwEl3.js";
2
+ import { t } from "../chunks/cn-CPbhpG1q.js";
3
3
  import "react";
4
4
  import { jsx as o, jsxs as l } from "react/jsx-runtime";
5
5
  import { Field as i } from "@base-ui/react/field";
@@ -1 +1 @@
1
- {"version":3,"file":"field.js","names":[],"sources":["../../src/components/field/field.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Field as BaseField } from \"@base-ui/react/field\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nfunction Root({ className, ...props }: StyledProps<typeof BaseField.Root>) {\n return (\n <BaseField.Root\n className={cn(\"group/field flex flex-col gap-1.5\", className)}\n {...props}\n />\n );\n}\n\n/**\n * The field's label. `required` marks it the way `Input required` marks\n * its own: a brand-coloured star after the words. A form marks every\n * required field or none, so a field built from parts (a `Select`, a\n * `PhoneInput`, a pair of inputs under one label) takes `required` here to\n * match the `Input`s beside it.\n */\nfunction Label({\n className,\n required,\n children,\n ...props\n}: StyledProps<typeof BaseField.Label> & {\n /** Mark the field required: a star after the label's words. */\n required?: boolean;\n}) {\n return (\n <BaseField.Label\n className={cn(\n \"text-pho-secondary cursor-default text-base font-medium\",\n required && \"flex items-center gap-0.5\",\n className,\n )}\n {...props}\n >\n {children}\n {/* The star is for the eye; the control carries the required state. */}\n {required ? (\n <span className=\"text-pho-brand\" aria-hidden=\"true\">\n *\n </span>\n ) : null}\n </BaseField.Label>\n );\n}\n\nfunction Control({\n className,\n ...props\n}: StyledProps<typeof BaseField.Control>) {\n return (\n <BaseField.Control\n className={cn(\n // Flat field surface — hairline ring carries the edge (site has no\n // resting shadows outside floating layers).\n \"bg-pho-primary ring-pho-primary text-pho-primary placeholder:text-pho-placeholder text-md rounded-base w-full px-3 py-2 ring-1 transition-shadow duration-100 ease-linear outline-none ring-inset\",\n \"focus-visible:ring-pho-brand focus-visible:ring-2\",\n // Invalid is mid-weight: thicker than the 1px rest hairline, thinner\n // than the 2px focus ring. Rest uses the subtle error ink; focus\n // steps up to the solid error.\n \"data-[invalid]:ring-pho-error-subtle data-[invalid]:focus-visible:ring-pho-error data-[invalid]:ring-[1.5px] data-[invalid]:focus-visible:ring-2\",\n \"disabled:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Several controls under one label: the lines of an address, first and\n * last name, the parts of a date. Stacks them at the gap the system uses\n * between the parts of one thing (12px), so the field's own 6px stays for\n * label and description. Put an `Inline` inside for a side-by-side row.\n */\nfunction Controls({ className, ...props }: ComponentProps<\"div\">) {\n return (\n <div className={cn(\"flex min-w-0 flex-col gap-3\", className)} {...props} />\n );\n}\n\nfunction Description({\n className,\n ...props\n}: StyledProps<typeof BaseField.Description>) {\n return (\n <BaseField.Description\n className={cn(\"text-pho-description text-base\", className)}\n {...props}\n />\n );\n}\n\nfunction Error({ className, ...props }: StyledProps<typeof BaseField.Error>) {\n return (\n <BaseField.Error\n className={cn(\"text-pho-error text-base\", className)}\n {...props}\n />\n );\n}\n\n/**\n * Form field built on Base UI `Field`. Wires a label, description, and\n * validation error to a control for you — compose it around `Field.Control`\n * (or any control via `render`). `Field.Error` shows when the control is\n * invalid; `Field.Validity` exposes raw validity for custom messages.\n * `Field.Controls` stacks several controls under one label.\n */\nexport const Field = {\n Root,\n Label,\n Control,\n Controls,\n Description,\n Error,\n Item: BaseField.Item,\n Validity: BaseField.Validity,\n};\n"],"mappings":";;;;;AAYA,SAAS,EAAK,EAAE,WAAA,GAAW,GAAG,EAAA,GAA6C;AACzE,SACE,gBAAA,EAAC,EAAU,MAAX;AAAA,IACE,WAAW,EAAG,qCAAqC,CAAS;AAAA,IAC5D,GAAI;AAAA,EACL,CAAA;AAEL;AASA,SAAS,EAAM,EACb,WAAA,GACA,UAAA,GACA,UAAA,GACA,GAAG,EAAA,GAIF;AACD,SACE,gBAAA,EAAC,EAAU,OAAX;AAAA,IACE,WAAW,EACT,2DACA,KAAY,6BACZ,CACF;AAAA,IACA,GAAI;AAAA,IANN,UAAA,CAQG,GAEA,IACC,gBAAA,EAAC,QAAD;AAAA,MAAM,WAAU;AAAA,MAAiB,eAAY;AAAA,MAAO,UAAA;AAAA,IAE9C,CAAA,IACJ,IACW;AAAA;AAErB;AAEA,SAAS,EAAQ,EACf,WAAA,GACA,GAAG,EAAA,GACqC;AACxC,SACE,gBAAA,EAAC,EAAU,SAAX;AAAA,IACE,WAAW,EAGT,qMACA,qDAIA,oJACA,mDACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAQA,SAAS,EAAS,EAAE,WAAA,GAAW,GAAG,EAAA,GAAgC;AAChE,SACE,gBAAA,EAAC,OAAD;AAAA,IAAK,WAAW,EAAG,+BAA+B,CAAS;AAAA,IAAG,GAAI;AAAA,EAAQ,CAAA;AAE9E;AAEA,SAAS,EAAY,EACnB,WAAA,GACA,GAAG,EAAA,GACyC;AAC5C,SACE,gBAAA,EAAC,EAAU,aAAX;AAAA,IACE,WAAW,EAAG,kCAAkC,CAAS;AAAA,IACzD,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAM,EAAE,WAAA,GAAW,GAAG,EAAA,GAA8C;AAC3E,SACE,gBAAA,EAAC,EAAU,OAAX;AAAA,IACE,WAAW,EAAG,4BAA4B,CAAS;AAAA,IACnD,GAAI;AAAA,EACL,CAAA;AAEL;AASA,IAAa,IAAQ;AAAA,EACnB,MAAA;AAAA,EACA,OAAA;AAAA,EACA,SAAA;AAAA,EACA,UAAA;AAAA,EACA,aAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAM,EAAU;AAAA,EAChB,UAAU,EAAU;AACtB"}
1
+ {"version":3,"file":"field.js","names":["BaseField","jsx","jsxs","Field$1","Root","className","props","cn","Label","required","children","Control","Controls","Description","Error","Field"],"sources":["../../src/components/field/field.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Field as BaseField } from \"@base-ui/react/field\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nfunction Root({ className, ...props }: StyledProps<typeof BaseField.Root>) {\n return (\n <BaseField.Root\n className={cn(\"group/field flex flex-col gap-1.5\", className)}\n {...props}\n />\n );\n}\n\n/**\n * The field's label. `required` marks it the way `Input required` marks\n * its own: a brand-coloured star after the words. A form marks every\n * required field or none, so a field built from parts (a `Select`, a\n * `PhoneInput`, a pair of inputs under one label) takes `required` here to\n * match the `Input`s beside it.\n */\nfunction Label({\n className,\n required,\n children,\n ...props\n}: StyledProps<typeof BaseField.Label> & {\n /** Mark the field required: a star after the label's words. */\n required?: boolean;\n}) {\n return (\n <BaseField.Label\n className={cn(\n \"text-pho-secondary cursor-default text-base font-medium\",\n required && \"flex items-center gap-0.5\",\n className,\n )}\n {...props}\n >\n {children}\n {/* The star is for the eye; the control carries the required state. */}\n {required ? (\n <span className=\"text-pho-brand\" aria-hidden=\"true\">\n *\n </span>\n ) : null}\n </BaseField.Label>\n );\n}\n\nfunction Control({\n className,\n ...props\n}: StyledProps<typeof BaseField.Control>) {\n return (\n <BaseField.Control\n className={cn(\n // Flat field surface — hairline ring carries the edge (site has no\n // resting shadows outside floating layers).\n \"bg-pho-primary ring-pho-primary text-pho-primary placeholder:text-pho-placeholder text-md rounded-base w-full px-3 py-2 ring-1 transition-shadow duration-100 ease-linear outline-none ring-inset\",\n \"focus-visible:ring-pho-brand focus-visible:ring-2\",\n // Invalid is mid-weight: thicker than the 1px rest hairline, thinner\n // than the 2px focus ring. Rest uses the subtle error ink; focus\n // steps up to the solid error.\n \"data-[invalid]:ring-pho-error-subtle data-[invalid]:focus-visible:ring-pho-error data-[invalid]:ring-[1.5px] data-[invalid]:focus-visible:ring-2\",\n \"disabled:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n}\n\n/**\n * Several controls under one label: the lines of an address, first and\n * last name, the parts of a date. Stacks them at the gap the system uses\n * between the parts of one thing (12px), so the field's own 6px stays for\n * label and description. Put an `Inline` inside for a side-by-side row.\n */\nfunction Controls({ className, ...props }: ComponentProps<\"div\">) {\n return (\n <div className={cn(\"flex min-w-0 flex-col gap-3\", className)} {...props} />\n );\n}\n\nfunction Description({\n className,\n ...props\n}: StyledProps<typeof BaseField.Description>) {\n return (\n <BaseField.Description\n className={cn(\"text-pho-description text-base\", className)}\n {...props}\n />\n );\n}\n\nfunction Error({ className, ...props }: StyledProps<typeof BaseField.Error>) {\n return (\n <BaseField.Error\n className={cn(\"text-pho-error text-base\", className)}\n {...props}\n />\n );\n}\n\n/**\n * Form field built on Base UI `Field`. Wires a label, description, and\n * validation error to a control for you — compose it around `Field.Control`\n * (or any control via `render`). `Field.Error` shows when the control is\n * invalid; `Field.Validity` exposes raw validity for custom messages.\n * `Field.Controls` stacks several controls under one label.\n */\nexport const Field = {\n Root,\n Label,\n Control,\n Controls,\n Description,\n Error,\n Item: BaseField.Item,\n Validity: BaseField.Validity,\n};\n"],"mappings":";;;;;AAYA,SAASI,EAAK,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAA6C;AACzE,SACE,gBAAAL,EAACD,EAAU,MAAX;AAAA,IACE,WAAWO,EAAG,qCAAqCF,CAAS;AAAA,IAC5D,GAAIC;AAAA,EACL,CAAA;AAEL;AASA,SAASE,EAAM,EACb,WAAAH,GACA,UAAAI,GACA,UAAAC,GACA,GAAGJ,EAAA,GAIF;AACD,SACE,gBAAAJ,EAACF,EAAU,OAAX;AAAA,IACE,WAAWO,EACT,2DACAE,KAAY,6BACZJ,CACF;AAAA,IACA,GAAIC;AAAA,IANN,UAAA,CAQGI,GAEAD,IACC,gBAAAR,EAAC,QAAD;AAAA,MAAM,WAAU;AAAA,MAAiB,eAAY;AAAA,MAAO,UAAA;AAAA,IAE9C,CAAA,IACJ,IACW;AAAA,E;AAErB;AAEA,SAASU,EAAQ,EACf,WAAAN,GACA,GAAGC,EAAA,GACqC;AACxC,SACE,gBAAAL,EAACD,EAAU,SAAX;AAAA,IACE,WAAWO,EAGT,qMACA,qDAIA,oJACA,mDACAF,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAQA,SAASM,EAAS,EAAE,WAAAP,GAAW,GAAGC,EAAA,GAAgC;AAChE,SACE,gBAAAL,EAAC,OAAD;AAAA,IAAK,WAAWM,EAAG,+BAA+BF,CAAS;AAAA,IAAG,GAAIC;AAAA,EAAQ,CAAA;AAE9E;AAEA,SAASO,EAAY,EACnB,WAAAR,GACA,GAAGC,EAAA,GACyC;AAC5C,SACE,gBAAAL,EAACD,EAAU,aAAX;AAAA,IACE,WAAWO,EAAG,kCAAkCF,CAAS;AAAA,IACzD,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASQ,EAAM,EAAE,WAAAT,GAAW,GAAGC,EAAA,GAA8C;AAC3E,SACE,gBAAAL,EAACD,EAAU,OAAX;AAAA,IACE,WAAWO,EAAG,4BAA4BF,CAAS;AAAA,IACnD,GAAIC;AAAA,EACL,CAAA;AAEL;AASA,IAAaS,IAAQ;AAAA,EACnB,MAAAX;AAAA,EACA,OAAAI;AAAA,EACA,SAAAG;AAAA,EACA,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,MAAMd,EAAU;AAAA,EAChB,UAAUA,EAAU;AACtB"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as o } from "../chunks/cn-ChIgwEl3.js";
2
+ import { t as o } from "../chunks/cn-CPbhpG1q.js";
3
3
  import "react";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  import { Fieldset as i } from "@base-ui/react/fieldset";
@@ -1 +1 @@
1
- {"version":3,"file":"fieldset.js","names":[],"sources":["../../src/components/fieldset/fieldset.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Fieldset as BaseFieldset } from \"@base-ui/react/fieldset\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nfunction Root({ className, ...props }: StyledProps<typeof BaseFieldset.Root>) {\n return (\n <BaseFieldset.Root\n className={cn(\"flex flex-col gap-4\", className)}\n {...props}\n />\n );\n}\n\nfunction Legend({\n className,\n ...props\n}: StyledProps<typeof BaseFieldset.Legend>) {\n return (\n <BaseFieldset.Legend\n className={cn(\"text-pho-primary text-base font-medium\", className)}\n {...props}\n />\n );\n}\n\n/**\n * Groups related fields under a shared legend, built on Base UI `Fieldset`.\n * Use it to title a cluster of inputs (e.g. \"Billing address\") so the grouping\n * is announced to assistive tech.\n */\nexport const Fieldset = { Root, Legend };\n"],"mappings":";;;;;AAYA,SAAS,EAAK,EAAE,WAAA,GAAW,GAAG,EAAA,GAAgD;AAC5E,SACE,gBAAA,EAAC,EAAa,MAAd;AAAA,IACE,WAAW,EAAG,uBAAuB,CAAS;AAAA,IAC9C,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAO,EACd,WAAA,GACA,GAAG,EAAA,GACuC;AAC1C,SACE,gBAAA,EAAC,EAAa,QAAd;AAAA,IACE,WAAW,EAAG,0CAA0C,CAAS;AAAA,IACjE,GAAI;AAAA,EACL,CAAA;AAEL;AAOA,IAAa,IAAW;AAAA,EAAE,MAAA;AAAA,EAAM,QAAA;AAAO"}
1
+ {"version":3,"file":"fieldset.js","names":["BaseFieldset","cn","jsx","Fieldset$1","Root","className","props","Legend","Fieldset"],"sources":["../../src/components/fieldset/fieldset.tsx"],"sourcesContent":["import { type ComponentProps, type ElementType } from \"react\";\nimport { Fieldset as BaseFieldset } from \"@base-ui/react/fieldset\";\nimport { cn } from \"../../utils/cn\";\n\n/** Override Base UI's `string | (state) => string` className with plain string. */\ntype StyledProps<T extends ElementType> = Omit<\n ComponentProps<T>,\n \"className\"\n> & {\n className?: string;\n};\n\nfunction Root({ className, ...props }: StyledProps<typeof BaseFieldset.Root>) {\n return (\n <BaseFieldset.Root\n className={cn(\"flex flex-col gap-4\", className)}\n {...props}\n />\n );\n}\n\nfunction Legend({\n className,\n ...props\n}: StyledProps<typeof BaseFieldset.Legend>) {\n return (\n <BaseFieldset.Legend\n className={cn(\"text-pho-primary text-base font-medium\", className)}\n {...props}\n />\n );\n}\n\n/**\n * Groups related fields under a shared legend, built on Base UI `Fieldset`.\n * Use it to title a cluster of inputs (e.g. \"Billing address\") so the grouping\n * is announced to assistive tech.\n */\nexport const Fieldset = { Root, Legend };\n"],"mappings":";;;;;AAYA,SAASI,EAAK,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAAgD;AAC5E,SACE,gBAAAJ,EAACF,EAAa,MAAd;AAAA,IACE,WAAWC,EAAG,uBAAuBI,CAAS;AAAA,IAC9C,GAAIC;AAAA,EACL,CAAA;AAEL;AAEA,SAASC,EAAO,EACd,WAAAF,GACA,GAAGC,EAAA,GACuC;AAC1C,SACE,gBAAAJ,EAACF,EAAa,QAAd;AAAA,IACE,WAAWC,EAAG,0CAA0CI,CAAS;AAAA,IACjE,GAAIC;AAAA,EACL,CAAA;AAEL;AAOA,IAAaE,IAAW;AAAA,EAAE,MAAAJ;AAAA,EAAM,QAAAG;AAAO"}
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as t, n as e, r as a, t as i } from "../chunks/filter-bar-upeYW4dQ.js";
2
+ import { i as t, n as e, r as a, t as i } from "../chunks/filter-bar-qqCZf1x4.js";
3
3
  export {
4
4
  i as FILTER_DATE_PRESETS,
5
5
  e as FilterBar,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as r } from "../chunks/form-AiHbbw4m.js";
2
+ import { t as r } from "../chunks/form-CXT6ayt0.js";
3
3
  export {
4
4
  r as Form
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as o } from "../chunks/input-group-fc9_jD4d.js";
2
+ import { t as o } from "../chunks/input-group-C3upo2OU.js";
3
3
  export {
4
4
  o as InputGroup
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "../chunks/input-fFWvPJOf.js";
2
+ import { t as e } from "../chunks/input-DWnb33UF.js";
3
3
  export {
4
4
  e as Input
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "../chunks/kbd-DNI10uy7.js";
2
+ import { t as e } from "../chunks/kbd-DWDs_6U1.js";
3
3
  export {
4
4
  e as Kbd
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "../chunks/line-chart-Cp-ME94d.js";
2
+ import { t as e } from "../chunks/line-chart-pOwE2_Oz.js";
3
3
  export {
4
4
  e as LineChart
5
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as a, n as o, r as s, t as e } from "../chunks/log-list-tNuCFGlP.js";
2
+ import { i as a, n as o, r as s, t as e } from "../chunks/log-list-QbSYHZu3.js";
3
3
  export {
4
4
  e as LogList,
5
5
  o as logStatusColor,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a as s, c as a, i as e, n, r as E, t as _ } from "../chunks/menu-CoMrYnd1.js";
2
+ import { a as s, c as a, i as e, n, r as E, t as _ } from "../chunks/menu-CC3fhf83.js";
3
3
  export {
4
4
  s as MENU_BLINK_MS,
5
5
  _ as MENU_ITEM,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as o } from "../chunks/cn-ChIgwEl3.js";
2
+ import { t as o } from "../chunks/cn-CPbhpG1q.js";
3
3
  import "react";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
5
  import { Menubar as n } from "@base-ui/react/menubar";
@@ -1 +1 @@
1
- {"version":3,"file":"menubar.js","names":[],"sources":["../../src/components/menubar/menubar.tsx"],"sourcesContent":["import { type ComponentProps } from \"react\";\nimport { Menubar as BaseMenubar } from \"@base-ui/react/menubar\";\nimport { cn } from \"../../utils/cn\";\n\nexport interface MenubarProps extends Omit<\n ComponentProps<typeof BaseMenubar>,\n \"className\"\n> {\n className?: string;\n}\n\n/**\n * Horizontal bar of top-level menus, built on Base UI `Menubar` — the classic\n * desktop-app menu strip (File / Edit / View). Place `Menu` components inside;\n * the menubar coordinates roving focus and lets open menus switch on hover.\n */\nexport function Menubar({ className, ...props }: MenubarProps) {\n return (\n <BaseMenubar\n className={cn(\n // Static app chrome, not a floating layer — flat, the hairline border\n // carries the edge (shadows are reserved for the menus it opens).\n \"border-pho-secondary bg-pho-primary rounded-base inline-flex items-center gap-1 border p-1\",\n className,\n )}\n {...props}\n />\n );\n}\n\nMenubar.displayName = \"Menubar\";\n"],"mappings":";;;;;AAgBA,SAAgB,EAAQ,EAAE,WAAA,GAAW,GAAG,EAAA,GAAuB;AAC7D,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,WAAW,EAGT,8FACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,EAAQ,cAAc"}
1
+ {"version":3,"file":"menubar.js","names":["BaseMenubar","cn","jsx","Menubar$1","Menubar","className","props"],"sources":["../../src/components/menubar/menubar.tsx"],"sourcesContent":["import { type ComponentProps } from \"react\";\nimport { Menubar as BaseMenubar } from \"@base-ui/react/menubar\";\nimport { cn } from \"../../utils/cn\";\n\nexport interface MenubarProps extends Omit<\n ComponentProps<typeof BaseMenubar>,\n \"className\"\n> {\n className?: string;\n}\n\n/**\n * Horizontal bar of top-level menus, built on Base UI `Menubar` — the classic\n * desktop-app menu strip (File / Edit / View). Place `Menu` components inside;\n * the menubar coordinates roving focus and lets open menus switch on hover.\n */\nexport function Menubar({ className, ...props }: MenubarProps) {\n return (\n <BaseMenubar\n className={cn(\n // Static app chrome, not a floating layer — flat, the hairline border\n // carries the edge (shadows are reserved for the menus it opens).\n \"border-pho-secondary bg-pho-primary rounded-base inline-flex items-center gap-1 border p-1\",\n className,\n )}\n {...props}\n />\n );\n}\n\nMenubar.displayName = \"Menubar\";\n"],"mappings":";;;;;AAgBA,SAAgBI,EAAQ,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAAuB;AAC7D,SACE,gBAAAJ,EAACF,GAAD;AAAA,IACE,WAAWC,EAGT,8FACAI,CACF;AAAA,IACA,GAAIC;AAAA,EACL,CAAA;AAEL;AAEAF,EAAQ,cAAc"}