@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,20 +1,21 @@
1
1
  "use client";
2
- import { t as e } from "./useIsoLayoutEffect-CKOv1bV_.js";
3
- import { f as t, o as n, t as r } from "./useRenderElement-CmuWsiNa.js";
4
- import { t as i } from "./useStableCallback-CqEVb76s.js";
5
- import { t as a } from "./DirectionContext-B4CbbM--.js";
6
- import { n as o } from "./useBaseUiId-DOm5ACje.js";
2
+ import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
3
+ import { f as t, o as n, t as r } from "./useRenderElement-BToElZ97.js";
4
+ import { t as i } from "./useStableCallback-CrM0Nb2q.js";
5
+ import { t as a } from "./DirectionContext-OzWG1tsQ.js";
6
+ import { t as o } from "./useId-Bzr7_bed.js";
7
7
  import { _ as s, a as c, c as l, d as u, f as d, h as f, i as p, l as m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, y as C } from "./floating-ui.utils.dom-5U5b4xPf.js";
8
- import { F as w, O as T, _ as E, k as D, o as O, r as k } from "./popupStateMapping-PdIQcWEz.js";
9
- import { A, C as ee, D as j, E as M, O as N, S as te, T as P, _ as F, b as ne, d as re, f as I, g as ie, h as L, k as R, m as z, p as B, v as V, w as H, x as U, y as ae } from "./composite-HOje5ugx.js";
10
- import { t as oe } from "./owner-BrzQrszh.js";
11
- import { t as se } from "./useValueAsRef-CCU3eUYq.js";
8
+ import { t as w } from "./useValueAsRef-CfO5zn2c.js";
9
+ import { t as T } from "./owner-CyZnQOKt.js";
10
+ import { D as E, E as D, o as O, r as k, x as A } from "./popupStateMapping-XiLS0Jku.js";
11
+ import { C as j, E as M, S as N, T as P, _ as ee, b as F, c as I, d as te, f as ne, g as L, h as re, l as R, m as z, p as ie, s as ae, u as B, v as oe, w as V, x as H, y as U } from "./composite-B-tEa-Zg.js";
12
+ import { f as se } from "./ReactStore-C3H8e2ha.js";
12
13
  import * as W from "react";
13
14
  import { useLayoutEffect as ce } from "react";
14
15
  import * as le from "react-dom";
15
16
  //#region ../../node_modules/.bun/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
