@arcadeai/design-system 5.0.0 → 5.0.2

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