@arcadeai/design-system 5.0.1 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (393) hide show
  1. package/dist/CSPContext-_3HefTUC.js +11 -0
  2. package/dist/{CompositeItem-BWqRobLN.js → CompositeItem-RsjiqT-t.js} +3 -3
  3. package/dist/{CompositeList-DJUJLDbx.js → CompositeList-BUPONQmB.js} +5 -5
  4. package/dist/CompositeRoot-B_7HJZA1.js +166 -0
  5. package/dist/DialogRoot-DuiSPdsZ.js +9 -0
  6. package/dist/DialogTrigger-DGGP-2Oc.js +371 -0
  7. package/dist/{DirectionContext-B4CbbM--.js → DirectionContext-OzWG1tsQ.js} +1 -1
  8. package/dist/{FieldItemContext-4qBxodsW.js → FieldItemContext-C6kLzkCC.js} +1 -1
  9. package/dist/{FloatingPortalLite-B1JyBlt0.js → FloatingPortalLite-D5nFwFgJ.js} +2 -2
  10. package/dist/{LabelableContext-Q1Z-xUI9.js → LabelableContext-C6DIbcnY.js} +34 -18
  11. package/dist/ReactStore-C3H8e2ha.js +600 -0
  12. package/dist/{Separator-CgntgfMd.js → Separator-CJ3Gn6wf.js} +2 -2
  13. package/dist/{StickToBottom-CU0d65a_.js → StickToBottom-Bh9VDiPm.js} +3 -3
  14. package/dist/Toggle-BdxyK_Ln.js +74 -0
  15. package/dist/{ToolbarRootContext-DVNA8Vkb.js → ToolbarRootContext-CDm74ob9.js} +2 -2
  16. package/dist/accordion-BP9Lgkg8.js +314 -0
  17. package/dist/{addEventListener-B4Gs94GY.js → addEventListener-BlQH_qk1.js} +1 -1
  18. package/dist/{alert-dialog-tBMDYzJ3.js → alert-dialog-1bUE2clB.js} +4 -4
  19. package/dist/{angular-html-BDzibLIk.js → angular-html-CmQQGj3Q.js} +2 -2
  20. package/dist/{angular-html-D85fwMJh.js → angular-html-DkEUN79G.js} +2 -2
  21. package/dist/{angular-ts-D81F0-9A.js → angular-ts-4H9Tgcds.js} +2 -2
  22. package/dist/{angular-ts-C3bnauCX.js → angular-ts-wkihi9GZ.js} +2 -2
  23. package/dist/{apl-92oxg4m4.js → apl-C_-_9Ip6.js} +5 -5
  24. package/dist/assets/icons/microsoft-power-bi.js +88 -0
  25. package/dist/assets/index.css +2 -2
  26. package/dist/assets/tokens.css +1 -1
  27. package/dist/assets/variables.css +1 -1
  28. package/dist/{astro-BmZ7vV4W.js → astro-DKp4HZqy.js} +5 -5
  29. package/dist/{astro-Up1TtKOj.js → astro-nonP8tBz.js} +4 -4
  30. package/dist/{avatar-BSYWkGGc.js → avatar-DbL6b01k.js} +37 -37
  31. package/dist/{blade-CpVdu14g.js → blade-6azK5Bl7.js} +6 -6
  32. package/dist/{blade-CsxOO3tZ.js → blade-Bm1wiaIl.js} +7 -7
  33. package/dist/{button-BNOmhdpM.js → button-BdQxLUOB.js} +3 -3
  34. package/dist/{c-CoKjrVSd.js → c-BLhjukKD.js} +1 -1
  35. package/dist/{c-DtxJex1m.js → c-D23WKKVZ.js} +1 -1
  36. package/dist/{calendar-DizaWURn.js → calendar-Ctzadwv-.js} +98 -97
  37. package/dist/checkbox-DB9O_Iw9.js +284 -0
  38. package/dist/clamp-BT4ayAnN.js +6 -0
  39. package/dist/{cobol-DW9I8MrZ.js → cobol-cEewS-ES.js} +2 -2
  40. package/dist/{coffee-IcWixSuh.js → coffee-BWa7CtjQ.js} +1 -1
  41. package/dist/{coffee-B9lToztK.js → coffee-QapU4XnI.js} +1 -1
  42. package/dist/{collapsible-Dt__KKUJ.js → collapsible-DP7Fb-Lu.js} +28 -28
  43. package/dist/{command-ChimIUHM.js → command-DC-ESQ0C.js} +25 -25
  44. package/dist/components/index.js +259 -252
  45. package/dist/components/ui/atoms/accordion.js +1 -1
  46. package/dist/components/ui/atoms/alert-dialog.js +1 -1
  47. package/dist/components/ui/atoms/avatar.js +1 -1
  48. package/dist/components/ui/atoms/badge.js +2 -2
  49. package/dist/components/ui/atoms/breadcrumb.js +2 -2
  50. package/dist/components/ui/atoms/button.js +1 -1
  51. package/dist/components/ui/atoms/calendar.js +1 -1
  52. package/dist/components/ui/atoms/chart.d.ts.map +1 -1
  53. package/dist/components/ui/atoms/chart.js +7 -7
  54. package/dist/components/ui/atoms/chat-container.js +1 -1
  55. package/dist/components/ui/atoms/checkbox.d.ts +16 -2
  56. package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
  57. package/dist/components/ui/atoms/checkbox.js +2 -2
  58. package/dist/components/ui/atoms/clear-button.d.ts +13 -0
  59. package/dist/components/ui/atoms/clear-button.d.ts.map +1 -0
  60. package/dist/components/ui/atoms/clear-button.js +23 -0
  61. package/dist/components/ui/atoms/code-block.js +1 -1
  62. package/dist/components/ui/atoms/collapsible.js +1 -1
  63. package/dist/components/ui/atoms/command.js +1 -1
  64. package/dist/components/ui/atoms/compute-flow-paths.js +16 -16
  65. package/dist/components/ui/atoms/copy-button.js +1 -1
  66. package/dist/components/ui/atoms/dialog.js +3 -3
  67. package/dist/components/ui/atoms/dropdown-menu.js +1 -1
  68. package/dist/components/ui/atoms/form.d.ts +1 -1
  69. package/dist/components/ui/atoms/form.d.ts.map +1 -1
  70. package/dist/components/ui/atoms/hover-card.js +1 -1
  71. package/dist/components/ui/atoms/icon-tile.d.ts +10 -0
  72. package/dist/components/ui/atoms/icon-tile.d.ts.map +1 -0
  73. package/dist/components/ui/atoms/icon-tile.js +25 -0
  74. package/dist/components/ui/atoms/icons/index.d.ts +1 -0
  75. package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
  76. package/dist/components/ui/atoms/icons/index.js +63 -62
  77. package/dist/components/ui/atoms/icons/microsoft-power-bi.d.ts +4 -0
  78. package/dist/components/ui/atoms/icons/microsoft-power-bi.d.ts.map +1 -0
  79. package/dist/components/ui/atoms/icons/microsoft-power-bi.js +82 -0
  80. package/dist/components/ui/atoms/index.d.ts +3 -1
  81. package/dist/components/ui/atoms/index.d.ts.map +1 -1
  82. package/dist/components/ui/atoms/index.js +212 -209
  83. package/dist/components/ui/atoms/input-group.js +2 -2
  84. package/dist/components/ui/atoms/input.js +1 -1
  85. package/dist/components/ui/atoms/json-highlight.d.ts +2 -2
  86. package/dist/components/ui/atoms/json-highlight.d.ts.map +1 -1
  87. package/dist/components/ui/atoms/markdown.js +1 -1
  88. package/dist/components/ui/atoms/mobile-tooltip.js +2 -2
  89. package/dist/components/ui/atoms/popover.js +1 -1
  90. package/dist/components/ui/atoms/progress.js +1 -1
  91. package/dist/components/ui/atoms/radio-group.js +1 -1
  92. package/dist/components/ui/atoms/resizable.js +1 -1
  93. package/dist/components/ui/atoms/scroll-area.js +1 -1
  94. package/dist/components/ui/atoms/scroll-button.js +3 -3
  95. package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts +24 -0
  96. package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts.map +1 -0
  97. package/dist/components/ui/atoms/scroll-to-bottom-button.js +31 -0
  98. package/dist/components/ui/atoms/select.js +1 -1
  99. package/dist/components/ui/atoms/separator.js +1 -1
  100. package/dist/components/ui/atoms/sheet.js +3 -3
  101. package/dist/components/ui/atoms/sidebar.d.ts.map +1 -1
  102. package/dist/components/ui/atoms/sidebar.js +5 -5
  103. package/dist/components/ui/atoms/slider.js +1 -1
  104. package/dist/components/ui/atoms/sparkle-burst.d.ts.map +1 -1
  105. package/dist/components/ui/atoms/switch.js +1 -1
  106. package/dist/components/ui/atoms/tabs.js +1 -1
  107. package/dist/components/ui/atoms/toggle-group.js +1 -1
  108. package/dist/components/ui/atoms/toggle.js +1 -1
  109. package/dist/components/ui/atoms/tooltip.js +1 -1
  110. package/dist/components/ui/atoms/view-tools-control.js +1 -1
  111. package/dist/components/ui/atoms/virtualized-grid.js +1 -1
  112. package/dist/components/ui/blocks/demo.js +5 -5
  113. package/dist/components/ui/index.js +259 -252
  114. package/dist/components/ui/molecules/avatar-stack.d.ts +32 -0
  115. package/dist/components/ui/molecules/avatar-stack.d.ts.map +1 -0
  116. package/dist/components/ui/molecules/avatar-stack.js +91 -0
  117. package/dist/components/ui/molecules/callout.d.ts +20 -0
  118. package/dist/components/ui/molecules/callout.d.ts.map +1 -0
  119. package/dist/components/ui/molecules/callout.js +39 -0
  120. package/dist/components/ui/molecules/chat-history-item.js +1 -1
  121. package/dist/components/ui/molecules/chip-body.d.ts +21 -0
  122. package/dist/components/ui/molecules/chip-body.d.ts.map +1 -0
  123. package/dist/components/ui/molecules/chip-body.js +21 -0
  124. package/dist/components/ui/molecules/client-secret-field.js +2 -2
  125. package/dist/components/ui/molecules/command-bar.js +1 -1
  126. package/dist/components/ui/molecules/confirm-popover.js +2 -2
  127. package/dist/components/ui/molecules/date-time-picker.js +4 -4
  128. package/dist/components/ui/molecules/filter-chip-group.d.ts +26 -0
  129. package/dist/components/ui/molecules/filter-chip-group.d.ts.map +1 -0
  130. package/dist/components/ui/molecules/{mcp-server-picker/category-filter.js → filter-chip-group.js} +8 -7
  131. package/dist/components/ui/molecules/index.d.ts +14 -6
  132. package/dist/components/ui/molecules/index.d.ts.map +1 -1
  133. package/dist/components/ui/molecules/index.js +39 -35
  134. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.d.ts.map +1 -1
  135. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.js +18 -15
  136. package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.js +2 -2
  137. package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.d.ts.map +1 -1
  138. package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.js +1 -1
  139. package/dist/components/ui/molecules/mcp-server-picker/section-nav-header.js +1 -1
  140. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts +1 -1
  141. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts.map +1 -1
  142. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.js +29 -81
  143. package/dist/components/ui/molecules/mcp-server-picker/server-card.js +1 -1
  144. package/dist/components/ui/molecules/mcp-server-picker/tool-card.js +1 -1
  145. package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts +12 -0
  146. package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts.map +1 -0
  147. package/dist/components/ui/molecules/mcp-server-picker/{tool-search-band.js → tool-recommendations.js} +6 -6
  148. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts +6 -6
  149. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts.map +1 -1
  150. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.js +21 -33
  151. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.d.ts.map +1 -1
  152. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.js +19 -22
  153. package/dist/components/ui/molecules/mcp-server-picker/unoptimized-match-card.js +1 -1
  154. package/dist/components/ui/molecules/message.d.ts.map +1 -1
  155. package/dist/components/ui/molecules/message.js +3 -3
  156. package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
  157. package/dist/components/ui/molecules/prompt-input.js +1 -1
  158. package/dist/components/ui/molecules/removable-chip.d.ts.map +1 -0
  159. package/dist/components/ui/{atoms → molecules}/removable-chip.js +1 -1
  160. package/dist/components/ui/molecules/requirement-badges.js +1 -1
  161. package/dist/components/ui/molecules/steps-progress.js +1 -1
  162. package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -1
  163. package/dist/components/ui/molecules/tool-call-accordion.js +2 -2
  164. package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
  165. package/dist/components/ui/molecules/tool-card.js +3 -3
  166. package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -1
  167. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  168. package/dist/components/ui/molecules/undo-toast.d.ts +47 -0
  169. package/dist/components/ui/molecules/undo-toast.d.ts.map +1 -0
  170. package/dist/components/ui/molecules/undo-toast.js +3 -0
  171. package/dist/components/ui/molecules/user-nav.js +3 -3
  172. package/dist/components/ui/organisms/mcp-selection-summary-bar.d.ts.map +1 -1
  173. package/dist/components/ui/organisms/mcp-selection-summary-bar.js +27 -30
  174. package/dist/components/ui/pages/login-page.js +1 -1
  175. package/dist/composite-B-tEa-Zg.js +169 -0
  176. package/dist/{composite-BlDfbDkL.js → composite-COXvAbcT.js} +5 -5
  177. package/dist/constants-ouS7wtUt.js +5 -0
  178. package/dist/{cpp-BLc8IWxi.js → cpp-BBpqpcUG.js} +4 -4
  179. package/dist/{cpp-BEQCV3s5.js → cpp-CenmDznH.js} +3 -3
  180. package/dist/{createBaseUIEventDetails-ChcQXp54.js → createBaseUIEventDetails-C_dwdqj4.js} +3 -3
  181. package/dist/{crystal-Bpo57dB-.js → crystal-Cjt-cWZ3.js} +6 -6
  182. package/dist/{css-DSy_xl5Z.js → css-BT0UpMRG.js} +1 -1
  183. package/dist/{css-DcJEitGa.js → css-QsZubv6P.js} +1 -1
  184. package/dist/dropdown-menu-ecggVuhu.js +1391 -0
  185. package/dist/{edge-Crbn4Nhk.js → edge-nqxIbnup.js} +3 -3
  186. package/dist/{elixir-CIj8u1AY.js → elixir-IwV7soxp.js} +1 -1
  187. package/dist/{elm-CfYD1d_e.js → elm-Ogf1arfY.js} +1 -1
  188. package/dist/engine-ChH4dTze.js +6 -0
  189. package/dist/{erb-BJQo6_56.js → erb-BBpN-Ldx.js} +2 -2
  190. package/dist/{error-CAd3pM3X.js → error-C8bGkT0l.js} +1 -1
  191. package/dist/getPseudoElementBounds-BOe22aYl.js +345 -0
  192. package/dist/{git-rebase-DVA6p9-5.js → git-rebase-CqAmS_sI.js} +1 -1
  193. package/dist/{glimmer-js-DVJpm-CV.js → glimmer-js-C7DUODof.js} +4 -4
  194. package/dist/{glimmer-ts-kH8c2RJ9.js → glimmer-ts-DI4G9vW_.js} +4 -4
  195. package/dist/{glsl-Ckye8FrQ.js → glsl-CUfKtNbE.js} +2 -2
  196. package/dist/{glsl-7eSg02Gr.js → glsl-Cq85X97E.js} +2 -2
  197. package/dist/{graphql-CE7EXOgY.js → graphql-BCsR6dTa.js} +4 -4
  198. package/dist/{graphql-DEzE15R4.js → graphql-BsbTr8W_.js} +5 -5
  199. package/dist/{hack-o7fvIqt8.js → hack-bqdf8rRJ.js} +2 -2
  200. package/dist/{haml-BP5AnOwP.js → haml-BJXnS8Xp.js} +2 -2
  201. package/dist/{haml-C5GSorf3.js → haml-CWQgvV8s.js} +3 -3
  202. package/dist/{handlebars-Bhpj_d0s.js → handlebars-CKAb2CPX.js} +4 -4
  203. package/dist/{handlebars-BjC-t2fq.js → handlebars-DMloI5gH.js} +3 -3
  204. package/dist/{highlighted-body-OFNGDK62-BoSFtT5s.js → highlighted-body-OFNGDK62-BegvjYf8.js} +1 -1
  205. package/dist/{hover-card-z1GPavWa.js → hover-card-CGLPPPPP.js} +142 -153
  206. package/dist/{html-Ct25QrQu.js → html-CwG5RUst.js} +3 -3
  207. package/dist/{html-D4w9Dm28.js → html-DKmZbgBt.js} +3 -3
  208. package/dist/{html-derivative-Bj-VxhMx.js → html-derivative-B4jNkpq7.js} +1 -1
  209. package/dist/{html-derivative-DSKrIQn9.js → html-derivative-l83Yr46D.js} +1 -1
  210. package/dist/{http-BCk9QAjz.js → http-BFAjFcZG.js} +2 -2
  211. package/dist/{http-d-m0Mc7D.js → http-BhDBVFaP.js} +4 -4
  212. package/dist/{hurl-DWxVzahG.js → hurl-CjzrrhSW.js} +2 -2
  213. package/dist/{hurl-DfTnDfTu.js → hurl-DAdF3com.js} +2 -2
  214. package/dist/inertValue-BhczR0H5.js +7 -0
  215. package/dist/input-DZTqcpe-.js +91 -0
  216. package/dist/{isElementDisabled-Cibvw8mz.js → isElementDisabled-C1rd9-Ym.js} +1 -1
  217. package/dist/{java-CuIj5nvv.js → java-C_vVq3dw.js} +1 -1
  218. package/dist/{java-BKNJluE5.js → java-Ci5_G7qk.js} +1 -1
  219. package/dist/{javascript-C_3Wy_Gj.js → javascript-CV4d78q9.js} +1 -1
  220. package/dist/{javascript-Da2xmRTV.js → javascript-DIVSilR9.js} +1 -1
  221. package/dist/{jinja-DhkDj1Xi.js → jinja-Bs1LO7X2.js} +1 -1
  222. package/dist/{jinja-C8xQEEYN.js → jinja-Bwrf5aV2.js} +1 -1
  223. package/dist/{jison-CShmv6Fb.js → jison-C6eal2rW.js} +1 -1
  224. package/dist/{jison-CyKFq-6a.js → jison-Td0S7BdY.js} +1 -1
  225. package/dist/{json-Df3TJ3vS.js → json-BE9zjWXC.js} +1 -1
  226. package/dist/{jsx-CfQ2JFaq.js → jsx-Ba8CJaAV.js} +1 -1
  227. package/dist/{jsx-D0xGKDLn.js → jsx-DCFvZzWu.js} +1 -1
  228. package/dist/{julia-BMAFK3Gd.js → julia-Bm175Gof.js} +3 -3
  229. package/dist/{julia-BN-I8ZOK.js → julia-Bunkrw5e.js} +4 -4
  230. package/dist/{just-YBnaWXEe.js → just-1Pxadbli.js} +5 -5
  231. package/dist/{latex-C_OKc6Tr.js → latex-_x2UAXwa.js} +1 -1
  232. package/dist/lib/utils.d.ts.map +1 -1
  233. package/dist/{lib-BeKETz9d.js → lib-_PLIHaUp.js} +623 -633
  234. package/dist/{liquid-BK9PRBL0.js → liquid-kYbXB26r.js} +4 -4
  235. package/dist/{lua-BLio8ECy.js → lua-CaVsjDyr.js} +2 -2
  236. package/dist/main.js +265 -258
  237. package/dist/{markdown-D3ExE6yF.js → markdown-BzQfFDNF.js} +2608 -2632
  238. package/dist/{marko-Fde_uU3F.js → marko-B5ZroO9K.js} +3 -3
  239. package/dist/{marko-DYmCev7q.js → marko-D0_WatvF.js} +3 -3
  240. package/dist/{mdc-wawAspAJ.js → mdc-Bv4e6tBf.js} +2 -2
  241. package/dist/{mdc-D7QSJBKx.js → mdc-Dh_sTTi8.js} +1 -1
  242. package/dist/mermaid-GHXKKRXX-B2aW3mwU.js +3 -0
  243. package/dist/metadata/oauth-providers.d.ts +2 -0
  244. package/dist/metadata/oauth-providers.d.ts.map +1 -1
  245. package/dist/metadata/oauth-providers.js +153 -141
  246. package/dist/metadata/toolkit-icons.d.ts.map +1 -1
  247. package/dist/metadata/toolkit-icons.js +95 -93
  248. package/dist/metadata/toolkits.d.ts.map +1 -1
  249. package/dist/metadata/toolkits.js +13 -0
  250. package/dist/{nginx-WcmIS9lz.js → nginx-DKKP1Jsz.js} +1 -1
  251. package/dist/{nim-C_JBe3PW.js → nim-BeBji0Kd.js} +6 -6
  252. package/dist/owner-CyZnQOKt.js +6 -0
  253. package/dist/{perl-DxzDgnFP.js → perl-d6FT-kBo.js} +5 -5
  254. package/dist/{php-h4fQX9du.js → php-5ErYmDX1.js} +5 -5
  255. package/dist/{php-BslXz14x.js → php-DrB8vlsq.js} +6 -6
  256. package/dist/popover-CpLkQtT5.js +490 -0
  257. package/dist/popupStateMapping-XiLS0Jku.js +643 -0
  258. package/dist/{progress-TdXkokPe.js → progress-BqG0PtAD.js} +14 -14
  259. package/dist/{pug-yS-UC2lD.js → pug-DyZNXutA.js} +3 -3
  260. package/dist/{pug-CxpNRXGa.js → pug-pOLqHjih.js} +3 -3
  261. package/dist/{qml-tenACNq4.js → qml-Dox9P6il.js} +1 -1
  262. package/dist/{r-DdU4yNZO.js → r-CqHzjuOx.js} +1 -1
  263. package/dist/radio-group-BpMluqfv.js +334 -0
  264. package/dist/{razor-D5yYWriQ.js → razor-BJnzh0vV.js} +1 -1
  265. package/dist/{regexp-Dnzoo8L8.js → regexp-BHMFwNmq.js} +1 -1
  266. package/dist/{regexp-BusfBBwF.js → regexp-Cr4z7tOG.js} +1 -1
  267. package/dist/{resizable-DkYW5Uwh.js → resizable-7RrCRLzm.js} +25 -22
  268. package/dist/resolveAriaLabelledBy-ChNE6KfK.js +15 -0
  269. package/dist/{rst-C-dkSMvp.js → rst-BBCY8q7E.js} +6 -6
  270. package/dist/{ruby-7kZgYYwi.js → ruby-B3ETTR3m.js} +12 -12
  271. package/dist/{safePolygon-CscU2iWL.js → safePolygon-DmV1hDsw.js} +110 -105
  272. package/dist/{sas-DtHo0e4p.js → sas-DUv_h98D.js} +1 -1
  273. package/dist/scroll-area-D7iOy7xj.js +589 -0
  274. package/dist/{scrollEdges-VoRBF4DB.js → scrollEdges-Dck9qFyQ.js} +2 -2
  275. package/dist/{scss-bso_k44A.js → scss-CkVrpEfa.js} +2 -2
  276. package/dist/{scss-DaY16nmX.js → scss-CvRlGoAc.js} +2 -2
  277. package/dist/select-DFWNXxvZ.js +1363 -0
  278. package/dist/{serializeValue-kHY7UUsW.js → serializeValue-CRwtWeFH.js} +1 -1
  279. package/dist/{shadowDom-C-4Ejp9R.js → shadowDom-BACsbimN.js} +1 -1
  280. package/dist/shared-q5mxNamF.js +24 -0
  281. package/dist/{shellscript-BWxNrzSf.js → shellscript-CxvlkwLY.js} +1 -1
  282. package/dist/{shellsession-IETTXW5g.js → shellsession-CgzvDd-J.js} +1 -1
  283. package/dist/{shim-ieZ_MRlN.js → shim-BX-2V17R.js} +6 -7
  284. package/dist/slider-ClXWRpwI.js +828 -0
  285. package/dist/{soy-33Xu8yiH.js → soy-BsfKKN9o.js} +1 -1
  286. package/dist/{sql-B432xaB7.js → sql-BHUsfCgB.js} +1 -1
  287. package/dist/{sql-8d8R_FnS.js → sql-DG63OdWS.js} +1 -1
  288. package/dist/{stata-B5wF29_Y.js → stata--mbf8UFb.js} +1 -1
  289. package/dist/store-D7k1qIkZ.js +82 -0
  290. package/dist/{surrealql-DYHeSEsk.js → surrealql-DhODgRt6.js} +1 -1
  291. package/dist/{svelte-BiN7hc1M.js → svelte-C7x6u-8L.js} +3 -3
  292. package/dist/{svelte-wsTs0hbr.js → svelte-DycOh1Oc.js} +3 -3
  293. package/dist/{switch-CP9j-8px.js → switch-DlxZDt6o.js} +65 -65
  294. package/dist/{tabs-C7JA8G0W.js → tabs-Cj3LY-7F.js} +186 -185
  295. package/dist/{templ-DEwqY_Qt.js → templ-MSt5oh4r.js} +2 -2
  296. package/dist/{tex-Bi7DoImG.js → tex-CVgVV9NK.js} +1 -1
  297. package/dist/toggle-group-CmP4iHEJ.js +96 -0
  298. package/dist/tooltip-BUR7V5Aa.js +684 -0
  299. package/dist/{ts-tags-BK3ScQNp.js → ts-tags-Ck_QbMh4.js} +7 -7
  300. package/dist/{ts-tags-DOmIyh9G.js → ts-tags-DQKwVH4e.js} +7 -7
  301. package/dist/{tsx-D2IQdrsN.js → tsx-BfWxCQIa.js} +1 -1
  302. package/dist/{tsx-oo1y-gXD.js → tsx-DH8_xVXA.js} +1 -1
  303. package/dist/{twig-DxRYLs_L.js → twig-nd7fXiJI.js} +5 -5
  304. package/dist/{typescript-CWrXW5hv.js → typescript-Btp0Nz7Q.js} +1 -1
  305. package/dist/{typescript-C40nYMtR.js → typescript-CT-dRuB-.js} +1 -1
  306. package/dist/{ui-BaLLCKkd.js → ui-46pgiw5T.js} +2 -2
  307. package/dist/undo-toast-Cf4T6ToX.js +898 -0
  308. package/dist/{useAnchoredPopupScrollLock-C8wRjuy0.js → useAnchoredPopupScrollLock-CnoPUwXv.js} +4 -4
  309. package/dist/{useAnimationFrame-xwbX87TY.js → useAnimationFrame-jkCXMP_8.js} +3 -3
  310. package/dist/{useAriaLabelledBy-DKl6aNOD.js → useAriaLabelledBy-DJZioWd6.js} +3 -3
  311. package/dist/useBaseUiId-CXSJgVcI.js +8 -0
  312. package/dist/{useButton-AXffhTAZ.js → useButton-DjF6Owsn.js} +7 -7
  313. package/dist/{useCollapsiblePanel-B7ERXY1c.js → useCollapsiblePanel-BPbcE70S.js} +36 -32
  314. package/dist/{useCompositeItem-DA_RDTEI.js → useCompositeItem-JoGwOIGJ.js} +6 -11
  315. package/dist/{useCompositeListItem-xM6vOR9-.js → useCompositeListItem-C8B8UyMD.js} +5 -5
  316. package/dist/{useControlled-ZBScq72P.js → useControlled-Bu1mahWG.js} +2 -2
  317. package/dist/useFocus-B_SrhX9q.js +98 -0
  318. package/dist/useId-Bzr7_bed.js +21 -0
  319. package/dist/{useIsoLayoutEffect-CKOv1bV_.js → useIsoLayoutEffect-4LGv3HzC.js} +1 -1
  320. package/dist/{useLabelableId-Dgoo7-Ly.js → useLabelableId-9jrDGk5d.js} +6 -6
  321. package/dist/{useOnMount-Dirf6DNj.js → useOnMount-Chlmm7JB.js} +1 -1
  322. package/dist/useOpenChangeComplete-CVIwfcpl.js +80 -0
  323. package/dist/useOpenInteractionType-INvHftZi.js +612 -0
  324. package/dist/{usePositioner-D65mUNMo.js → usePositioner-CaLGGc-z.js} +144 -143
  325. package/dist/useRender-D_s7850Q.js +7 -0
  326. package/dist/{useRenderElement-CmuWsiNa.js → useRenderElement-BToElZ97.js} +13 -13
  327. package/dist/{useStableCallback-CqEVb76s.js → useStableCallback-CrM0Nb2q.js} +3 -3
  328. package/dist/{useTimeout-B1x6NSZb.js → useTimeout-B0afjWAz.js} +3 -3
  329. package/dist/useTransitionStatus-CCIoL5RH.js +51 -0
  330. package/dist/useTriggerFocusGuards-Dlv8KvSm.js +37 -0
  331. package/dist/{useValueAsRef-CCU3eUYq.js → useValueAsRef-CfO5zn2c.js} +3 -3
  332. package/dist/useValueChanged-26zHg3aX.js +15 -0
  333. package/dist/valueToPercent-BBx6BqbS.js +29 -0
  334. package/dist/{virtualized-grid-BQNJg029.js → virtualized-grid-DLNjqTNm.js} +16 -7
  335. package/dist/{visuallyHidden-CEAV1xeA.js → visuallyHidden-Cq5CW65k.js} +1 -1
  336. package/dist/{vue-COUaRKLt.js → vue-BMjk7Gaz.js} +5 -5
  337. package/dist/{vue-BEPn_TF_.js → vue-BoZyu9mR.js} +6 -6
  338. package/dist/{vue-html-CEiB3REn.js → vue-html-Dyr-sgcn.js} +1 -1
  339. package/dist/{vue-html-DjKFzwWo.js → vue-html-Fc3KYSrO.js} +1 -1
  340. package/dist/{vue-vine-D0Lpd94a.js → vue-vine-B-mxBKB2.js} +3 -3
  341. package/dist/{vue-vine-D6cSZo1M.js → vue-vine-BDclOuCR.js} +3 -3
  342. package/dist/{web-DF40pCMx.js → web-CqfgwsJY.js} +43 -43
  343. package/dist/{xml-DRTU1nx4.js → xml-CSo_-m7_.js} +2 -2
  344. package/dist/{xml-DL5p3-50.js → xml-tkp62giI.js} +2 -2
  345. package/dist/{xsl-3eu75y43.js → xsl-Dmc5gKQo.js} +1 -1
  346. package/dist/{yaml-6pzV2NiB.js → yaml-9hw4TgNw.js} +1 -1
  347. package/package.json +30 -30
  348. package/dist/CompositeRoot-BIh8l7ys.js +0 -179
  349. package/dist/DialogRoot-eVsH835b.js +0 -9
  350. package/dist/DialogTrigger-BuKadcdL.js +0 -379
  351. package/dist/FormContext-4NSsO4w6.js +0 -17
  352. package/dist/Toggle-CyMSF-Z7.js +0 -70
  353. package/dist/accordion-D-o5VBR2.js +0 -374
  354. package/dist/checkbox-CfF6tabe.js +0 -270
  355. package/dist/clamp-DQAQAGkj.js +0 -16
  356. package/dist/components/ui/atoms/removable-chip.d.ts.map +0 -1
  357. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts +0 -31
  358. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts.map +0 -1
  359. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.js +0 -106
  360. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts +0 -18
  361. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts.map +0 -1
  362. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts +0 -12
  363. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts.map +0 -1
  364. package/dist/composite-HOje5ugx.js +0 -276
  365. package/dist/constants-VB9bsA8p.js +0 -4
  366. package/dist/detectBrowser-FBYSu3xM.js +0 -32
  367. package/dist/dropdown-menu-dsg43mOw.js +0 -1393
  368. package/dist/event-DWcDp5kt.js +0 -24
  369. package/dist/getPseudoElementBounds-DarjR4tH.js +0 -355
  370. package/dist/inertValue-C36grUTu.js +0 -7
  371. package/dist/input-CSc-AfAa.js +0 -91
  372. package/dist/mermaid-GHXKKRXX-B8Qglwis.js +0 -3
  373. package/dist/owner-BrzQrszh.js +0 -6
  374. package/dist/popover-CXSOUeVQ.js +0 -501
  375. package/dist/popupStateMapping-PdIQcWEz.js +0 -1179
  376. package/dist/radio-group-Cc5ftdVj.js +0 -333
  377. package/dist/resolveAriaLabelledBy-DR9UHvi-.js +0 -10
  378. package/dist/scroll-area-53KPfESS.js +0 -559
  379. package/dist/select-CPTT__cT.js +0 -1363
  380. package/dist/slider-CN3uEkeD.js +0 -822
  381. package/dist/store-Bdrhndby.js +0 -81
  382. package/dist/toggle-group-CDYMBO0F.js +0 -87
  383. package/dist/tooltip-34vRSwJG.js +0 -669
  384. package/dist/useBaseUiId-DOm5ACje.js +0 -26
  385. package/dist/useFocus-DzHCrvH6.js +0 -97
  386. package/dist/useOpenChangeComplete-DjMFUwhi.js +0 -127
  387. package/dist/useOpenInteractionType-D-ymktmc.js +0 -612
  388. package/dist/useRender-B4Oazk_w.js +0 -7
  389. package/dist/useTriggerFocusGuards-D1QlFlDK.js +0 -37
  390. package/dist/useValueChanged-j5e75XB6.js +0 -15
  391. package/dist/valueToPercent-9aZaNeTG.js +0 -24
  392. /package/dist/components/ui/{atoms → molecules}/removable-chip.d.ts +0 -0
  393. /package/dist/{chunk-Dqa2HsxW.js → rolldown-runtime-Dqa2HsxW.js} +0 -0