16
17
  function ue(e, t, n) {
17
- let { reference: r, floating: i } = e, a = P(t), o = ie(t), s = V(o), c = H(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
18
+ let { reference: r, floating: i } = e, a = H(t), o = ne(t), s = z(o), c = F(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
18
19
  switch (c) {
19
20
  case "top":
20
21
  p = {
@@ -45,7 +46,7 @@ function ue(e, t, n) {
45
46
  y: r.y
46
47
  };
47
48
  }
48
- switch (L(t)) {
49
+ switch (te(t)) {
49
50
  case "start":
50
51
  p[o] -= f * (n && l ? -1 : 1);
51
52
  break;
@@ -57,7 +58,7 @@ function ue(e, t, n) {
57
58
  }
58
59
  async function G(e, t) {
59
60
  t === void 0 && (t = {});
60
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = B(t, e), p = ee(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = N(await i.getClippingRect({
61
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = R(t, e), p = U(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = V(await i.getClippingRect({
61
62
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
62
63
  boundary: c,
63
64
  rootBoundary: l,
@@ -70,7 +71,7 @@ async function G(e, t) {
70
71
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
71
72
  x: 1,
72
73
  y: 1
73
- }, y = N(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
74
+ }, y = V(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
74
75
  elements: o,
75
76
  rect: g,
76
77
  offsetParent: _,
@@ -131,13 +132,13 @@ var de = 50, fe = async (e, t, n) => {
131
132
  options: e,
132
133
  async fn(t) {
133
134
  var n;
134
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = B(e, t);
135
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = R(e, t);
135
136
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
136
- let g = H(r), _ = P(o), v = H(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [te(o)] : ae(o)), x = p !== "none";
137
- !d && x && b.push(...U(o, m, p, y));
137
+ let g = F(r), _ = H(o), v = F(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [oe(o)] : re(o)), x = p !== "none";
138
+ !d && x && b.push(...ee(o, m, p, y));
138
139
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
139
140
  if (l && w.push(C[g]), u) {
140
- let e = F(r, a, y);
141
+ let e = ie(r, a, y);
141
142
  w.push(C[e[0]], C[e[1]]);
142
143
  }
143
144
  if (T = [...T, {
@@ -145,7 +146,7 @@ var de = 50, fe = async (e, t, n) => {
145
146
  overflows: w
146
147
  }], !w.every((e) => e <= 0)) {
147
148
  let e = (i.flip?.index || 0) + 1, t = S[e];
148
- if (t && (!(u === "alignment" && _ !== P(t)) || T.every((e) => P(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
149
+ if (t && (!(u === "alignment" && _ !== H(t)) || T.every((e) => H(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
149
150
  data: {
150
151
  index: e,
151
152
  overflows: T
@@ -157,7 +158,7 @@ var de = 50, fe = async (e, t, n) => {
157
158
  case "bestFit": {
158
159
  let e = T.filter((e) => {
159
160
  if (x) {
160
- let t = P(e.placement);
161
+ let t = H(e.placement);
161
162
  return t === _ || t === "y";
162
163
  }
163
164
  return !0;
@@ -184,14 +185,14 @@ function me(e, t) {
184
185
  };
185
186
  }
186
187
  function he(e) {
187
- return A.some((t) => e[t] >= 0);
188
+ return M.some((t) => e[t] >= 0);
188
189
  }
189
190
  var K = function(e) {
190
191
  return e === void 0 && (e = {}), {
191
192
  name: "hide",
192
193
  options: e,
193
194
  async fn(t) {
194
- let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = B(e, t);
195
+ let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = R(e, t);
195
196
  switch (i) {
196
197
  case "referenceHidden": {
197
198
  let e = me(await r.detectOverflow(t, {
@@ -219,7 +220,7 @@ var K = function(e) {
219
220
  };
220
221
  }, q = /*#__PURE__*/ new Set(["left", "top"]);
221
222
  async function ge(e, t) {
222
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = H(n), s = L(n), c = P(n) === "y", l = q.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = B(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
223
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = F(n), s = te(n), c = H(n) === "y", l = q.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = R(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
223
224
  mainAxis: d,
224
225
  crossAxis: 0,
225
226
  alignmentAxis: null
@@ -264,17 +265,17 @@ var _e = function(e) {
264
265
  x: t,
265
266
  y: n
266
267
  };
267
- } }, ...l } = B(e, t), u = {
268
+ } }, ...l } = R(e, t), u = {
268
269
  x: n,
269
270
  y: r
270
- }, d = await a.detectOverflow(t, l), f = P(H(i)), p = ne(f), m = u[p], h = u[f];
271
+ }, d = await a.detectOverflow(t, l), f = H(F(i)), p = L(f), m = u[p], h = u[f];
271
272
  if (o) {
272
273
  let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
273
- m = re(n, m, r);
274
+ m = ae(n, m, r);
274
275
  }
275
276
  if (s) {
276
277
  let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
277
- h = re(n, h, r);
278
+ h = ae(n, h, r);
278
279
  }
279
280
  let g = c.fn({
280
281
  ...t,
@@ -298,10 +299,10 @@ var _e = function(e) {
298
299
  return e === void 0 && (e = {}), {
299
300
  options: e,
300
301
  fn(t) {
301
- let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = B(e, t), u = {
302
+ let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = R(e, t), u = {
302
303
  x: n,
303
304
  y: r
304
- }, d = P(i), f = ne(d), p = u[f], m = u[d], h = B(s, t), g = typeof h == "number" ? {
305
+ }, d = H(i), f = L(d), p = u[f], m = u[d], h = R(s, t), g = typeof h == "number" ? {
305
306
  mainAxis: h,
306
307
  crossAxis: 0
307
308
  } : {
@@ -314,7 +315,7 @@ var _e = function(e) {
314
315
  p < t ? p = t : p > n && (p = n);
315
316
  }
316
317
  if (l) {
317
- let e = f === "y" ? "width" : "height", t = q.has(H(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
318
+ let e = f === "y" ? "width" : "height", t = q.has(F(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
318
319
  m < n ? m = n : m > r && (m = r);
319
320
  }
320
321
  return {
@@ -329,12 +330,12 @@ var _e = function(e) {
329
330
  options: e,
330
331
  async fn(t) {
331
332
  var n, r;
332
- let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = B(e, t), u = await o.detectOverflow(t, l), d = H(i), f = L(i), p = P(i) === "y", { width: m, height: h } = a.floating, g, _;
333
+ let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = R(e, t), u = await o.detectOverflow(t, l), d = F(i), f = te(i), p = H(i) === "y", { width: m, height: h } = a.floating, g, _;
333
334
  d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
334
335
  let v = h - u.top - u.bottom, y = m - u.left - u.right, b = j(h - u[g], v), x = j(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
335
336
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
336
- let e = M(u.left, 0), t = M(u.right, 0), n = M(u.top, 0), r = M(u.bottom, 0);
337
- p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : M(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : M(u.top, u.bottom));
337
+ let e = N(u.left, 0), t = N(u.right, 0), n = N(u.top, 0), r = N(u.bottom, 0);
338
+ p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : N(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : N(u.top, u.bottom));
338
339
  }
339
340
  await c({
340
341
  ...t,
@@ -349,7 +350,7 @@ var _e = function(e) {
349
350
  //#endregion
350
351
  //#region ../../node_modules/.bun/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
351
352
  function be(e) {
352
- let t = b(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = d(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = R(n) !== a || R(r) !== o;
353
+ let t = b(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = d(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = P(n) !== a || P(r) !== o;
353
354
  return s && (n = a, r = o), {
354
355
  width: n,
355
356
  height: r,
@@ -362,7 +363,7 @@ function Y(e) {
362
363
  function X(e) {
363
364
  let t = Y(e);
364
365
  if (!d(t)) return I(1);
365
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = be(t), o = (a ? R(n.width) : n.width) / r, s = (a ? R(n.height) : n.height) / i;
366
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = be(t), o = (a ? P(n.width) : n.width) / r, s = (a ? P(n.height) : n.height) / i;
366
367
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
367
368
  x: o,
368
369
  y: s
@@ -391,7 +392,7 @@ function Z(e, t, n, r) {
391
392
  c *= e.x, l *= e.y, d *= e.x, f *= e.y, c += a, l += o, n = m(i), i = p(n);
392
393
  }
393
394
  }
394
- return N({
395
+ return V({
395
396
  width: d,
396
397
  height: f,
397
398
  x: c,
@@ -432,8 +433,8 @@ function Te(e) {
432
433
  return Array.from(e.getClientRects());
433
434
  }
434
435
  function Ee(e) {
435
- let t = v(e), n = g(e), r = e.ownerDocument.body, i = M(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = M(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Q(e), s = -n.scrollTop;
436
- return b(r).direction === "rtl" && (o += M(t.clientWidth, r.clientWidth) - i), {
436
+ let t = v(e), n = g(e), r = e.ownerDocument.body, i = N(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = N(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Q(e), s = -n.scrollTop;
437
+ return b(r).direction === "rtl" && (o += N(t.clientWidth, r.clientWidth) - i), {
437
438
  width: i,
438
439
  height: a,
439
440
  x: o,
@@ -483,7 +484,7 @@ function Ae(e, t, n) {
483
484
  height: t.height
484
485
  };
485
486
  }
486
- return N(r);
487
+ return V(r);
487
488
  }
488
489
  function je(e, t) {
489
490
  let n = l(e);
@@ -503,7 +504,7 @@ function Ne(e) {
503
504
  let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? S(t) ? [] : Me(t, this._c) : [].concat(n), r], o = Ae(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
504
505
  for (let e = 1; e < a.length; e++) {
505
506
  let n = Ae(t, a[e], i);
506
- s = M(n.top, s), c = j(n.right, c), l = j(n.bottom, l), u = M(n.left, u);
507
+ s = N(n.top, s), c = j(n.right, c), l = j(n.bottom, l), u = N(n.left, u);
507
508
  }
508
509
  return {
509
510
  width: c - u,
@@ -604,9 +605,9 @@ function Ue(e, t) {
604
605
  s === void 0 && (s = !1), c === void 0 && (c = 1), a();
605
606
  let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
606
607
  if (s || t(), !f || !p) return;
607
- let m = z(d), h = z(i.clientWidth - (u + f)), g = z(i.clientHeight - (d + p)), _ = z(u), v = {
608
+ let m = B(d), h = B(i.clientWidth - (u + f)), g = B(i.clientHeight - (d + p)), _ = B(u), v = {
608
609
  rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
609
- threshold: M(0, j(1, c)) || 1
610
+ threshold: N(0, j(1, c)) || 1
610
611
  }, y = !0;
611
612
  function b(t) {
612
613
  let n = t[0].intersectionRatio;
@@ -763,26 +764,26 @@ function rt(e) {
763
764
  E,
764
765
  T
765
766
  ]);
766
- let ee = W.useMemo(() => ({
767
+ let j = W.useMemo(() => ({
767
768
  reference: S,
768
769
  floating: C,
769
770
  setReference: v,
770
771
  setFloating: y
771
- }), [v, y]), j = W.useMemo(() => ({
772
+ }), [v, y]), M = W.useMemo(() => ({
772
773
  reference: b,
773
774
  floating: x
774
- }), [b, x]), M = W.useMemo(() => {
775
+ }), [b, x]), N = W.useMemo(() => {
775
776
  let e = {
776
777
  position: n,
777
778
  left: 0,
778
779
  top: 0
779
780
  };
780
- if (!j.floating) return e;
781
- let t = tt(j.floating, u.x), r = tt(j.floating, u.y);
781
+ if (!M.floating) return e;
782
+ let t = tt(M.floating, u.x), r = tt(M.floating, u.y);
782
783
  return s ? {
783
784
  ...e,
784
785
  transform: "translate(" + t + "px, " + r + "px)",
785
- ...et(j.floating) >= 1.5 && { willChange: "transform" }
786
+ ...et(M.floating) >= 1.5 && { willChange: "transform" }
786
787
  } : {
787
788
  position: n,
788
789
  left: t,
@@ -791,22 +792,22 @@ function rt(e) {
791
792
  }, [
792
793
  n,
793
794
  s,
794
- j.floating,
795
+ M.floating,
795
796
  u.x,
796
797
  u.y
797
798
  ]);
798
799
  return W.useMemo(() => ({
799
800
  ...u,
800
801
  update: k,
801
- refs: ee,
802
- elements: j,
803
- floatingStyles: M
802
+ refs: j,
803
+ elements: M,
804
+ floatingStyles: N
804
805
  }), [
805
806
  u,
806
807
  k,
807
- ee,
808
808
  j,
809
- M
809
+ M,
810
+ N
810
811
  ]);
811
812
  }
812
813
  var it = (e, t) => {
@@ -849,14 +850,14 @@ var it = (e, t) => {
849
850
  };
850
851
  };
851
852
  //#endregion
852
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useFloatingRootContext.js
853
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/hooks/useFloatingRootContext.mjs
853
854
  function ut(n) {
854
- let { open: r = !1, onOpenChange: i, elements: a = {} } = n, s = o(), c = T() != null;
855
+ let { open: r = !1, onOpenChange: i, elements: a = {} } = n, s = o(), c = D() != null;
855
856
  if (process.env.NODE_ENV !== "production") {
856
857
  let e = a.reference;
857
858
  e && !u(e) && console.error("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `context.setPositionReference()`", "instead.");
858
859
  }
859
- let l = t(() => new E({
860
+ let l = t(() => new A({
860
861
  open: r,
861
862
  transitionStatus: void 0,
862
863
  onOpenChange: i,
@@ -882,9 +883,9 @@ function ut(n) {
882
883
  ]), l.context.onOpenChange = i, l.context.nested = c, l;
883
884
  }
884
885
  //#endregion
885
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useFloating.js
886
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/hooks/useFloating.mjs
886
887
  function dt(t = {}) {
887
- let { nodeId: n, externalTree: r } = t, i = ut(t), a = t.rootContext || i, o = a.useState("referenceElement"), s = a.useState("floatingElement"), c = a.useState("domReferenceElement"), l = a.useState("open"), d = a.useState("floatingId"), [f, p] = W.useState(null), [m, h] = W.useState(void 0), [g, _] = W.useState(void 0), v = W.useRef(null), y = D(r), b = W.useMemo(() => ({
888
+ let { nodeId: n, externalTree: r } = t, i = ut(t), a = t.rootContext || i, o = a.useState("referenceElement"), s = a.useState("floatingElement"), c = a.useState("domReferenceElement"), l = a.useState("open"), d = a.useState("floatingId"), [f, p] = W.useState(null), [m, h] = W.useState(void 0), [g, _] = W.useState(void 0), v = W.useRef(null), y = E(r), b = W.useMemo(() => ({
888
889
  reference: o,
889
890
  floating: s,
890
891
  domReference: c
@@ -909,18 +910,18 @@ function dt(t = {}) {
909
910
  p(t), x.refs.setReference(t);
910
911
  }, [x.refs]), T = W.useCallback((e) => {
911
912
  (u(e) || e === null) && (v.current = e, h(e)), (u(x.refs.reference.current) || x.refs.reference.current === null || e !== null && !u(e)) && x.refs.setReference(e);
912
- }, [x.refs, h]), E = W.useCallback((e) => {
913
+ }, [x.refs, h]), D = W.useCallback((e) => {
913
914
  _(e), x.refs.setFloating(e);
914
915
  }, [x.refs]), O = W.useMemo(() => ({
915
916
  ...x.refs,
916
917
  setReference: T,
917
- setFloating: E,
918
+ setFloating: D,
918
919
  setPositionReference: w,
919
920
  domReference: v
920
921
  }), [
921
922
  x.refs,
922
923
  T,
923
- E,
924
+ D,
924
925
  w
925
926
  ]), k = W.useMemo(() => ({
926
927
  ...x.elements,
@@ -966,25 +967,25 @@ function dt(t = {}) {
966
967
  ]);
967
968
  }
968
969
  //#endregion
969
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/middleware/arrow.js
970
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/middleware/arrow.mjs
970
971
  var ft = (e) => ({
971
972
  name: "arrow",
972
973
  options: e,
973
974
  async fn(t) {
974
- let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0, offsetParent: d = "real" } = B(e, t) || {};
975
+ let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0, offsetParent: d = "real" } = R(e, t) || {};
975
976
  if (l == null) return {};
976
- let f = ee(u), p = {
977
+ let f = U(u), p = {
977
978
  x: n,
978
979
  y: r
979
- }, m = ie(i), h = V(m), g = await o.getDimensions(l), _ = m === "y", v = _ ? "top" : "left", y = _ ? "bottom" : "right", b = _ ? "clientHeight" : "clientWidth", x = a.reference[h] + a.reference[m] - p[m] - a.floating[h], S = p[m] - a.reference[m], C = d === "real" ? await o.getOffsetParent?.(l) : s.floating, w = s.floating[b] || a.floating[h];
980
+ }, m = ne(i), h = z(m), g = await o.getDimensions(l), _ = m === "y", v = _ ? "top" : "left", y = _ ? "bottom" : "right", b = _ ? "clientHeight" : "clientWidth", x = a.reference[h] + a.reference[m] - p[m] - a.floating[h], S = p[m] - a.reference[m], C = d === "real" ? await o.getOffsetParent?.(l) : s.floating, w = s.floating[b] || a.floating[h];
980
981
  (!w || !await o.isElement?.(C)) && (w = s.floating[b] || a.floating[h]);
981
- let T = x / 2 - S / 2, E = w / 2 - g[h] / 2 - 1, D = Math.min(f[v], E), O = Math.min(f[y], E), k = D, A = w - g[h] - O, j = w / 2 - g[h] / 2 + T, M = re(k, j, A), N = !c.arrow && L(i) != null && j !== M && a.reference[h] / 2 - (j < k ? D : O) - g[h] / 2 < 0, te = N ? j < k ? j - k : j - A : 0;
982
+ let T = x / 2 - S / 2, E = w / 2 - g[h] / 2 - 1, D = Math.min(f[v], E), O = Math.min(f[y], E), k = D, A = w - g[h] - O, j = w / 2 - g[h] / 2 + T, M = ae(k, j, A), N = !c.arrow && te(i) != null && j !== M && a.reference[h] / 2 - (j < k ? D : O) - g[h] / 2 < 0, P = N ? j < k ? j - k : j - A : 0;
982
983
  return {
983
- [m]: p[m] + te,
984
+ [m]: p[m] + P,
984
985
  data: {
985
986
  [m]: M,
986
- centerOffset: j - M - te,
987
- ...N && { alignmentOffset: te }
987
+ centerOffset: j - M - P,
988
+ ...N && { alignmentOffset: P }
988
989
  },
989
990
  reset: N
990
991
  };
@@ -992,23 +993,23 @@ var ft = (e) => ({
992
993
  }), pt = (e, t) => ({
993
994
  ...ft(e),
994
995
  options: [e, t]
995
- }), mt = {
996
+ }), mt = lt().fn, ht = {
996
997
  name: "hide",
997
998
  async fn(e) {
998
999
  let { width: t, height: n, x: r, y: i } = e.rects.reference, a = t === 0 && n === 0 && r === 0 && i === 0;
999
- return { data: { referenceHidden: (await lt().fn(e)).data?.referenceHidden || a } };
1000
+ return { data: { referenceHidden: (await mt(e)).data?.referenceHidden || a } };
1000
1001
  }
1001
- }, ht = {
1002
+ }, gt = {
1002
1003
  sideX: "left",
1003
1004
  sideY: "top"
1004
- }, gt = {
1005
+ }, _t = {
1005
1006
  name: "adaptiveOrigin",
1006
1007
  async fn(e) {
1007
1008
  let { x: t, y: n, rects: { floating: r }, elements: { floating: i }, platform: a, strategy: o, placement: s } = e, c = m(i), l = c.getComputedStyle(i);
1008
1009
  if (!(l.transitionDuration !== "0s" && l.transitionDuration !== "")) return {
1009
1010
  x: t,
1010
1011
  y: n,
1011
- data: ht
1012
+ data: gt
1012
1013
  };
1013
1014
  let u = await a.getOffsetParent?.(i), d = {
1014
1015
  width: 0,
@@ -1019,15 +1020,15 @@ var ft = (e) => ({
1019
1020
  height: c.visualViewport.height
1020
1021
  };
1021
1022
  else if (u === c) {
1022
- let e = oe(i);
1023
+ let e = T(i);
1023
1024
  d = {
1024
1025
  width: e.documentElement.clientWidth,
1025
1026
  height: e.documentElement.clientHeight
1026
1027
  };
1027
1028
  } else await a.isElement?.(u) && (d = await a.getDimensions(u));
1028
- let f = H(s), p = t, h = n;
1029
+ let f = F(s), p = t, h = n;
1029
1030
  f === "left" && (p = d.width - (t + r.width)), f === "top" && (h = d.height - (n + r.height));
1030
- let g = f === "left" ? "right" : ht.sideX, _ = f === "top" ? "bottom" : ht.sideY;
1031
+ let g = f === "left" ? "right" : gt.sideX, _ = f === "top" ? "bottom" : gt.sideY;
1031
1032
  return {
1032
1033
  x: p,
1033
1034
  y: h,
@@ -1039,8 +1040,8 @@ var ft = (e) => ({
1039
1040
  }
1040
1041
  };
1041
1042
  //#endregion
1042
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/utils/useAnchorPositioning.js
1043
- function _t(e, t, n) {
1043
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/useAnchorPositioning.mjs
1044
+ function vt(e, t, n) {
1044
1045
  let r = e === "inline-start" || e === "inline-end";
1045
1046
  return {
1046
1047
  top: "top",
@@ -1049,11 +1050,11 @@ function _t(e, t, n) {
1049
1050
  left: r ? n ? "inline-end" : "inline-start" : "left"
1050
1051
  }[t];
1051
1052
  }
1052
- function vt(e, t, n) {
1053
+ function yt(e, t, n) {
1053
1054
  let { rects: r, placement: i } = e;
1054
1055
  return {
1055
- side: _t(t, H(i), n),
1056
- align: L(i) || "center",
1056
+ side: vt(t, F(i), n),
1057
+ align: te(i) || "center",
1057
1058
  anchor: {
1058
1059
  width: r.reference.width,
1059
1060
  height: r.reference.height
@@ -1064,34 +1065,34 @@ function vt(e, t, n) {
1064
1065
  }
1065
1066
  };
1066
1067
  }
1067
- function yt(t) {
1068
- let { anchor: n, positionMethod: r = "absolute", side: o = "bottom", sideOffset: s = 0, align: c = "center", alignOffset: l = 0, collisionBoundary: u, collisionPadding: d = 5, sticky: f = !1, arrowPadding: p = 5, disableAnchorTracking: h = !1, inline: g, keepMounted: _ = !1, floatingRootContext: v, mounted: y, collisionAvoidance: b, shiftCrossAxis: x = !1, nodeId: S, adaptiveOrigin: C, lazyFlip: w = !1, externalTree: T } = t, [E, D] = W.useState(null);
1069
- !y && E !== null && D(null);
1070
- let O = b.side || "flip", k = b.align || "flip", A = b.fallbackAxisSide || "end", ee = typeof n == "function" ? n : void 0, j = i(ee), M = ee ? j : n, N = se(n), te = se(y), F = a() === "rtl", ne = E || {
1068
+ function bt(t) {
1069
+ let { anchor: n, positionMethod: r = "absolute", side: o = "bottom", sideOffset: s = 0, align: c = "center", alignOffset: l = 0, collisionBoundary: u, collisionPadding: d = 5, sticky: f = !1, arrowPadding: p = 5, disableAnchorTracking: h = !1, inline: g, keepMounted: _ = !1, floatingRootContext: v, mounted: y, collisionAvoidance: b, shiftCrossAxis: x = !1, nodeId: S, adaptiveOrigin: C, lazyFlip: E = !1, externalTree: D } = t, [O, k] = W.useState(null);
1070
+ !y && O !== null && k(null);
1071
+ let A = b.side || "flip", j = b.align || "flip", M = b.fallbackAxisSide || "end", N = typeof n == "function" ? n : void 0, P = i(N), ee = N ? P : n, I = w(n), ne = w(y), L = a() === "rtl", re = O || {
1071
1072
  top: "top",
1072
1073
  right: "right",
1073
1074
  bottom: "bottom",
1074
1075
  left: "left",
1075
- "inline-end": F ? "left" : "right",
1076
- "inline-start": F ? "right" : "left"
1077
- }[o], re = c === "center" ? ne : `${ne}-${c}`, I = d, ie = +(o === "bottom"), R = +(o === "top"), z = +(o === "right"), B = +(o === "left");
1078
- typeof I == "number" ? I = {
1079
- top: I + ie,
1080
- right: I + B,
1081
- bottom: I + R,
1082
- left: I + z
1083
- } : I &&= {
1084
- top: (I.top || 0) + ie,
1085
- right: (I.right || 0) + B,
1086
- bottom: (I.bottom || 0) + R,
1087
- left: (I.left || 0) + z
1076
+ "inline-end": L ? "left" : "right",
1077
+ "inline-start": L ? "right" : "left"
1078
+ }[o], R = c === "center" ? re : `${re}-${c}`, z = d, ie = +(o === "bottom"), ae = +(o === "top"), B = +(o === "right"), oe = +(o === "left");
1079
+ typeof z == "number" ? z = {
1080
+ top: z + ie,
1081
+ right: z + oe,
1082
+ bottom: z + ae,
1083
+ left: z + B
1084
+ } : z &&= {
1085
+ top: (z.top || 0) + ie,
1086
+ right: (z.right || 0) + oe,
1087
+ bottom: (z.bottom || 0) + ae,
1088
+ left: (z.left || 0) + B
1088
1089
  };
1089
1090
  let V = {
1090
1091
  boundary: u === "clipping-ancestors" ? "clippingAncestors" : u,
1091
- padding: I
1092
- }, U = W.useRef(null), ae = se(s), ce = se(l), le = typeof s == "function" ? 0 : s, ue = typeof l == "function" ? 0 : l, G = [];
1092
+ padding: z
1093
+ }, U = W.useRef(null), se = w(s), ce = w(l), le = typeof s == "function" ? 0 : s, ue = typeof l == "function" ? 0 : l, G = [];
1093
1094
  g && G.push(g), G.push(it((e) => {
1094
- let t = vt(e, o, F), n = typeof ae.current == "function" ? ae.current(t) : ae.current, r = typeof ce.current == "function" ? ce.current(t) : ce.current;
1095
+ let t = yt(e, o, L), n = typeof se.current == "function" ? se.current(t) : se.current, r = typeof ce.current == "function" ? ce.current(t) : ce.current;
1095
1096
  return {
1096
1097
  mainAxis: n,
1097
1098
  crossAxis: r,
@@ -1100,22 +1101,22 @@ function yt(t) {
1100
1101
  }, [
1101
1102
  le,
1102
1103
  ue,
1103
- F,
1104
+ L,
1104
1105
  o
1105
1106
  ]));
1106
- let de = k === "none" && O !== "shift", fe = !de && (f || x || O === "shift"), pe = O === "none" ? null : st({
1107
+ let de = j === "none" && A !== "shift", fe = !de && (f || x || A === "shift"), pe = A === "none" ? null : st({
1107
1108
  ...V,
1108
1109
  padding: {
1109
- top: I.top + 1,
1110
- right: I.right + 1,
1111
- bottom: I.bottom + 1,
1112
- left: I.left + 1
1110
+ top: z.top + 1,
1111
+ right: z.right + 1,
1112
+ bottom: z.bottom + 1,
1113
+ left: z.left + 1
1113
1114
  },
1114
- mainAxis: !x && O === "flip",
1115
- crossAxis: k === "flip" ? "alignment" : !1,
1116
- fallbackAxisSideDirection: A
1115
+ mainAxis: !x && A === "flip",
1116
+ crossAxis: j === "flip" ? "alignment" : !1,
1117
+ fallbackAxisSideDirection: M
1117
1118
  }), me = de ? null : at((e) => {
1118
- let t = oe(e.elements.floating).documentElement;
1119
+ let t = T(e.elements.floating).documentElement;
1119
1120
  return {
1120
1121
  ...V,
1121
1122
  rootBoundary: x ? {
@@ -1124,11 +1125,11 @@ function yt(t) {
1124
1125
  width: t.clientWidth,
1125
1126
  height: t.clientHeight
1126
1127
  } : void 0,
1127
- mainAxis: k !== "none",
1128
+ mainAxis: j !== "none",
1128
1129
  crossAxis: fe,
1129
1130
  limiter: f || x ? void 0 : ot((e) => {
1130
1131
  if (!U.current) return {};
1131
- let { width: t, height: n } = U.current.getBoundingClientRect(), r = P(H(e.placement)), i = r === "y" ? t : n, a = r === "y" ? I.left + I.right : I.top + I.bottom;
1132
+ let { width: t, height: n } = U.current.getBoundingClientRect(), r = H(F(e.placement)), i = r === "y" ? t : n, a = r === "y" ? z.left + z.right : z.top + z.bottom;
1132
1133
  return { offset: i / 2 + a / 2 };
1133
1134
  })
1134
1135
  };
@@ -1136,26 +1137,26 @@ function yt(t) {
1136
1137
  V,
1137
1138
  f,
1138
1139
  x,
1139
- I,
1140
- k
1140
+ z,
1141
+ j
1141
1142
  ]);
1142
- O === "shift" || k === "shift" || c === "center" ? G.push(me, pe) : G.push(pe, me), G.push(ct({
1143
+ A === "shift" || j === "shift" || c === "center" ? G.push(me, pe) : G.push(pe, me), G.push(ct({
1143
1144
  ...V,
1144
1145
  apply({ elements: { floating: e }, availableWidth: t, availableHeight: n, rects: r }) {
1145
- if (!te.current) return;
1146
+ if (!ne.current) return;
1146
1147
  let i = e.style;
1147
1148
  i.setProperty("--available-width", `${t}px`), i.setProperty("--available-height", `${n}px`);
1148
1149
  let a = m(e).devicePixelRatio || 1, { x: o, y: s, width: c, height: l } = r.reference, u = (Math.round((o + c) * a) - Math.round(o * a)) / a, d = (Math.round((s + l) * a) - Math.round(s * a)) / a;
1149
1150
  i.setProperty("--anchor-width", `${u}px`), i.setProperty("--anchor-height", `${d}px`);
1150
1151
  }
1151
1152
  }), pt((e) => ({
1152
- element: U.current || oe(e.elements.floating).createElement("div"),
1153
+ element: U.current || T(e.elements.floating).createElement("div"),
1153
1154
  padding: p,
1154
1155
  offsetParent: "floating"
1155
1156
  }), [p]), {
1156
1157
  name: "transformOrigin",
1157
1158
  fn(e) {
1158
- let { elements: t, middlewareData: n, placement: r, rects: i, y: a } = e, c = H(r), l = P(c), u = U.current, d = n.arrow?.x || 0, f = n.arrow?.y || 0, p = u?.clientWidth || 0, m = u?.clientHeight || 0, h = d + p / 2, g = f + m / 2, _ = Math.abs(n.shift?.y || 0), v = i.reference.height / 2, y = typeof s == "function" ? s(vt(e, o, F)) : s, b = _ > y, x = {
1159
+ let { elements: t, middlewareData: n, placement: r, rects: i, y: a } = e, c = F(r), l = H(c), u = U.current, d = n.arrow?.x || 0, f = n.arrow?.y || 0, p = u?.clientWidth || 0, m = u?.clientHeight || 0, h = d + p / 2, g = f + m / 2, _ = Math.abs(n.shift?.y || 0), v = i.reference.height / 2, y = typeof s == "function" ? s(yt(e, o, L)) : s, b = _ > y, x = {
1159
1160
  top: `${h}px calc(100% + ${y}px)`,
1160
1161
  bottom: `${h}px ${-y}px`,
1161
1162
  left: `calc(100% + ${y}px) ${g}px`,
@@ -1163,7 +1164,7 @@ function yt(t) {
1163
1164
  }[c], S = `${h}px ${i.reference.y + v - a}px`;
1164
1165
  return t.floating.style.setProperty("--transform-origin", fe && l === "y" && b ? S : x), {};
1165
1166
  }
1166
- }, mt, C), e(() => {
1167
+ }, ht, C), e(() => {
1167
1168
  !y && v && v.update({
1168
1169
  referenceElement: null,
1169
1170
  floatingElement: null,
@@ -1177,13 +1178,13 @@ function yt(t) {
1177
1178
  }), [h]), { refs: K, elements: q, x: ge, y: _e, middlewareData: J, update: ve, placement: ye, context: be, isPositioned: Y, floatingStyles: X } = dt({
1178
1179
  rootContext: v,
1179
1180
  open: _ ? y : void 0,
1180
- placement: re,
1181
+ placement: R,
1181
1182
  middleware: G,
1182
1183
  strategy: r,
1183
1184
  whileElementsMounted: _ ? void 0 : (...e) => We(...e, he),
1184
1185
  nodeId: S,
1185
- externalTree: T
1186
- }), { sideX: xe, sideY: Se } = J.adaptiveOrigin || ht, Ce = Y ? r : "fixed", Z = W.useMemo(() => {
1186
+ externalTree: D
1187
+ }), { sideX: xe, sideY: Se } = J.adaptiveOrigin || gt, Ce = Y ? r : "fixed", Z = W.useMemo(() => {
1187
1188
  let e = C ? {
1188
1189
  position: Ce,
1189
1190
  [xe]: ge,
@@ -1205,24 +1206,24 @@ function yt(t) {
1205
1206
  ]), Q = W.useRef(null);
1206
1207
  e(() => {
1207
1208
  if (!y) return;
1208
- let e = N.current, t = typeof e == "function" ? e() : e, n = (bt(t) ? t.current : t) || null;
1209
+ let e = I.current, t = typeof e == "function" ? e() : e, n = (xt(t) ? t.current : t) || null;
1209
1210
  n !== Q.current && (K.setPositionReference(n), Q.current = n);
1210
1211
  }, [
1211
1212
  y,
1212
1213
  K,
1213
- M,
1214
- N
1214
+ ee,
1215
+ I
1215
1216
  ]), W.useEffect(() => {
1216
1217
  if (!y) return;
1217
- let e = N.current;
1218
- typeof e != "function" && bt(e) && e.current !== Q.current && (K.setPositionReference(e.current), Q.current = e.current);
1218
+ let e = I.current;
1219
+ typeof e != "function" && xt(e) && e.current !== Q.current && (K.setPositionReference(e.current), Q.current = e.current);
1219
1220
  }, [
1220
1221
  y,
1221
1222
  K,
1222
- M,
1223
- N
1223
+ ee,
1224
+ I
1224
1225
  ]), W.useEffect(() => {
1225
- if (_ && y && q.domReference && q.floating) return We(q.domReference, q.floating, ve, he);
1226
+ if (_ && y && q.reference && q.floating) return We(q.reference, q.floating, ve, he);
1226
1227
  }, [
1227
1228
  _,
1228
1229
  y,
@@ -1230,11 +1231,11 @@ function yt(t) {
1230
1231
  ve,
1231
1232
  he
1232
1233
  ]);
1233
- let $ = H(ye), we = _t(o, $, F), Te = L(ye) || "center", Ee = !!J.hide?.referenceHidden;
1234
+ let $ = F(ye), we = vt(o, $, L), Te = te(ye) || "center", Ee = !!J.hide?.referenceHidden;
1234
1235
  e(() => {
1235
- w && y && Y && D($);
1236
+ E && y && Y && k($);
1236
1237
  }, [
1237
- w,
1238
+ E,
1238
1239
  y,
1239
1240
  Y,
1240
1241
  $
@@ -1272,17 +1273,17 @@ function yt(t) {
1272
1273
  ve
1273
1274
  ]);
1274
1275
  }
1275
- function bt(e) {
1276
+ function xt(e) {
1276
1277
  return e != null && "current" in e;
1277
1278
  }
1278
1279
  //#endregion
1279
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/utils/getDisabledMountTransitionStyles.js
1280
- function xt(e) {
1281
- return e === "starting" ? w : n;
1280
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/getDisabledMountTransitionStyles.mjs
1281
+ function St(e) {
1282
+ return e === "starting" ? se : n;
1282
1283
  }
1283
1284
  //#endregion
1284
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/utils/usePositioner.js
1285
- function St(e, t, { styles: n, transitionStatus: i, props: a, refs: o, hidden: s, inert: c = !1 }) {
1285
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/usePositioner.mjs
1286
+ function Ct(e, t, { styles: n, transitionStatus: i, props: a, refs: o, hidden: s, inert: c = !1 }) {
1286
1287
  let l = { ...n };
1287
1288
  return c && (l.pointerEvents = "none"), r("div", e, {
1288
1289
  state: t,
@@ -1293,11 +1294,11 @@ function St(e, t, { styles: n, transitionStatus: i, props: a, refs: o, hidden: s
1293
1294
  hidden: s,
1294
1295
  style: l
1295
1296
  },
1296
- xt(i),
1297
+ St(i),
1297
1298
  a
1298
1299
  ],
1299
1300
  stateAttributesMapping: k
1300
1301
  });
1301
1302
  }
1302
1303
  //#endregion
1303
- export { ut as a, gt as i, xt as n, Ve as o, yt as r, St as t };
1304
+ export { ut as a, _t as i, St as n, Ve as o, bt as r, Ct as t };