@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
@@ -1,24 +0,0 @@
1
- import { r as e, t } from "./detectBrowser-FBYSu3xM.js";
2
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/utils/event.js
3
- function n(e) {
4
- e.preventDefault(), e.stopPropagation();
5
- }
6
- function r(e) {
7
- return "nativeEvent" in e;
8
- }
9
- function i(e) {
10
- return e.pointerType === "" && e.isTrusted ? !0 : t && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
11
- }
12
- function a(n) {
13
- return e ? !1 : !t && n.width === 0 && n.height === 0 || t && n.width === 1 && n.height === 1 && n.pressure === 0 && n.detail === 0 && n.pointerType === "mouse" || n.width < 1 && n.height < 1 && n.pressure === 0 && n.detail === 0 && n.pointerType === "touch";
14
- }
15
- function o(e, t) {
16
- let n = ["mouse", "pen"];
17
- return t || n.push("", void 0), n.includes(e);
18
- }
19
- function s(e) {
20
- let t = e.type;
21
- return t === "click" || t === "mousedown" || t === "keydown" || t === "keyup";
22
- }
23
- //#endregion
24
- export { a, i, o as n, n as o, r, s as t };
@@ -1,355 +0,0 @@
1
- "use client";
2
- import { t as e } from "./useIsoLayoutEffect-CKOv1bV_.js";
3
- import { t } from "./useStableCallback-CqEVb76s.js";
4
- import { c as n, m as r, t as i } from "./createBaseUIEventDetails-ChcQXp54.js";
5
- import { n as a } from "./useAnimationFrame-xwbX87TY.js";
6
- import { f as o, l as s } from "./floating-ui.utils.dom-5U5b4xPf.js";
7
- import { i as c, n as l, r as u, t as d } from "./constants-VB9bsA8p.js";
8
- import { n as f, r as p, t as m } from "./shadowDom-C-4Ejp9R.js";
9
- import { c as h, r as g } from "./shim-ieZ_MRlN.js";
10
- import { O as _, k as v } from "./popupStateMapping-PdIQcWEz.js";
11
- import { a as ee, i as te, o as y } from "./event-DWcDp5kt.js";
12
- import { a as b, c as x, i as ne, l as re, n as S, o as ie, r as ae, s as oe, t as se, u as ce } from "./composite-HOje5ugx.js";
13
- import { t as le } from "./owner-BrzQrszh.js";
14
- import { t as C } from "./useValueAsRef-CCU3eUYq.js";
15
- import { n as w } from "./useTimeout-B1x6NSZb.js";
16
- import { o as ue } from "./useOpenInteractionType-D-ymktmc.js";
17
- import * as T from "react";
18
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useListNavigation.js
19
- var E = "Escape";
20
- function D(e, t, n) {
21
- switch (e) {
22
- case "vertical": return t;
23
- case "horizontal": return n;
24
- default: return t || n;
25
- }
26
- }
27
- function O(e, t) {
28
- return D(t, e === "ArrowUp" || e === "ArrowDown", e === "ArrowLeft" || e === "ArrowRight");
29
- }
30
- function de(e, t, n) {
31
- return D(t, e === "ArrowDown", n ? e === "ArrowLeft" : e === "ArrowRight") || e === "Enter" || e === " " || e === "";
32
- }
33
- function fe(e, t, n) {
34
- return D(t, n ? e === l : e === u, e === d);
35
- }
36
- function pe(e, t, n, r) {
37
- return t === "both" || t === "horizontal" && r && r > 1 ? e === E : D(t, n ? e === u : e === l, e === c);
38
- }
39
- function k(s, c) {
40
- let { listRef: l, activeIndex: u, onNavigate: d = () => {}, enabled: x = !0, selectedIndex: w = null, allowEscape: E = !1, loopFocus: D = !1, nested: k = !1, rtl: A = !1, virtual: j = !1, focusItemOnOpen: M = "auto", focusItemOnHover: me = !0, openOnArrowKeyDown: he = !0, disabledIndices: N = void 0, orientation: P = "vertical", parentOrientation: ge, cols: F = 1, id: _e, resetOnPointerLeave: ve = !0, externalTree: ye } = c;
41
- process.env.NODE_ENV !== "production" && (E && (D || console.warn("`useListNavigation` looping must be enabled to allow escaping."), j || console.warn("`useListNavigation` must be virtual to allow escaping.")), P === "vertical" && F > 1 && console.warn("In grid list navigation mode (`cols` > 1), the `orientation` should", "be either \"horizontal\" or \"both\"."));
42
- let I = "rootStore" in s ? s.rootStore : s, L = I.useState("open"), R = I.useState("floatingElement"), z = I.useState("domReferenceElement"), be = I.context.dataRef, xe = g(R), Se = h(z), B = C(xe), Ce = _(), V = v(ye), H = T.useRef(M), U = T.useRef(w ?? -1), W = T.useRef(null), G = T.useRef(!0), K = t((e) => {
43
- d(U.current === -1 ? null : U.current, e);
44
- }), we = T.useRef(K), q = T.useRef(!!R), Te = T.useRef(L), J = T.useRef(!1), Y = T.useRef(!1), Ee = T.useRef(null), De = C(N), X = C(L), Z = C(w), Oe = C(ve), ke = a(), Ae = a(), je = t(() => {
45
- function e(e) {
46
- j ? V?.events.emit("virtualfocus", e) : Ee.current = ue(e, {
47
- sync: J.current,
48
- preventScroll: !0
49
- });
50
- }
51
- let t = l.current[U.current], n = Y.current;
52
- t && e(t), (J.current ? (e) => e() : (e) => ke.request(e))(() => {
53
- let r = l.current[U.current] || t;
54
- r && (t || e(r), Fe && (n || !G.current) && r.scrollIntoView?.({
55
- block: "nearest",
56
- inline: "nearest"
57
- }));
58
- });
59
- });
60
- e(() => {
61
- be.current.orientation = P;
62
- }, [be, P]), e(() => {
63
- x && (L && R ? (U.current = w ?? -1, H.current && w != null && (Y.current = !0, K())) : q.current && (U.current = -1, we.current()));
64
- }, [
65
- x,
66
- L,
67
- R,
68
- w,
69
- K
70
- ]), e(() => {
71
- if (x) {
72
- if (!L) {
73
- J.current = !1;
74
- return;
75
- }
76
- if (R) if (u == null) {
77
- if (J.current = !1, Z.current != null) return;
78
- if (q.current && (U.current = -1, je()), (!Te.current || !q.current) && H.current && (W.current != null || H.current === !0 && W.current == null)) {
79
- let e = 0, t = () => {
80
- l.current[0] == null ? (e < 2 && (e ? (e) => Ae.request(e) : queueMicrotask)(t), e += 1) : (U.current = W.current == null || de(W.current, P, A) || k ? oe(l) : ie(l), W.current = null, K());
81
- };
82
- t();
83
- }
84
- } else re(l.current, u) || (U.current = u, je(), Y.current = !1);
85
- }
86
- }, [
87
- x,
88
- L,
89
- R,
90
- u,
91
- Z,
92
- k,
93
- l,
94
- P,
95
- A,
96
- K,
97
- je,
98
- Ae
99
- ]), e(() => {
100
- if (!x || R || !V || j || !q.current) return;
101
- let e = V.nodesRef.current, t = e.find((e) => e.id === Ce)?.context?.elements.floating, n = m(le(R)), r = e.some((e) => e.context && f(e.context.elements.floating, n));
102
- t && !r && G.current && t.focus({ preventScroll: !0 });
103
- }, [
104
- x,
105
- R,
106
- V,
107
- Ce,
108
- j
109
- ]), e(() => {
110
- we.current = K, Te.current = L, q.current = !!R;
111
- }), e(() => {
112
- L || (W.current = null, H.current = M);
113
- }, [L, M]);
114
- let Me = u != null, Ne = t((e) => {
115
- if (!X.current) return;
116
- let t = l.current.indexOf(e.currentTarget);
117
- t !== -1 && (U.current !== t || u !== t) && (U.current = t, K(e));
118
- }), Q = t(() => ge ?? V?.nodesRef.current.find((e) => e.id === Ce)?.context?.dataRef?.current.orientation), Pe = t(() => oe(l, De.current)), $ = t((e) => {
119
- if (G.current = !1, J.current = !0, e.which === 229 || !X.current && e.currentTarget === B.current) return;
120
- if (k && pe(e.key, P, A, F)) {
121
- O(e.key, Q()) || y(e), I.setOpen(!1, i(r, e.nativeEvent)), o(z) && (j ? V?.events.emit("virtualfocus", z) : z.focus());
122
- return;
123
- }
124
- let t = U.current, n = oe(l, N), a = ie(l, N);
125
- if (Se || (e.key === "Home" && (y(e), U.current = n, K(e)), e.key === "End" && (y(e), U.current = a, K(e))), F > 1) {
126
- let t = Array.from({ length: l.current.length }, () => ({
127
- width: 1,
128
- height: 1
129
- })), r = se(t, F, !1), i = r.findIndex((e) => e != null && !ce(l.current, e, N)), o = r.reduce((e, t, n) => t != null && !ce(l.current, t, N) ? n : e, -1), s = r[b(r.map((e) => e == null ? null : l.current[e]), {
130
- event: e,
131
- orientation: P,
132
- loopFocus: D,
133
- rtl: A,
134
- cols: F,
135
- disabledIndices: ne([...(typeof N == "function" ? null : N) || l.current.map((e, t) => ce(l.current, t, N) ? t : void 0), void 0], r),
136
- minIndex: i,
137
- maxIndex: o,
138
- prevIndex: ae(U.current > a ? n : U.current, t, r, F, e.key === "ArrowDown" ? "bl" : e.key === (A ? "ArrowLeft" : "ArrowRight") ? "tr" : "tl"),
139
- stopEvent: !0
140
- })];
141
- if (s != null && (U.current = s, K(e)), P === "both") return;
142
- }
143
- if (O(e.key, P)) {
144
- if (y(e), L && !j && m(e.currentTarget.ownerDocument) === e.currentTarget) {
145
- U.current = de(e.key, P, A) ? n : a, K(e);
146
- return;
147
- }
148
- de(e.key, P, A) ? D ? t >= a ? E && t !== l.current.length ? U.current = -1 : (J.current = !1, U.current = n) : U.current = S(l.current, {
149
- startingIndex: t,
150
- disabledIndices: N
151
- }) : U.current = Math.min(a, S(l.current, {
152
- startingIndex: t,
153
- disabledIndices: N
154
- })) : D ? t <= n ? E && t !== -1 ? U.current = l.current.length : (J.current = !1, U.current = a) : U.current = S(l.current, {
155
- startingIndex: t,
156
- decrement: !0,
157
- disabledIndices: N
158
- }) : U.current = Math.max(n, S(l.current, {
159
- startingIndex: t,
160
- decrement: !0,
161
- disabledIndices: N
162
- })), re(l.current, U.current) && (U.current = -1), K(e);
163
- }
164
- }), Fe = T.useMemo(() => ({
165
- onFocus(e) {
166
- J.current = !0, Ne(e);
167
- },
168
- onClick: ({ currentTarget: e }) => e.focus({ preventScroll: !0 }),
169
- onMouseMove(e) {
170
- J.current = !0, Y.current = !1, me && Ne(e);
171
- },
172
- onPointerLeave(e) {
173
- if (!X.current || !G.current || e.pointerType === "touch") return;
174
- J.current = !0;
175
- let t = e.relatedTarget;
176
- if (!(!me || l.current.includes(t)) && Oe.current && (Ee.current?.(), Ee.current = null, U.current = -1, K(e), !j)) {
177
- let e = B.current, t = m(le(e));
178
- e && f(e, t) && e.focus({ preventScroll: !0 });
179
- }
180
- }
181
- }), [
182
- Ne,
183
- X,
184
- B,
185
- me,
186
- l,
187
- K,
188
- Oe,
189
- j
190
- ]), Ie = T.useMemo(() => j && L && Me && { "aria-activedescendant": `${_e}-${u}` }, [
191
- j,
192
- L,
193
- Me,
194
- _e,
195
- u
196
- ]), Le = T.useMemo(() => ({
197
- "aria-orientation": P === "both" ? void 0 : P,
198
- ...Se ? {} : Ie,
199
- onKeyDown(e) {
200
- if (e.key === "Tab" && e.shiftKey && L && !j) {
201
- let t = p(e.nativeEvent);
202
- if (t && !f(B.current, t)) return;
203
- y(e), I.setOpen(!1, i(n, e.nativeEvent)), o(z) && z.focus();
204
- return;
205
- }
206
- $(e);
207
- },
208
- onPointerMove() {
209
- G.current = !0;
210
- }
211
- }), [
212
- Ie,
213
- $,
214
- B,
215
- P,
216
- Se,
217
- I,
218
- L,
219
- j,
220
- z
221
- ]), Re = T.useMemo(() => {
222
- function e(e) {
223
- I.setOpen(!0, i(r, e.nativeEvent, e.currentTarget));
224
- }
225
- function t(e) {
226
- M === "auto" && te(e.nativeEvent) && (H.current = !j);
227
- }
228
- function n(e) {
229
- H.current = M, M === "auto" && ee(e.nativeEvent) && (H.current = !0);
230
- }
231
- return {
232
- onKeyDown(t) {
233
- let n = I.select("open");
234
- G.current = !1;
235
- let r = t.key.startsWith("Arrow"), i = fe(t.key, Q(), A), a = O(t.key, P), o = (k ? i : a) || t.key === "Enter" || t.key.trim() === "";
236
- if (j && n) return $(t);
237
- if (!(!n && !he && r)) {
238
- if (o) {
239
- let e = O(t.key, Q());
240
- W.current = k && e ? null : t.key;
241
- }
242
- if (k) {
243
- i && (y(t), n ? (U.current = Pe(), K(t)) : e(t));
244
- return;
245
- }
246
- a && (Z.current != null && (U.current = Z.current), y(t), !n && he ? e(t) : $(t), n && K(t));
247
- }
248
- },
249
- onFocus(e) {
250
- I.select("open") && !j && (U.current = -1, K(e));
251
- },
252
- onPointerDown: n,
253
- onPointerEnter: n,
254
- onMouseDown: t,
255
- onClick: t
256
- };
257
- }, [
258
- $,
259
- M,
260
- Pe,
261
- k,
262
- K,
263
- I,
264
- he,
265
- P,
266
- Q,
267
- A,
268
- Z,
269
- j
270
- ]), ze = T.useMemo(() => ({
271
- ...Ie,
272
- ...Re
273
- }), [Ie, Re]);
274
- return T.useMemo(() => x ? {
275
- reference: ze,
276
- floating: Le,
277
- item: Fe,
278
- trigger: Re
279
- } : {}, [
280
- x,
281
- ze,
282
- Le,
283
- Re,
284
- Fe
285
- ]);
286
- }
287
- //#endregion
288
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useTypeahead.js
289
- function A(n, r) {
290
- let { listRef: i, elementsRef: a, activeIndex: o, onMatch: s, onTyping: c, enabled: l = !0, resetMs: u = 750, selectedIndex: d = null } = r, p = "rootStore" in n ? n.rootStore : n, m = p.useState("open"), h = w(), g = T.useRef(""), _ = T.useRef(d ?? o ?? -1), v = T.useRef(null), ee = t((e) => {
291
- function t(e) {
292
- let t = a?.current[e];
293
- return !t || x(t);
294
- }
295
- function n(e, n, r = 0) {
296
- if (e.length === 0) return -1;
297
- let i = (r % e.length + e.length) % e.length, a = n.toLocaleLowerCase();
298
- for (let n = 0; n < e.length; n += 1) {
299
- let r = (i + n) % e.length;
300
- if (!(!e[r]?.toLocaleLowerCase().startsWith(a) || !t(r))) return r;
301
- }
302
- return -1;
303
- }
304
- let r = i.current;
305
- if (g.current.length > 0 && e.key === " " && (y(e), c?.(!0)), g.current.length > 0 && g.current[0] !== " " && n(r, g.current) === -1 && e.key !== " " && c?.(!1), r == null || e.key.length !== 1 || e.ctrlKey || e.metaKey || e.altKey) return;
306
- m && e.key !== " " && (y(e), c?.(!0));
307
- let l = g.current === "";
308
- l && (_.current = d ?? o ?? -1), r.every((e) => e ? e[0]?.toLocaleLowerCase() !== e[1]?.toLocaleLowerCase() : !0) && g.current === e.key && (g.current = "", _.current = v.current), g.current += e.key, h.start(u, () => {
309
- g.current = "", _.current = v.current, c?.(!1);
310
- });
311
- let f = ((l ? d ?? o ?? -1 : _.current) ?? 0) + 1, p = n(r, g.current, f);
312
- p === -1 ? e.key !== " " && (g.current = "", c?.(!1)) : (s?.(p), v.current = p);
313
- }), te = t((e) => {
314
- let t = e.relatedTarget, n = p.select("domReferenceElement"), r = p.select("floatingElement");
315
- f(n, t) || f(r, t) || (h.clear(), g.current = "", _.current = v.current, c?.(!1));
316
- });
317
- e(() => {
318
- !m && d !== null || (h.clear(), v.current = null, g.current !== "" && (g.current = ""));
319
- }, [
320
- m,
321
- d,
322
- h
323
- ]), e(() => {
324
- m && g.current === "" && (_.current = d ?? o ?? -1);
325
- }, [
326
- m,
327
- d,
328
- o
329
- ]);
330
- let b = T.useMemo(() => ({
331
- onKeyDown: ee,
332
- onBlur: te
333
- }), [ee, te]);
334
- return T.useMemo(() => l ? {
335
- reference: b,
336
- floating: b
337
- } : {}, [l, b]);
338
- }
339
- //#endregion
340
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js
341
- function j(e) {
342
- let t = e.getBoundingClientRect();
343
- if (process.env.NODE_ENV !== "production") return t;
344
- let n = s(e), r = n.getComputedStyle(e, "::before"), i = n.getComputedStyle(e, "::after");
345
- if (!(r.content !== "none" || i.content !== "none")) return t;
346
- let a = parseFloat(r.width) || 0, o = parseFloat(r.height) || 0, c = parseFloat(i.width) || 0, l = parseFloat(i.height) || 0, u = Math.max(t.width, a, c), d = Math.max(t.height, o, l), f = u - t.width, p = d - t.height;
347
- return {
348
- left: t.left - f / 2,
349
- right: t.right + f / 2,
350
- top: t.top - p / 2,
351
- bottom: t.bottom + p / 2
352
- };
353
- }
354
- //#endregion
355
- export { A as n, k as r, j as t };
@@ -1,7 +0,0 @@
1
- import { c as e } from "./useRenderElement-CmuWsiNa.js";
2
- //#region ../../node_modules/.bun/@base-ui+utils@0.2.9+f7941a290aa3d619/node_modules/@base-ui/utils/esm/inertValue.js
3
- function t(t) {
4
- return e(19) ? t : t ? "true" : void 0;
5
- }
6
- //#endregion
7
- export { t };
@@ -1,91 +0,0 @@
1
- "use client";
2
- import { t as e } from "./useControlled-ZBScq72P.js";
3
- import { t } from "./useIsoLayoutEffect-CKOv1bV_.js";
4
- import { t as n } from "./useRenderElement-CmuWsiNa.js";
5
- import { t as r } from "./useStableCallback-CqEVb76s.js";
6
- import { g as i, t as a } from "./createBaseUIEventDetails-ChcQXp54.js";
7
- import { t as o } from "./shadowDom-C-4Ejp9R.js";
8
- import { t as s } from "./owner-BrzQrszh.js";
9
- import { cn as c } from "./lib/utils.js";
10
- import { i as l, n as u, r as d, t as f } from "./LabelableContext-Q1Z-xUI9.js";
11
- import { t as p } from "./useLabelableId-Dgoo7-Ly.js";
12
- import * as m from "react";
13
- import { jsx as h } from "react/jsx-runtime";
14
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/field/control/FieldControl.js
15
- var g = /*#__PURE__*/ m.forwardRef(function(c, h) {
16
- let { render: g, className: _, id: v, name: y, value: b, disabled: x = !1, onValueChange: S, defaultValue: C, autoFocus: w = !1, style: T, ...E } = c, { state: D, name: O, disabled: k, setTouched: A, setDirty: j, validityData: M, setFocused: N, setFilled: P, validationMode: F, validation: I } = d(), L = k || x, R = O ?? y, z = {
17
- ...D,
18
- disabled: L
19
- }, { labelId: B } = f(), V = p({ id: v });
20
- t(() => {
21
- let e = b != null;
22
- I.inputRef.current?.value || e && b !== "" ? P(!0) : e && b === "" && P(!1);
23
- }, [
24
- I.inputRef,
25
- P,
26
- b
27
- ]);
28
- let H = m.useRef(null);
29
- t(() => {
30
- w && H.current === o(s(H.current)) && N(!0);
31
- }, [w, N]);
32
- let [U] = e({
33
- controlled: b,
34
- default: C,
35
- name: "FieldControl",
36
- state: "value"
37
- }), W = b !== void 0, G = W ? U : void 0, K = r(() => I.inputRef.current?.value);
38
- return u(I.inputRef, V, G, K), n("input", c, {
39
- ref: [h, H],
40
- state: z,
41
- props: [
42
- {
43
- id: V,
44
- disabled: L,
45
- name: R,
46
- ref: I.inputRef,
47
- "aria-labelledby": B,
48
- autoFocus: w,
49
- ...W ? { value: G } : { defaultValue: C },
50
- onChange(e) {
51
- let t = e.currentTarget.value;
52
- S?.(t, a(i, e.nativeEvent)), j(t !== M.initialValue), P(t !== "");
53
- },
54
- onFocus() {
55
- N(!0);
56
- },
57
- onBlur(e) {
58
- A(!0), N(!1), F === "onBlur" && I.commit(e.currentTarget.value);
59
- },
60
- onKeyDown(e) {
61
- e.currentTarget.tagName === "INPUT" && e.key === "Enter" && (A(!0), I.commit(e.currentTarget.value));
62
- }
63
- },
64
- I.getInputValidationProps(),
65
- E
66
- ],
67
- stateAttributesMapping: l
68
- });
69
- });
70
- process.env.NODE_ENV !== "production" && (g.displayName = "FieldControl");
71
- //#endregion
72
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/input/Input.js
73
- var _ = /*#__PURE__*/ m.forwardRef(function(e, t) {
74
- return /*#__PURE__*/ h(g, {
75
- ref: t,
76
- ...e
77
- });
78
- });
79
- process.env.NODE_ENV !== "production" && (_.displayName = "Input");
80
- //#endregion
81
- //#region lib/components/ui/atoms/input.tsx
82
- function v({ className: e, type: t, ...n }) {
83
- return /* @__PURE__ */ h(_, {
84
- className: c("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-2.5 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] file:inline-flex file:h-7 file:border-0 file:bg-transparent file:font-medium file:text-foreground file:text-sm placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", e),
85
- "data-slot": "input",
86
- type: t,
87
- ...n
88
- });
89
- }
90
- //#endregion
91
- export { v as t };
@@ -1,3 +0,0 @@
1
- "use client";
2
- import { a as e } from "./markdown-D3ExE6yF.js";
3
- export { e as Mermaid };
@@ -1,6 +0,0 @@
1
- //#region ../../node_modules/.bun/@base-ui+utils@0.2.9+f7941a290aa3d619/node_modules/@base-ui/utils/esm/owner.js
2
- function e(e) {
3
- return e?.ownerDocument || document;
4
- }
5
- //#endregion
6
- export { e as t };