@@ -0,0 +1,589 @@
1
+ "use client";
2
+ import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
3
+ import { t, u as n } from "./useRenderElement-BToElZ97.js";
4
+ import { t as r } from "./useStableCallback-CrM0Nb2q.js";
5
+ import { t as i } from "./DirectionContext-OzWG1tsQ.js";
6
+ import { t as a } from "./useBaseUiId-CXSJgVcI.js";
7
+ import { t as o } from "./addEventListener-BlQH_qk1.js";
8
+ import { cn as s } from "./lib/utils.js";
9
+ import { t as c } from "./engine-ChH4dTze.js";
10
+ import { n as l } from "./useTimeout-B0afjWAz.js";
11
+ import { n as u, r as d } from "./shadowDom-BACsbimN.js";
12
+ import { n as f, r as p } from "./scrollEdges-Dck9qFyQ.js";
13
+ import { t as ee } from "./CSPContext-_3HefTUC.js";
14
+ import { t as m } from "./clamp-BT4ayAnN.js";
15
+ import * as h from "react";
16
+ import { jsx as g, jsxs as _ } from "react/jsx-runtime";
17
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/root/ScrollAreaRootContext.mjs
18
+ var v = /*#__PURE__*/ h.createContext(void 0);
19
+ process.env.NODE_ENV !== "production" && (v.displayName = "ScrollAreaRootContext");
20
+ function y() {
21
+ let e = h.useContext(v);
22
+ if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? n(53) : "Base UI: ScrollAreaRootContext is missing. ScrollArea parts must be placed within <ScrollArea.Root>.");
23
+ return e;
24
+ }
25
+ //#endregion
26
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/root/ScrollAreaRootCssVars.mjs
27
+ var b = /*#__PURE__*/ function(e) {
28
+ return e.scrollAreaCornerHeight = "--scroll-area-corner-height", e.scrollAreaCornerWidth = "--scroll-area-corner-width", e;
29
+ }({});
30
+ //#endregion
31
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/utils/getOffset.mjs
32
+ function x(e, t, n) {
33
+ if (!e) return 0;
34
+ let r = getComputedStyle(e), i = n === "x" ? "Inline" : "Block";
35
+ return n === "x" && t === "margin" ? parseFloat(r[`${t}InlineStart`]) * 2 : parseFloat(r[`${t}${i}Start`]) + parseFloat(r[`${t}${i}End`]);
36
+ }
37
+ //#endregion
38
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes.mjs
39
+ var S = /*#__PURE__*/ function(e) {
40
+ return e.orientation = "data-orientation", e.hovering = "data-hovering", e.scrolling = "data-scrolling", e.hasOverflowX = "data-has-overflow-x", e.hasOverflowY = "data-has-overflow-y", e.overflowXStart = "data-overflow-x-start", e.overflowXEnd = "data-overflow-x-end", e.overflowYStart = "data-overflow-y-start", e.overflowYEnd = "data-overflow-y-end", e;
41
+ }({}), C = /*#__PURE__*/ function(e) {
42
+ return e.scrolling = "data-scrolling", e.hasOverflowX = "data-has-overflow-x", e.hasOverflowY = "data-has-overflow-y", e.overflowXStart = "data-overflow-x-start", e.overflowXEnd = "data-overflow-x-end", e.overflowYStart = "data-overflow-y-start", e.overflowYEnd = "data-overflow-y-end", e;
43
+ }({}), w = {
44
+ hasOverflowX: (e) => e ? { [C.hasOverflowX]: "" } : null,
45
+ hasOverflowY: (e) => e ? { [C.hasOverflowY]: "" } : null,
46
+ overflowXStart: (e) => e ? { [C.overflowXStart]: "" } : null,
47
+ overflowXEnd: (e) => e ? { [C.overflowXEnd]: "" } : null,
48
+ overflowYStart: (e) => e ? { [C.overflowYStart]: "" } : null,
49
+ overflowYEnd: (e) => e ? { [C.overflowYEnd]: "" } : null,
50
+ cornerHidden: () => null
51
+ }, T = {
52
+ x: 0,
53
+ y: 0
54
+ }, E = {
55
+ width: 0,
56
+ height: 0
57
+ }, D = {
58
+ xStart: !1,
59
+ xEnd: !1,
60
+ yStart: !1,
61
+ yEnd: !1
62
+ }, te = {
63
+ x: !0,
64
+ y: !0,
65
+ corner: !0
66
+ }, O = /*#__PURE__*/ h.forwardRef(function(e, n) {
67
+ let { render: i, className: o, overflowEdgeThreshold: s, style: c, ...d } = e, { xStart: f, xEnd: m, yStart: g, yEnd: y } = ne(s), C = a(), O = l(), k = l(), { nonce: A, disableStyleElements: j } = ee(), [M, N] = h.useState(!1), [P, F] = h.useState(!1), [I, L] = h.useState(!1), [R, z] = h.useState(!1), [B, V] = h.useState(!1), [H, re] = h.useState(E), [U, W] = h.useState(E), [G, K] = h.useState(D), [q, ie] = h.useState(te), ae = h.useRef(null), J = h.useRef(null), Y = h.useRef(null), X = h.useRef(null), Z = h.useRef(null), Q = h.useRef(null), oe = h.useRef(null), se = h.useRef(!1), ce = h.useRef(0), le = h.useRef(0), ue = h.useRef(0), de = h.useRef(0), $ = h.useRef("vertical"), fe = h.useRef(T), pe = r((e) => {
68
+ let t = e.x - fe.current.x, n = e.y - fe.current.y;
69
+ fe.current = e, n !== 0 && (L(!0), O.start(500, () => {
70
+ L(!1);
71
+ })), t !== 0 && (F(!0), k.start(500, () => {
72
+ F(!1);
73
+ }));
74
+ }), me = r((e) => {
75
+ e.button === 0 && (se.current = !0, ce.current = e.clientY, le.current = e.clientX, $.current = e.currentTarget.getAttribute(S.orientation), J.current && (ue.current = J.current.scrollTop, de.current = J.current.scrollLeft), Z.current && $.current === "vertical" && Z.current.setPointerCapture(e.pointerId), Q.current && $.current === "horizontal" && Q.current.setPointerCapture(e.pointerId));
76
+ }), he = r((e) => {
77
+ if (!se.current) return;
78
+ let t = e.clientY - ce.current, n = e.clientX - le.current;
79
+ if (J.current) {
80
+ let r = J.current.scrollHeight, i = J.current.clientHeight, a = J.current.scrollWidth, o = J.current.clientWidth;
81
+ if (Z.current && Y.current && $.current === "vertical") {
82
+ let n = x(Y.current, "padding", "y"), a = x(Z.current, "margin", "y"), o = Z.current.offsetHeight, s = t / (Y.current.offsetHeight - o - n - a);
83
+ J.current.scrollTop = ue.current + s * (r - i), e.preventDefault(), L(!0), O.start(500, () => {
84
+ L(!1);
85
+ });
86
+ }
87
+ if (Q.current && X.current && $.current === "horizontal") {
88
+ let t = x(X.current, "padding", "x"), r = x(Q.current, "margin", "x"), i = Q.current.offsetWidth, s = n / (X.current.offsetWidth - i - t - r);
89
+ J.current.scrollLeft = de.current + s * (a - o), e.preventDefault(), F(!0), k.start(500, () => {
90
+ F(!1);
91
+ });
92
+ }
93
+ }
94
+ }), ge = r((e) => {
95
+ se.current = !1, Z.current && $.current === "vertical" && Z.current.hasPointerCapture(e.pointerId) && Z.current.releasePointerCapture(e.pointerId), Q.current && $.current === "horizontal" && Q.current.hasPointerCapture(e.pointerId) && Q.current.releasePointerCapture(e.pointerId);
96
+ });
97
+ function _e(e) {
98
+ z(e.pointerType === "touch");
99
+ }
100
+ function ve(e) {
101
+ if (_e(e), e.pointerType !== "touch") {
102
+ let t = u(ae.current, e.target);
103
+ N(t);
104
+ }
105
+ }
106
+ let ye = h.useMemo(() => ({
107
+ scrolling: P || I,
108
+ hasOverflowX: !q.x,
109
+ hasOverflowY: !q.y,
110
+ overflowXStart: G.xStart,
111
+ overflowXEnd: G.xEnd,
112
+ overflowYStart: G.yStart,
113
+ overflowYEnd: G.yEnd,
114
+ cornerHidden: q.corner
115
+ }), [
116
+ P,
117
+ I,
118
+ q.x,
119
+ q.y,
120
+ q.corner,
121
+ G
122
+ ]), be = {
123
+ role: "presentation",
124
+ onPointerEnter: ve,
125
+ onPointerMove: ve,
126
+ onPointerDown: _e,
127
+ onPointerLeave() {
128
+ N(!1);
129
+ },
130
+ style: {
131
+ position: "relative",
132
+ [b.scrollAreaCornerHeight]: `${H.height}px`,
133
+ [b.scrollAreaCornerWidth]: `${H.width}px`
134
+ }
135
+ }, xe = t("div", e, {
136
+ state: ye,
137
+ ref: [n, ae],
138
+ props: [be, d],
139
+ stateAttributesMapping: w
140
+ }), Se = h.useMemo(() => ({
141
+ handlePointerDown: me,
142
+ handlePointerMove: he,
143
+ handlePointerUp: ge,
144
+ handleScroll: pe,
145
+ cornerSize: H,
146
+ setCornerSize: re,
147
+ thumbSize: U,
148
+ setThumbSize: W,
149
+ hasMeasuredScrollbar: B,
150
+ setHasMeasuredScrollbar: V,
151
+ touchModality: R,
152
+ cornerRef: oe,
153
+ scrollingX: P,
154
+ setScrollingX: F,
155
+ scrollingY: I,
156
+ setScrollingY: L,
157
+ hovering: M,
158
+ setHovering: N,
159
+ viewportRef: J,
160
+ rootRef: ae,
161
+ scrollbarYRef: Y,
162
+ scrollbarXRef: X,
163
+ thumbYRef: Z,
164
+ thumbXRef: Q,
165
+ rootId: C,
166
+ hiddenState: q,
167
+ setHiddenState: ie,
168
+ overflowEdges: G,
169
+ setOverflowEdges: K,
170
+ viewportState: ye,
171
+ overflowEdgeThreshold: {
172
+ xStart: f,
173
+ xEnd: m,
174
+ yStart: g,
175
+ yEnd: y
176
+ }
177
+ }), [
178
+ me,
179
+ he,
180
+ ge,
181
+ pe,
182
+ H,
183
+ U,
184
+ B,
185
+ R,
186
+ P,
187
+ F,
188
+ I,
189
+ L,
190
+ M,
191
+ N,
192
+ C,
193
+ q,
194
+ G,
195
+ ye,
196
+ f,
197
+ m,
198
+ g,
199
+ y
200
+ ]);
201
+ return /*#__PURE__*/ _(v.Provider, {
202
+ value: Se,
203
+ children: [!j && p.getElement(A), xe]
204
+ });
205
+ });
206
+ process.env.NODE_ENV !== "production" && (O.displayName = "ScrollAreaRoot");
207
+ function ne(e) {
208
+ if (typeof e == "number") {
209
+ let t = Math.max(0, e);
210
+ return {
211
+ xStart: t,
212
+ xEnd: t,
213
+ yStart: t,
214
+ yEnd: t
215
+ };
216
+ }
217
+ return {
218
+ xStart: Math.max(0, e?.xStart || 0),
219
+ xEnd: Math.max(0, e?.xEnd || 0),
220
+ yStart: Math.max(0, e?.yStart || 0),
221
+ yEnd: Math.max(0, e?.yEnd || 0)
222
+ };
223
+ }
224
+ //#endregion
225
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/viewport/ScrollAreaViewportContext.mjs
226
+ var k = /*#__PURE__*/ h.createContext(void 0);
227
+ process.env.NODE_ENV !== "production" && (k.displayName = "ScrollAreaViewportContext");
228
+ //#endregion
229
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/viewport/ScrollAreaViewportCssVars.mjs
230
+ var A = /*#__PURE__*/ function(e) {
231
+ return e.scrollAreaOverflowXStart = "--scroll-area-overflow-x-start", e.scrollAreaOverflowXEnd = "--scroll-area-overflow-x-end", e.scrollAreaOverflowYStart = "--scroll-area-overflow-y-start", e.scrollAreaOverflowYEnd = "--scroll-area-overflow-y-end", e;
232
+ }({}), j = !1;
233
+ function M() {
234
+ j || c || (typeof CSS < "u" && "registerProperty" in CSS && [
235
+ A.scrollAreaOverflowXStart,
236
+ A.scrollAreaOverflowXEnd,
237
+ A.scrollAreaOverflowYStart,
238
+ A.scrollAreaOverflowYEnd
239
+ ].forEach((e) => {
240
+ try {
241
+ CSS.registerProperty({
242
+ name: e,
243
+ syntax: "<length>",
244
+ inherits: !1,
245
+ initialValue: "0px"
246
+ });
247
+ } catch {}
248
+ }), j = !0);
249
+ }
250
+ var N = /*#__PURE__*/ h.forwardRef(function(n, a) {
251
+ let { render: o, className: s, style: c, ...u } = n, { viewportRef: d, scrollbarYRef: ee, scrollbarXRef: _, thumbYRef: v, thumbXRef: b, cornerRef: S, cornerSize: C, setCornerSize: T, setThumbSize: E, rootId: D, setHiddenState: te, hiddenState: O, setHasMeasuredScrollbar: ne, handleScroll: j, setHovering: N, setOverflowEdges: I, overflowEdges: L, overflowEdgeThreshold: R, scrollingX: z, scrollingY: B } = y(), V = i(), H = h.useRef(!0), re = h.useRef([
252
+ NaN,
253
+ NaN,
254
+ NaN,
255
+ NaN
256
+ ]), U = l(), W = l(), G = r(() => {
257
+ let e = d.current, t = ee.current, n = _.current, r = v.current, i = b.current, a = S.current;
258
+ if (!e) return;
259
+ let o = e.scrollHeight, s = e.scrollWidth, c = e.clientHeight, l = e.clientWidth, u = e.scrollTop, p = e.scrollLeft, h = re.current, g = Number.isNaN(h[0]);
260
+ if (h[0] = c, h[1] = o, h[2] = l, h[3] = s, g && ne(!0), o === 0 || s === 0) return;
261
+ let y = P(e), w = y.y, D = y.x, O = l / s, k = c / o, j = Math.max(0, s - l), M = Math.max(0, o - c), N = 0, L = 0;
262
+ if (!D) {
263
+ let e = 0;
264
+ e = m(V === "rtl" ? -p : p, 0, j), N = f(e, j), L = j - N;
265
+ }
266
+ let z = w ? 0 : m(u, 0, M), B = w ? 0 : f(z, M), H = w ? 0 : M - B, U = D ? 0 : l, W = w ? 0 : c, G = 0, K = 0;
267
+ !D && !w && (G = t?.offsetWidth || 0, K = n?.offsetHeight || 0);
268
+ let q = C.width === 0 && C.height === 0, ie = q ? G : 0, ae = q ? K : 0, J = x(n, "padding", "x"), Y = x(t, "padding", "y"), X = x(i, "margin", "x"), Z = x(r, "margin", "y"), Q = U - J - X, oe = W - Y - Z, se = n ? Math.min(n.offsetWidth - ie, Q) : Q, ce = t ? Math.min(t.offsetHeight - ae, oe) : oe, le = Math.max(16, se * O), ue = Math.max(16, ce * k);
269
+ if (E((e) => e.height === ue && e.width === le ? e : {
270
+ width: le,
271
+ height: ue
272
+ }), t && r) {
273
+ let e = t.offsetHeight - ue - Y - Z, n = o - c, i = n === 0 ? 0 : u / n, a = Math.min(e, Math.max(0, i * e));
274
+ r.style.transform = `translate3d(0,${a}px,0)`;
275
+ }
276
+ if (n && i) {
277
+ let e = n.offsetWidth - le - J - X, t = s - l, r = t === 0 ? 0 : p / t, a = V === "rtl" ? m(r * e, -e, 0) : m(r * e, 0, e);
278
+ i.style.transform = `translate3d(${a}px,0,0)`;
279
+ }
280
+ let de = [
281
+ [A.scrollAreaOverflowXStart, N],
282
+ [A.scrollAreaOverflowXEnd, L],
283
+ [A.scrollAreaOverflowYStart, B],
284
+ [A.scrollAreaOverflowYEnd, H]
285
+ ];
286
+ for (let [t, n] of de) e.style.setProperty(t, `${n}px`);
287
+ a && (D || w ? T({
288
+ width: 0,
289
+ height: 0
290
+ }) : !D && !w && T({
291
+ width: G,
292
+ height: K
293
+ })), te((e) => F(e, y));
294
+ let $ = {
295
+ xStart: !D && N > R.xStart,
296
+ xEnd: !D && L > R.xEnd,
297
+ yStart: !w && B > R.yStart,
298
+ yEnd: !w && H > R.yEnd
299
+ };
300
+ I((e) => e.xStart === $.xStart && e.xEnd === $.xEnd && e.yStart === $.yStart && e.yEnd === $.yEnd ? e : $);
301
+ });
302
+ e(() => {
303
+ d.current && M();
304
+ }, [d]), e(() => {
305
+ queueMicrotask(G);
306
+ }, [
307
+ G,
308
+ O,
309
+ V,
310
+ R.xStart,
311
+ R.xEnd,
312
+ R.yStart,
313
+ R.yEnd
314
+ ]), e(() => {
315
+ d.current?.matches(":hover") && N(!0);
316
+ }, [d, N]), e(() => {
317
+ let e = d.current;
318
+ if (typeof ResizeObserver > "u" || !e) return;
319
+ let t = !1, n = new ResizeObserver(() => {
320
+ if (!t) {
321
+ t = !0;
322
+ let n = re.current;
323
+ if (n[0] === e.clientHeight && n[1] === e.scrollHeight && n[2] === e.clientWidth && n[3] === e.scrollWidth) return;
324
+ }
325
+ G();
326
+ });
327
+ return n.observe(e), W.start(0, () => {
328
+ let t = e.getAnimations({ subtree: !0 });
329
+ t.length !== 0 && Promise.allSettled(t.map((e) => e.finished)).then(G).catch(() => {});
330
+ }), () => {
331
+ n.disconnect(), W.clear();
332
+ };
333
+ }, [
334
+ G,
335
+ d,
336
+ W
337
+ ]);
338
+ function K() {
339
+ H.current = !1;
340
+ }
341
+ let q = {
342
+ role: "presentation",
343
+ ...D && { "data-id": `${D}-viewport` },
344
+ tabIndex: O.x && O.y ? -1 : 0,
345
+ className: p.className,
346
+ style: { overflow: "scroll" },
347
+ onScroll() {
348
+ d.current && (G(), H.current || j({
349
+ x: d.current.scrollLeft,
350
+ y: d.current.scrollTop
351
+ }), U.start(100, () => {
352
+ H.current = !0;
353
+ }));
354
+ },
355
+ onWheel: K,
356
+ onTouchMove: K,
357
+ onPointerMove: K,
358
+ onPointerEnter: K,
359
+ onKeyDown: K
360
+ }, ie = h.useMemo(() => ({
361
+ scrolling: z || B,
362
+ hasOverflowX: !O.x,
363
+ hasOverflowY: !O.y,
364
+ overflowXStart: L.xStart,
365
+ overflowXEnd: L.xEnd,
366
+ overflowYStart: L.yStart,
367
+ overflowYEnd: L.yEnd,
368
+ cornerHidden: O.corner
369
+ }), [
370
+ z,
371
+ B,
372
+ O.x,
373
+ O.y,
374
+ O.corner,
375
+ L
376
+ ]), ae = t("div", n, {
377
+ ref: [a, d],
378
+ state: ie,
379
+ props: [q, u],
380
+ stateAttributesMapping: w
381
+ }), J = h.useMemo(() => ({ computeThumbPosition: G }), [G]);
382
+ return /*#__PURE__*/ g(k.Provider, {
383
+ value: J,
384
+ children: ae
385
+ });
386
+ });
387
+ process.env.NODE_ENV !== "production" && (N.displayName = "ScrollAreaViewport");
388
+ function P(e) {
389
+ let t = e.clientHeight >= e.scrollHeight, n = e.clientWidth >= e.scrollWidth;
390
+ return {
391
+ y: t,
392
+ x: n,
393
+ corner: t || n
394
+ };
395
+ }
396
+ function F(e, t) {
397
+ return e.y === t.y && e.x === t.x && e.corner === t.corner ? e : t;
398
+ }
399
+ //#endregion
400
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/scrollbar/ScrollAreaScrollbarContext.mjs
401
+ var I = /*#__PURE__*/ h.createContext(void 0);
402
+ process.env.NODE_ENV !== "production" && (I.displayName = "ScrollAreaScrollbarContext");
403
+ function L() {
404
+ let e = h.useContext(I);
405
+ if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? n(54) : "Base UI: ScrollAreaScrollbarContext is missing. ScrollAreaScrollbar parts must be placed within <ScrollArea.Scrollbar>.");
406
+ return e;
407
+ }
408
+ //#endregion
409
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/scrollbar/ScrollAreaScrollbarCssVars.mjs
410
+ var R = /*#__PURE__*/ function(e) {
411
+ return e.scrollAreaThumbHeight = "--scroll-area-thumb-height", e.scrollAreaThumbWidth = "--scroll-area-thumb-width", e;
412
+ }({}), z = /*#__PURE__*/ h.forwardRef(function(e, n) {
413
+ let { render: r, className: a, orientation: s = "vertical", keepMounted: c = !1, style: l, ...f } = e, { hovering: p, scrollingX: ee, scrollingY: m, hiddenState: _, overflowEdges: v, scrollbarYRef: S, scrollbarXRef: C, viewportRef: T, thumbYRef: E, thumbXRef: D, handlePointerDown: te, handlePointerUp: O, handleScroll: ne, rootId: k, thumbSize: A, hasMeasuredScrollbar: j } = y(), M = {
414
+ hovering: p,
415
+ scrolling: {
416
+ horizontal: ee,
417
+ vertical: m
418
+ }[s],
419
+ orientation: s,
420
+ hasOverflowX: !_.x,
421
+ hasOverflowY: !_.y,
422
+ overflowXStart: v.xStart,
423
+ overflowXEnd: v.xEnd,
424
+ overflowYStart: v.yStart,
425
+ overflowYEnd: v.yEnd,
426
+ cornerHidden: _.corner
427
+ }, N = i(), P = !j && !c, F = s === "vertical" ? _.y : _.x, L = c || !F;
428
+ h.useEffect(() => {
429
+ if (!L) return;
430
+ let e = T.current, t = s === "vertical" ? S.current : C.current;
431
+ if (!t) return;
432
+ function n(n) {
433
+ if (!e || !t || n.ctrlKey) return;
434
+ let r = s === "horizontal", i = r ? "scrollLeft" : "scrollTop", a = r ? n.deltaX : n.deltaY;
435
+ if (a === 0) return;
436
+ let o = r ? e.scrollWidth - e.clientWidth : e.scrollHeight - e.clientHeight, c = r && N === "rtl" ? -o : 0, l = r && N === "rtl" ? 0 : o, u = e[i];
437
+ u <= c && a < 0 || u >= l && a > 0 || (n.preventDefault(), e[i] = Math.min(l, Math.max(c, u + a)), ne({
438
+ x: e.scrollLeft,
439
+ y: e.scrollTop
440
+ }));
441
+ }
442
+ return o(t, "wheel", n, { passive: !1 });
443
+ }, [
444
+ N,
445
+ ne,
446
+ s,
447
+ C,
448
+ S,
449
+ L,
450
+ T
451
+ ]);
452
+ let z = {
453
+ ...k && { "data-id": `${k}-scrollbar` },
454
+ onPointerDown(e) {
455
+ if (e.button !== 0) return;
456
+ let t = d(e.nativeEvent), n = s === "vertical" ? E.current : D.current;
457
+ if (!(n && u(n, t)) && T.current) {
458
+ if (E.current && S.current && s === "vertical") {
459
+ let t = x(E.current, "margin", "y"), n = x(S.current, "padding", "y"), r = E.current.offsetHeight, i = S.current.getBoundingClientRect(), a = e.clientY - i.top - r / 2 - n + t / 2, o = T.current.scrollHeight, s = T.current.clientHeight, c = a / (S.current.offsetHeight - r - n - t) * (o - s);
460
+ T.current.scrollTop = c;
461
+ }
462
+ if (D.current && C.current && s === "horizontal") {
463
+ let t = x(D.current, "margin", "x"), n = x(C.current, "padding", "x"), r = D.current.offsetWidth, i = C.current.getBoundingClientRect(), a = e.clientX - i.left - r / 2 - n + t / 2, o = T.current.scrollWidth, s = T.current.clientWidth, c = a / (C.current.offsetWidth - r - n - t), l;
464
+ N === "rtl" ? (l = (1 - c) * (o - s), T.current.scrollLeft <= 0 && (l = -l)) : l = c * (o - s), T.current.scrollLeft = l;
465
+ }
466
+ ne({
467
+ x: T.current.scrollLeft,
468
+ y: T.current.scrollTop
469
+ }), te(e);
470
+ }
471
+ },
472
+ onPointerUp: O,
473
+ onPointerCancel: O,
474
+ style: {
475
+ position: "absolute",
476
+ touchAction: "none",
477
+ WebkitUserSelect: "none",
478
+ userSelect: "none",
479
+ visibility: P ? "hidden" : void 0,
480
+ ...s === "vertical" && {
481
+ top: 0,
482
+ bottom: `var(${b.scrollAreaCornerHeight})`,
483
+ insetInlineEnd: 0,
484
+ [R.scrollAreaThumbHeight]: `${A.height}px`
485
+ },
486
+ ...s === "horizontal" && {
487
+ insetInlineStart: 0,
488
+ insetInlineEnd: `var(${b.scrollAreaCornerWidth})`,
489
+ bottom: 0,
490
+ [R.scrollAreaThumbWidth]: `${A.width}px`
491
+ }
492
+ }
493
+ }, B = t("div", e, {
494
+ ref: [n, s === "vertical" ? S : C],
495
+ state: M,
496
+ props: [z, f],
497
+ stateAttributesMapping: w
498
+ }), V = h.useMemo(() => ({ orientation: s }), [s]);
499
+ return L ? /*#__PURE__*/ g(I.Provider, {
500
+ value: V,
501
+ children: B
502
+ }) : null;
503
+ });
504
+ process.env.NODE_ENV !== "production" && (z.displayName = "ScrollAreaScrollbar");
505
+ //#endregion
506
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/thumb/ScrollAreaThumb.mjs
507
+ var B = /*#__PURE__*/ h.forwardRef(function(e, n) {
508
+ let { render: r, className: i, style: a, ...o } = e, { thumbYRef: s, thumbXRef: c, handlePointerDown: l, handlePointerMove: u, handlePointerUp: d, setScrollingX: f, setScrollingY: p, scrollingX: ee, scrollingY: m, hasMeasuredScrollbar: h } = y(), { orientation: g } = L(), _ = {
509
+ scrolling: g === "horizontal" ? ee : m,
510
+ orientation: g
511
+ };
512
+ function v(e) {
513
+ g === "vertical" && p(!1), g === "horizontal" && f(!1), d(e);
514
+ }
515
+ return t("div", e, {
516
+ ref: [n, g === "vertical" ? s : c],
517
+ state: _,
518
+ props: [{
519
+ onPointerDown: l,
520
+ onPointerMove: u,
521
+ onPointerUp: v,
522
+ onPointerCancel: v,
523
+ style: {
524
+ visibility: h ? void 0 : "hidden",
525
+ ...g === "vertical" && { height: `var(${R.scrollAreaThumbHeight})` },
526
+ ...g === "horizontal" && { width: `var(${R.scrollAreaThumbWidth})` }
527
+ }
528
+ }, o]
529
+ });
530
+ });
531
+ process.env.NODE_ENV !== "production" && (B.displayName = "ScrollAreaThumb");
532
+ //#endregion
533
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/scroll-area/corner/ScrollAreaCorner.mjs
534
+ var V = /*#__PURE__*/ h.forwardRef(function(e, n) {
535
+ let { render: r, className: i, style: a, ...o } = e, { cornerRef: s, cornerSize: c, hiddenState: l } = y(), u = t("div", e, {
536
+ ref: [n, s],
537
+ props: [{ style: {
538
+ position: "absolute",
539
+ bottom: 0,
540
+ insetInlineEnd: 0,
541
+ width: c.width,
542
+ height: c.height
543
+ } }, o]
544
+ });
545
+ return l.corner ? null : u;
546
+ });
547
+ process.env.NODE_ENV !== "production" && (V.displayName = "ScrollAreaCorner");
548
+ //#endregion
549
+ //#region lib/components/ui/atoms/scroll-area.tsx
550
+ var H = {
551
+ always: "",
552
+ auto: "",
553
+ hover: "opacity-0 data-hovering:opacity-100 data-scrolling:opacity-100 transition-opacity duration-150",
554
+ scroll: "opacity-0 data-scrolling:opacity-100 transition-opacity duration-150"
555
+ };
556
+ function re({ className: e, children: t, type: n = "auto", orientation: r = "vertical", ...i }) {
557
+ return /* @__PURE__ */ _(O, {
558
+ className: s("relative", e),
559
+ "data-slot": "scroll-area",
560
+ ...i,
561
+ children: [
562
+ /* @__PURE__ */ g(N, {
563
+ className: "size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50",
564
+ "data-slot": "scroll-area-viewport",
565
+ children: t
566
+ }),
567
+ (r === "both" ? ["vertical", "horizontal"] : [r]).map((e) => /* @__PURE__ */ g(U, {
568
+ className: H[n],
569
+ orientation: e
570
+ }, e)),
571
+ /* @__PURE__ */ g(V, {})
572
+ ]
573
+ });
574
+ }
575
+ function U({ className: e, orientation: t = "vertical", ...n }) {
576
+ return /* @__PURE__ */ g(z, {
577
+ className: s("flex touch-none select-none p-px transition-colors data-[orientation=horizontal]:h-2.5 data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2.5 data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:border-t data-[orientation=horizontal]:border-t-transparent data-[orientation=vertical]:border-l data-[orientation=vertical]:border-l-transparent", e),
578
+ "data-orientation": t,
579
+ "data-slot": "scroll-area-scrollbar",
580
+ orientation: t,
581
+ ...n,
582
+ children: /* @__PURE__ */ g(B, {
583
+ className: "relative flex-1 rounded-full bg-border",
584
+ "data-slot": "scroll-area-thumb"
585
+ })
586
+ });
587
+ }
588
+ //#endregion
589
+ export { U as n, re as t };
@@ -1,6 +1,6 @@
1
- import { t as e } from "./clamp-DQAQAGkj.js";
1
+ import { t as e } from "./clamp-BT4ayAnN.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/utils/styles.js
3
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/styles.mjs
4
4
  var n = "base-ui-disable-scrollbar", r = {
5
5
  className: n,
6
6
  getElement(e) {