@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,8 +1,8 @@
1
1
  "use client";
2
- import { t as e } from "./useIsoLayoutEffect-CKOv1bV_.js";
3
- import { o as t, s as n, u as r } from "./useRenderElement-CmuWsiNa.js";
2
+ import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
3
+ import { o as t, s as n, u as r } from "./useRenderElement-BToElZ97.js";
4
4
  import * as i from "react";
5
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/field/control/FieldControlDataAttributes.js
5
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/field/control/FieldControlDataAttributes.mjs
6
6
  var a = /*#__PURE__*/ function(e) {
7
7
  return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
8
8
  }({}), o = {
@@ -56,10 +56,11 @@ var a = /*#__PURE__*/ function(e) {
56
56
  markedDirtyRef: { current: !1 },
57
57
  registerFieldControl: n,
58
58
  validation: {
59
- getValidationProps: (e = t) => e,
60
- getInputValidationProps: (e = t) => e,
59
+ getValidationProps: (e, n = t) => n,
61
60
  inputRef: { current: null },
62
- commit: async () => {}
61
+ registerInput: n,
62
+ commit: async () => {},
63
+ change: n
63
64
  }
64
65
  }, d = /*#__PURE__*/ i.createContext(u);
65
66
  process.env.NODE_ENV !== "production" && (d.displayName = "FieldRootContext");
@@ -69,18 +70,19 @@ function f(e = !0) {
69
70
  return t;
70
71
  }
71
72
  //#endregion
72
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/internals/field-register-control/useRegisterFieldControl.js
73
- function p(t, n, r, a, o = !0) {
74
- let { registerFieldControl: s } = f(), c = i.useRef(null);
75
- c.current ||= Symbol(), e(() => {
76
- let e = c.current;
77
- if (!(!e || !o)) return s(e, {
73
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/field-register-control/useRegisterFieldControl.mjs
74
+ function p(t, n, r, a, o = !0, s) {
75
+ let { registerFieldControl: c } = f(), l = i.useRef(null);
76
+ l.current ||= Symbol(), e(() => {
77
+ let e = l.current;
78
+ if (!(!e || !o)) return c(e, {
78
79
  controlRef: t,
79
80
  getValue: a,
80
81
  id: n,
82
+ name: s,
81
83
  value: r
82
84
  }), () => {
83
- s(e, void 0);
85
+ c(e, void 0);
84
86
  };
85
87
  }, [
86
88
  t,
@@ -88,12 +90,26 @@ function p(t, n, r, a, o = !0) {
88
90
  a,
89
91
  n,
90
92
  s,
93
+ c,
91
94
  r
92
95
  ]);
93
96
  }
94
97
  //#endregion
95
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/internals/labelable-provider/LabelableContext.js
98
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/form-context/FormContext.mjs
96
99
  var m = /*#__PURE__*/ i.createContext({
100
+ formRef: { current: { fields: /* @__PURE__ */ new Map() } },
101
+ errors: {},
102
+ clearErrors: n,
103
+ validationMode: "onSubmit",
104
+ submitAttemptedRef: { current: !1 }
105
+ });
106
+ process.env.NODE_ENV !== "production" && (m.displayName = "FormContext");
107
+ function h() {
108
+ return i.useContext(m);
109
+ }
110
+ //#endregion
111
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/labelable-provider/LabelableContext.mjs
112
+ var g = /*#__PURE__*/ i.createContext({
97
113
  controlId: void 0,
98
114
  registerControlId: n,
99
115
  labelId: void 0,
@@ -102,9 +118,9 @@ var m = /*#__PURE__*/ i.createContext({
102
118
  setMessageIds: n,
103
119
  getDescriptionProps: (e) => e
104
120
  });
105
- process.env.NODE_ENV !== "production" && (m.displayName = "LabelableContext");
106
- function h() {
107
- return i.useContext(m);
121
+ process.env.NODE_ENV !== "production" && (g.displayName = "LabelableContext");
122
+ function _() {
123
+ return i.useContext(g);
108
124
  }
109
125
  //#endregion
110
- export { l as i, p as n, f as r, h as t };
126
+ export { l as a, f as i, h as n, p as r, _ as t };
@@ -0,0 +1,600 @@
1
+ "use client";
2
+ import { t as e } from "./rolldown-runtime-Dqa2HsxW.js";
3
+ import { t } from "./useIsoLayoutEffect-4LGv3HzC.js";
4
+ import { c as n, f as r, o as i, s as a, t as o, u as s } from "./useRenderElement-BToElZ97.js";
5
+ import { t as c } from "./useStableCallback-CrM0Nb2q.js";
6
+ import { t as l } from "./useId-Bzr7_bed.js";
7
+ import { t as u } from "./createBaseUIEventDetails-C_dwdqj4.js";
8
+ import { a as d, f, g as p, m, t as h } from "./floating-ui.utils.dom-5U5b4xPf.js";
9
+ import { t as g } from "./addEventListener-BlQH_qk1.js";
10
+ import { t as _ } from "./owner-CyZnQOKt.js";
11
+ import { N as v, i as y } from "./composite-B-tEa-Zg.js";
12
+ import { t as b } from "./engine-ChH4dTze.js";
13
+ import { n as x, t as S } from "./shadowDom-BACsbimN.js";
14
+ import { n as C, t as w } from "./shim-BX-2V17R.js";
15
+ import { t as ee } from "./visuallyHidden-Cq5CW65k.js";
16
+ import * as T from "react";
17
+ import { jsx as E, jsxs as te } from "react/jsx-runtime";
18
+ import * as D from "react-dom";
19
+ //#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/platform/screen-reader.mjs
20
+ var ne = v;
21
+ //#endregion
22
+ //#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/mergeCleanups.mjs
23
+ function O(...e) {
24
+ return () => {
25
+ for (let t = 0; t < e.length; t += 1) {
26
+ let n = e[t];
27
+ n && n();
28
+ }
29
+ };
30
+ }
31
+ //#endregion
32
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/FocusGuard.mjs
33
+ var k = /*#__PURE__*/ T.forwardRef(function(e, n) {
34
+ let [r, i] = T.useState();
35
+ t(() => {
36
+ ne && b && i("button");
37
+ }, []);
38
+ let a = {
39
+ tabIndex: 0,
40
+ role: r
41
+ };
42
+ return /*#__PURE__*/ E("span", {
43
+ ...e,
44
+ ref: n,
45
+ style: ee,
46
+ "aria-hidden": r ? void 0 : !0,
47
+ ...a,
48
+ "data-base-ui-focus-guard": ""
49
+ });
50
+ });
51
+ process.env.NODE_ENV !== "production" && (k.displayName = "FocusGuard");
52
+ //#endregion
53
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/utils/tabbable.mjs
54
+ var re = "a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable=\"false\"]),audio[controls],video[controls]";
55
+ function ie(e) {
56
+ let t = e.assignedSlot;
57
+ if (t) return t;
58
+ if (e.parentElement) return e.parentElement;
59
+ let n = e.getRootNode();
60
+ return p(n) ? n.host : null;
61
+ }
62
+ function A(e) {
63
+ for (let t of Array.from(e.children)) if (d(t) === "summary") return t;
64
+ return null;
65
+ }
66
+ function ae(e, t) {
67
+ let n = A(t);
68
+ return !!n && (e === n || x(n, e));
69
+ }
70
+ function oe(e) {
71
+ let t = e ? d(e) : "";
72
+ return e != null && e.matches(re) && (t !== "summary" || e.parentElement != null && d(e.parentElement) === "details" && A(e.parentElement) === e) && (t !== "details" || A(e) == null) && (t !== "input" || e.type !== "hidden");
73
+ }
74
+ function j(e) {
75
+ if (!oe(e) || !e.isConnected || e.matches(":disabled")) return !1;
76
+ for (let t = e; t; t = ie(t)) {
77
+ let n = t !== e, r = d(t) === "slot";
78
+ if (t.hasAttribute("inert") || n && d(t) === "details" && !t.open && !ae(e, t) || t.hasAttribute("hidden") || !r && !se(t, n)) return !1;
79
+ }
80
+ return !0;
81
+ }
82
+ function se(e, t) {
83
+ let n = h(e);
84
+ return t ? n.display !== "none" : y(e, n);
85
+ }
86
+ function M(e) {
87
+ let t = e.tabIndex;
88
+ if (t < 0) {
89
+ let t = d(e);
90
+ if (t === "details" || t === "audio" || t === "video" || f(e) && e.isContentEditable) return 0;
91
+ }
92
+ return t;
93
+ }
94
+ function N(e) {
95
+ if (d(e) !== "input") return null;
96
+ let t = e;
97
+ return t.type === "radio" && t.name !== "" ? t : null;
98
+ }
99
+ function ce(e, t) {
100
+ let n = N(e);
101
+ if (!n) return !0;
102
+ let r = t.find((e) => {
103
+ let t = N(e);
104
+ return t?.name === n.name && t.form === n.form && t.checked;
105
+ });
106
+ return r ? r === n : t.find((e) => {
107
+ let t = N(e);
108
+ return t?.name === n.name && t.form === n.form;
109
+ }) === n;
110
+ }
111
+ function P(e) {
112
+ if (f(e) && d(e) === "slot") {
113
+ let t = e.assignedElements({ flatten: !0 });
114
+ if (t.length > 0) return t;
115
+ }
116
+ return f(e) && e.shadowRoot ? Array.from(e.shadowRoot.children) : Array.from(e.children);
117
+ }
118
+ function F(e, t) {
119
+ P(e).forEach((e) => {
120
+ oe(e) && t.push(e), F(e, t);
121
+ });
122
+ }
123
+ function I(e, t, n) {
124
+ P(e).forEach((e) => {
125
+ f(e) && e.matches(t) && n.push(e), I(e, t, n);
126
+ });
127
+ }
128
+ function le(e) {
129
+ return j(e) && M(e) >= 0;
130
+ }
131
+ function L(e) {
132
+ let t = [];
133
+ return F(e, t), t.filter(j);
134
+ }
135
+ function R(e) {
136
+ let t = L(e);
137
+ return t.filter((e) => M(e) >= 0 && ce(e, t));
138
+ }
139
+ function z(e, t) {
140
+ let n = R(e), r = n.length;
141
+ if (r === 0) return;
142
+ let i = S(_(e)), a = n.indexOf(i);
143
+ return n[a === -1 ? t === 1 ? 0 : r - 1 : a + t];
144
+ }
145
+ function B(e) {
146
+ return z(_(e).body, 1) || e;
147
+ }
148
+ function V(e) {
149
+ return z(_(e).body, -1) || e;
150
+ }
151
+ function H(e, t) {
152
+ if (!e) return null;
153
+ let n = R(_(e).body), r = n.length;
154
+ if (r === 0) return null;
155
+ let i = n.indexOf(e);
156
+ return i === -1 ? null : n[(i + t + r) % r];
157
+ }
158
+ function ue(e) {
159
+ return H(e, 1);
160
+ }
161
+ function de(e) {
162
+ return H(e, -1);
163
+ }
164
+ function U(e, t) {
165
+ let n = t || e.currentTarget, r = e.relatedTarget;
166
+ return !r || !x(n, r);
167
+ }
168
+ function fe(e) {
169
+ R(e).forEach((e) => {
170
+ e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
171
+ });
172
+ }
173
+ function W(e) {
174
+ let t = [];
175
+ I(e, "[data-tabindex]", t), t.forEach((e) => {
176
+ let t = e.dataset.tabindex;
177
+ delete e.dataset.tabindex, t ? e.setAttribute("tabindex", t) : e.removeAttribute("tabindex");
178
+ });
179
+ }
180
+ //#endregion
181
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/utils/createAttribute.mjs
182
+ function G(e) {
183
+ return `data-base-ui-${e}`;
184
+ }
185
+ //#endregion
186
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/constants.mjs
187
+ var pe = { style: { transition: "none" } }, me = "data-base-ui-click-trigger", he = "data-base-ui-swipe-ignore", ge = "data-swipe-ignore", _e = `[${he}]`, ve = `[${ge}]`, ye = { fallbackAxisSide: "none" }, be = { fallbackAxisSide: "end" }, xe = {
188
+ clipPath: "inset(50%)",
189
+ position: "fixed",
190
+ top: 0,
191
+ left: 0
192
+ }, K = /*#__PURE__*/ T.createContext(null);
193
+ process.env.NODE_ENV !== "production" && (K.displayName = "PortalContext");
194
+ var q = () => T.useContext(K), Se = G("portal");
195
+ function J(e = {}) {
196
+ let { ref: n, container: r, componentProps: a = i, elementProps: s } = e, u = l(), d = q()?.portalNode, [f, p] = T.useState(null), [h, g] = T.useState(null), _ = c((e) => {
197
+ e !== null && g(e);
198
+ }), v = T.useRef(null);
199
+ t(() => {
200
+ if (r === null) {
201
+ v.current && (v.current = null, g(null), p(null));
202
+ return;
203
+ }
204
+ if (u == null) return;
205
+ let e = (r && (m(r) ? r : r.current)) ?? d ?? document.body;
206
+ if (e == null) {
207
+ v.current && (v.current = null, g(null), p(null));
208
+ return;
209
+ }
210
+ v.current !== e && (v.current = e, g(null), p(e));
211
+ }, [
212
+ r,
213
+ d,
214
+ u
215
+ ]);
216
+ let y = o("div", a, {
217
+ ref: [n, _],
218
+ props: [{
219
+ id: u,
220
+ [Se]: ""
221
+ }, s]
222
+ });
223
+ return {
224
+ portalNode: h,
225
+ portalSubtree: f && y ? /*#__PURE__*/ D.createPortal(y, f) : null
226
+ };
227
+ }
228
+ var Y = /*#__PURE__*/ T.forwardRef(function(e, n) {
229
+ let { render: r, className: i, style: a, children: o, container: s, renderGuards: c, ...l } = e, { portalNode: d, portalSubtree: f } = J({
230
+ container: s,
231
+ ref: n,
232
+ componentProps: e,
233
+ elementProps: l
234
+ }), p = T.useRef(null), m = T.useRef(null), h = T.useRef(null), _ = T.useRef(null), [v, y] = T.useState(null), b = T.useRef(!1), x = v?.modal, S = v?.open, C = typeof c == "boolean" ? c : !!v && !v.modal && v.open && !!d;
235
+ T.useEffect(() => {
236
+ if (!d || x) return;
237
+ function e(e) {
238
+ d && e.relatedTarget && U(e) && (e.type === "focusin" ? b.current &&= (W(d), !1) : (fe(d), b.current = !0));
239
+ }
240
+ return O(g(d, "focusin", e, !0), g(d, "focusout", e, !0));
241
+ }, [d, x]), t(() => {
242
+ !d || S !== !0 || !b.current || (W(d), b.current = !1);
243
+ }, [S, d]);
244
+ let w = T.useMemo(() => ({
245
+ beforeOutsideRef: p,
246
+ afterOutsideRef: m,
247
+ beforeInsideRef: h,
248
+ afterInsideRef: _,
249
+ portalNode: d,
250
+ setFocusManagerState: y
251
+ }), [d]);
252
+ return /*#__PURE__*/ te(T.Fragment, { children: [f, /*#__PURE__*/ te(K.Provider, {
253
+ value: w,
254
+ children: [
255
+ C && d && /*#__PURE__*/ E(k, {
256
+ "data-type": "outside",
257
+ ref: p,
258
+ onFocus: (e) => {
259
+ U(e, d) ? h.current?.focus() : V(v ? v.domReference : null)?.focus();
260
+ }
261
+ }),
262
+ C && d && /*#__PURE__*/ E("span", {
263
+ "aria-owns": d.id,
264
+ style: xe
265
+ }),
266
+ d && /*#__PURE__*/ D.createPortal(o, d),
267
+ C && d && /*#__PURE__*/ E(k, {
268
+ "data-type": "outside",
269
+ ref: m,
270
+ onFocus: (e) => {
271
+ U(e, d) ? _.current?.focus() : (B(v ? v.domReference : null)?.focus(), v?.closeOnFocusOut && v?.onOpenChange(!1, u("focus-out", e.nativeEvent)));
272
+ }
273
+ })
274
+ ]
275
+ })] });
276
+ });
277
+ process.env.NODE_ENV !== "production" && (Y.displayName = "FloatingPortal");
278
+ //#endregion
279
+ //#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/store/createSelector.mjs
280
+ var Ce = (e, t, n, r, i, a, ...o) => {
281
+ if (o.length > 0) throw Error(process.env.NODE_ENV === "production" ? s(1) : "Unsupported number of selectors");
282
+ let c;
283
+ if (e && t && n && r && i && a) c = (o, s, c, l) => a(e(o, s, c, l), t(o, s, c, l), n(o, s, c, l), r(o, s, c, l), i(o, s, c, l), s, c, l);
284
+ else if (e && t && n && r && i) c = (a, o, s, c) => i(e(a, o, s, c), t(a, o, s, c), n(a, o, s, c), r(a, o, s, c), o, s, c);
285
+ else if (e && t && n && r) c = (i, a, o, s) => r(e(i, a, o, s), t(i, a, o, s), n(i, a, o, s), a, o, s);
286
+ else if (e && t && n) c = (r, i, a, o) => n(e(r, i, a, o), t(r, i, a, o), i, a, o);
287
+ else if (e && t) c = (n, r, i, a) => t(e(n, r, i, a), r, i, a);
288
+ else if (e) c = e;
289
+ else throw Error("Missing arguments");
290
+ return c;
291
+ }, we = /* @__PURE__ */ e(((e) => {
292
+ var t = C(), n = w();
293
+ function r(e, t) {
294
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
295
+ }
296
+ var i = typeof Object.is == "function" ? Object.is : r, a = n.useSyncExternalStore, o = t.useRef, s = t.useEffect, c = t.useMemo, l = t.useDebugValue;
297
+ e.useSyncExternalStoreWithSelector = function(e, t, n, r, u) {
298
+ var d = o(null);
299
+ if (d.current === null) {
300
+ var f = {
301
+ hasValue: !1,
302
+ value: null
303
+ };
304
+ d.current = f;
305
+ } else f = d.current;
306
+ d = c(function() {
307
+ function e(e) {
308
+ if (!a) {
309
+ if (a = !0, o = e, e = r(e), u !== void 0 && f.hasValue) {
310
+ var t = f.value;
311
+ if (u(t, e)) return s = t;
312
+ }
313
+ return s = e;
314
+ }
315
+ if (t = s, i(o, e)) return t;
316
+ var n = r(e);
317
+ return u !== void 0 && u(t, n) ? (o = e, t) : (o = e, s = n);
318
+ }
319
+ var a = !1, o, s, c = n === void 0 ? null : n;
320
+ return [function() {
321
+ return e(t());
322
+ }, c === null ? void 0 : function() {
323
+ return e(c());
324
+ }];
325
+ }, [
326
+ t,
327
+ n,
328
+ r,
329
+ u
330
+ ]);
331
+ var p = a(e, d[0], d[1]);
332
+ return s(function() {
333
+ f.hasValue = !0, f.value = p;
334
+ }, [p]), l(p), p;
335
+ };
336
+ })), Te = /* @__PURE__ */ e(((e) => {
337
+ process.env.NODE_ENV !== "production" && (function() {
338
+ function t(e, t) {
339
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
340
+ }
341
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
342
+ var n = C(), r = w(), i = typeof Object.is == "function" ? Object.is : t, a = r.useSyncExternalStore, o = n.useRef, s = n.useEffect, c = n.useMemo, l = n.useDebugValue;
343
+ e.useSyncExternalStoreWithSelector = function(e, t, n, r, u) {
344
+ var d = o(null);
345
+ if (d.current === null) {
346
+ var f = {
347
+ hasValue: !1,
348
+ value: null
349
+ };
350
+ d.current = f;
351
+ } else f = d.current;
352
+ d = c(function() {
353
+ function e(e) {
354
+ if (!a) {
355
+ if (a = !0, o = e, e = r(e), u !== void 0 && f.hasValue) {
356
+ var t = f.value;
357
+ if (u(t, e)) return s = t;
358
+ }
359
+ return s = e;
360
+ }
361
+ if (t = s, i(o, e)) return t;
362
+ var n = r(e);
363
+ return u !== void 0 && u(t, n) ? (o = e, t) : (o = e, s = n);
364
+ }
365
+ var a = !1, o, s, c = n === void 0 ? null : n;
366
+ return [function() {
367
+ return e(t());
368
+ }, c === null ? void 0 : function() {
369
+ return e(c());
370
+ }];
371
+ }, [
372
+ t,
373
+ n,
374
+ r,
375
+ u
376
+ ]);
377
+ var p = a(e, d[0], d[1]);
378
+ return s(function() {
379
+ f.hasValue = !0, f.value = p;
380
+ }, [p]), l(p), p;
381
+ }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
382
+ })();
383
+ })), Ee = /* @__PURE__ */ e(((e, t) => {
384
+ process.env.NODE_ENV === "production" ? t.exports = we() : t.exports = Te();
385
+ })), X = w(), De = Ee(), Z = [], Q = void 0;
386
+ function Oe() {
387
+ return Q;
388
+ }
389
+ function ke(e) {
390
+ Z.push(e);
391
+ }
392
+ function Ae(e) {
393
+ let t = (t, n) => {
394
+ let i = r(Me).current, a;
395
+ try {
396
+ Q = i;
397
+ for (let e of Z) e.before(i);
398
+ a = e(t, n);
399
+ for (let e of Z) e.after(i);
400
+ i.didInitialize = !0;
401
+ } finally {
402
+ Q = void 0;
403
+ }
404
+ return a;
405
+ };
406
+ return t.displayName = e.displayName || e.name, t;
407
+ }
408
+ function je(e) {
409
+ return /*#__PURE__*/ T.forwardRef(Ae(e));
410
+ }
411
+ function Me() {
412
+ return { didInitialize: !1 };
413
+ }
414
+ //#endregion
415
+ //#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/store/useStore.mjs
416
+ var Ne = n(19) ? Fe : Ie;
417
+ function $(e, t, n, r, i) {
418
+ return Ne(e, t, n, r, i);
419
+ }
420
+ function Pe(e, t, n, r, i) {
421
+ let a = T.useCallback(() => t(e.getSnapshot(), n, r, i), [
422
+ e,
423
+ t,
424
+ n,
425
+ r,
426
+ i
427
+ ]);
428
+ return (0, X.useSyncExternalStore)(e.subscribe, a, a);
429
+ }
430
+ ke({
431
+ before(e) {
432
+ e.syncIndex = 0, e.didInitialize || (e.syncTick = 1, e.syncHooks = [], e.didChangeStore = !0, e.getSnapshot = () => {
433
+ let t = !1;
434
+ for (let n = 0; n < e.syncHooks.length; n += 1) {
435
+ let r = e.syncHooks[n], i = r.selector(r.store.state, r.a1, r.a2, r.a3);
436
+ Object.is(r.value, i) || (t = !0, r.value = i);
437
+ }
438
+ return t && (e.syncTick += 1), e.syncTick;
439
+ });
440
+ },
441
+ after(e) {
442
+ e.syncHooks.length > 0 && (e.didChangeStore && (e.didChangeStore = !1, e.subscribe = (t) => {
443
+ let n = /* @__PURE__ */ new Set();
444
+ for (let t of e.syncHooks) n.add(t.store);
445
+ let r = [];
446
+ for (let e of n) r.push(e.subscribe(t));
447
+ return () => {
448
+ for (let e of r) e();
449
+ };
450
+ }), (0, X.useSyncExternalStore)(e.subscribe, e.getSnapshot, e.getSnapshot));
451
+ }
452
+ });
453
+ function Fe(e, t, n, r, i) {
454
+ let a = Oe();
455
+ if (!a) return Pe(e, t, n, r, i);
456
+ let o = a.syncIndex;
457
+ a.syncIndex += 1;
458
+ let s;
459
+ return a.didInitialize ? (s = a.syncHooks[o], (s.store !== e || s.selector !== t || !Object.is(s.a1, n) || !Object.is(s.a2, r) || !Object.is(s.a3, i)) && (s.store !== e && (a.didChangeStore = !0), s.store = e, s.selector = t, s.a1 = n, s.a2 = r, s.a3 = i, s.value = t(e.getSnapshot(), n, r, i))) : (s = {
460
+ store: e,
461
+ selector: t,
462
+ a1: n,
463
+ a2: r,
464
+ a3: i,
465
+ value: t(e.getSnapshot(), n, r, i)
466
+ }, a.syncHooks.push(s)), s.value;
467
+ }
468
+ function Ie(e, t, n, r, i) {
469
+ return (0, De.useSyncExternalStoreWithSelector)(e.subscribe, e.getSnapshot, e.getSnapshot, (e) => t(e, n, r, i));
470
+ }
471
+ //#endregion
472
+ //#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/store/Store.mjs
473
+ var Le = class {
474
+ constructor(e) {
475
+ this.state = e, this.listeners = /* @__PURE__ */ new Set(), this.updateTick = 0;
476
+ }
477
+ subscribe = (e) => (this.listeners.add(e), () => {
478
+ this.listeners.delete(e);
479
+ });
480
+ getSnapshot = () => this.state;
481
+ setState(e) {
482
+ if (this.state === e) return;
483
+ this.state = e, this.updateTick += 1;
484
+ let t = this.updateTick;
485
+ for (let n of this.listeners) {
486
+ if (t !== this.updateTick) return;
487
+ n(e);
488
+ }
489
+ }
490
+ update(e) {
491
+ for (let t in e) if (!Object.is(this.state[t], e[t])) {
492
+ this.setState({
493
+ ...this.state,
494
+ ...e
495
+ });
496
+ return;
497
+ }
498
+ }
499
+ set(e, t) {
500
+ Object.is(this.state[e], t) || this.setState({
501
+ ...this.state,
502
+ [e]: t
503
+ });
504
+ }
505
+ notifyAll() {
506
+ let e = { ...this.state };
507
+ this.setState(e);
508
+ }
509
+ use(e, t, n, r) {
510
+ return $(this, e, t, n, r);
511
+ }
512
+ }, Re = class extends Le {
513
+ constructor(e, t = {}, n) {
514
+ super(e), this.context = t, this.selectors = n;
515
+ }
516
+ useSyncedValue(e, n) {
517
+ T.useDebugValue(e);
518
+ let r = this;
519
+ t(() => {
520
+ r.state[e] !== n && r.set(e, n);
521
+ }, [
522
+ r,
523
+ e,
524
+ n
525
+ ]);
526
+ }
527
+ useSyncedValueWithCleanup(e, n) {
528
+ let r = this;
529
+ t(() => (r.state[e] !== n && r.set(e, n), () => {
530
+ r.set(e, void 0);
531
+ }), [
532
+ r,
533
+ e,
534
+ n
535
+ ]);
536
+ }
537
+ useSyncedValues(e) {
538
+ let n = this;
539
+ if (process.env.NODE_ENV !== "production") {
540
+ T.useDebugValue(e, (e) => Object.keys(e));
541
+ let t = T.useRef(Object.keys(e)).current, n = Object.keys(e);
542
+ (t.length !== n.length || t.some((e, t) => e !== n[t])) && console.error("ReactStore.useSyncedValues expects the same prop keys on every render. Keys should be stable.");
543
+ }
544
+ t(() => {
545
+ n.update(e);
546
+ }, [n, ...Object.values(e)]);
547
+ }
548
+ useControlledProp(e, n) {
549
+ T.useDebugValue(e);
550
+ let r = this, i = n !== void 0;
551
+ if (t(() => {
552
+ i && !Object.is(r.state[e], n) && r.setState({
553
+ ...r.state,
554
+ [e]: n
555
+ });
556
+ }, [
557
+ r,
558
+ e,
559
+ n,
560
+ i
561
+ ]), process.env.NODE_ENV !== "production") {
562
+ let t = this.controlledValues ??= /* @__PURE__ */ new Map();
563
+ t.has(e) || t.set(e, i);
564
+ let n = t.get(e);
565
+ n !== void 0 && n !== i && console.error(`A component is changing the ${i ? "" : "un"}controlled state of ${e.toString()} to be ${i ? "un" : ""}controlled. Elements should not switch from uncontrolled to controlled (or vice versa).`);
566
+ }
567
+ }
568
+ select(e, t, n, r) {
569
+ let i = this.selectors[e];
570
+ return i(this.state, t, n, r);
571
+ }
572
+ useState(e, t, n, r) {
573
+ return T.useDebugValue(e), $(this, this.selectors[e], t, n, r);
574
+ }
575
+ useContextCallback(e, t) {
576
+ T.useDebugValue(e);
577
+ let n = c(t ?? a);
578
+ this.context[e] = n;
579
+ }
580
+ useStateSetter(e) {
581
+ let t = T.useRef(void 0);
582
+ return t.current === void 0 && (t.current = (t) => {
583
+ this.set(e, t);
584
+ }), t.current;
585
+ }
586
+ observe(e, t) {
587
+ let n;
588
+ n = typeof e == "function" ? e : this.selectors[e];
589
+ let r = n(this.state);
590
+ return t(r, r, this), this.subscribe((e) => {
591
+ let i = n(e);
592
+ if (!Object.is(r, i)) {
593
+ let e = r;
594
+ r = i, t(i, e, this);
595
+ }
596
+ });
597
+ }
598
+ };
599
+ //#endregion
600
+ export { le as C, O as E, U as S, k as T, L as _, je as a, ue as b, J as c, me as d, pe as f, G as g, be as h, Ae as i, q as l, ve as m, Le as n, Ce as o, ye as p, $ as r, Y as s, Re as t, _e as u, B as v, R as w, de as x, V as y };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as e } from "./useRenderElement-CmuWsiNa.js";
2
+ import { t as e } from "./useRenderElement-BToElZ97.js";
3
3
  import * as t from "react";
4
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/separator/Separator.js
4
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/separator/Separator.mjs
5
5
  var n = /*#__PURE__*/ t.forwardRef(function(t, n) {
6
6
  let { className: r, render: i, orientation: a = "horizontal", style: o, ...s } = t;
7
7
  return e("div", t, {