@arcadeai/design-system 5.0.1 → 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 (329) 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.js +1 -1
  116. package/dist/components/ui/molecules/mcp-server-picker/unoptimized-match-card.js +1 -1
  117. package/dist/components/ui/molecules/message.d.ts.map +1 -1
  118. package/dist/components/ui/molecules/message.js +3 -3
  119. package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
  120. package/dist/components/ui/molecules/prompt-input.js +1 -1
  121. package/dist/components/ui/molecules/requirement-badges.js +1 -1
  122. package/dist/components/ui/molecules/steps-progress.js +1 -1
  123. package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -1
  124. package/dist/components/ui/molecules/tool-call-accordion.js +2 -2
  125. package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
  126. package/dist/components/ui/molecules/tool-card.js +3 -3
  127. package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -1
  128. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  129. package/dist/components/ui/molecules/user-nav.js +3 -3
  130. package/dist/components/ui/organisms/mcp-selection-summary-bar.js +1 -1
  131. package/dist/components/ui/pages/login-page.js +1 -1
  132. package/dist/composite-B-tEa-Zg.js +169 -0
  133. package/dist/{composite-BlDfbDkL.js → composite-COXvAbcT.js} +5 -5
  134. package/dist/constants-ouS7wtUt.js +5 -0
  135. package/dist/{cpp-BLc8IWxi.js → cpp-BBpqpcUG.js} +4 -4
  136. package/dist/{cpp-BEQCV3s5.js → cpp-CenmDznH.js} +3 -3
  137. package/dist/{createBaseUIEventDetails-ChcQXp54.js → createBaseUIEventDetails-C_dwdqj4.js} +3 -3
  138. package/dist/{crystal-Bpo57dB-.js → crystal-Cjt-cWZ3.js} +6 -6
  139. package/dist/{css-DSy_xl5Z.js → css-BT0UpMRG.js} +1 -1
  140. package/dist/{css-DcJEitGa.js → css-QsZubv6P.js} +1 -1
  141. package/dist/{dropdown-menu-dsg43mOw.js → dropdown-menu-CWWN1cXs.js} +515 -520
  142. package/dist/{edge-Crbn4Nhk.js → edge-nqxIbnup.js} +3 -3
  143. package/dist/{elixir-CIj8u1AY.js → elixir-IwV7soxp.js} +1 -1
  144. package/dist/{elm-CfYD1d_e.js → elm-Ogf1arfY.js} +1 -1
  145. package/dist/engine-ChH4dTze.js +6 -0
  146. package/dist/{erb-BJQo6_56.js → erb-BBpN-Ldx.js} +2 -2
  147. package/dist/{error-CAd3pM3X.js → error-C8bGkT0l.js} +1 -1
  148. package/dist/getPseudoElementBounds-D_dlkPnQ.js +345 -0
  149. package/dist/{git-rebase-DVA6p9-5.js → git-rebase-CqAmS_sI.js} +1 -1
  150. package/dist/{glimmer-js-DVJpm-CV.js → glimmer-js-C7DUODof.js} +4 -4
  151. package/dist/{glimmer-ts-kH8c2RJ9.js → glimmer-ts-DI4G9vW_.js} +4 -4
  152. package/dist/{glsl-Ckye8FrQ.js → glsl-CUfKtNbE.js} +2 -2
  153. package/dist/{glsl-7eSg02Gr.js → glsl-Cq85X97E.js} +2 -2
  154. package/dist/{graphql-CE7EXOgY.js → graphql-BCsR6dTa.js} +4 -4
  155. package/dist/{graphql-DEzE15R4.js → graphql-BsbTr8W_.js} +5 -5
  156. package/dist/{hack-o7fvIqt8.js → hack-bqdf8rRJ.js} +2 -2
  157. package/dist/{haml-BP5AnOwP.js → haml-BJXnS8Xp.js} +2 -2
  158. package/dist/{haml-C5GSorf3.js → haml-CWQgvV8s.js} +3 -3
  159. package/dist/{handlebars-Bhpj_d0s.js → handlebars-CKAb2CPX.js} +4 -4
  160. package/dist/{handlebars-BjC-t2fq.js → handlebars-DMloI5gH.js} +3 -3
  161. package/dist/{highlighted-body-OFNGDK62-BoSFtT5s.js → highlighted-body-OFNGDK62-BegvjYf8.js} +1 -1
  162. package/dist/{hover-card-z1GPavWa.js → hover-card-GELKDadU.js} +145 -157
  163. package/dist/{html-Ct25QrQu.js → html-CwG5RUst.js} +3 -3
  164. package/dist/{html-D4w9Dm28.js → html-DKmZbgBt.js} +3 -3
  165. package/dist/{html-derivative-Bj-VxhMx.js → html-derivative-B4jNkpq7.js} +1 -1
  166. package/dist/{html-derivative-DSKrIQn9.js → html-derivative-l83Yr46D.js} +1 -1
  167. package/dist/{http-BCk9QAjz.js → http-BFAjFcZG.js} +2 -2
  168. package/dist/{http-d-m0Mc7D.js → http-BhDBVFaP.js} +4 -4
  169. package/dist/{hurl-DWxVzahG.js → hurl-CjzrrhSW.js} +2 -2
  170. package/dist/{hurl-DfTnDfTu.js → hurl-DAdF3com.js} +2 -2
  171. package/dist/inertValue-BhczR0H5.js +7 -0
  172. package/dist/input-DZfZK6b1.js +91 -0
  173. package/dist/{isElementDisabled-Cibvw8mz.js → isElementDisabled-C1rd9-Ym.js} +1 -1
  174. package/dist/{java-CuIj5nvv.js → java-C_vVq3dw.js} +1 -1
  175. package/dist/{java-BKNJluE5.js → java-Ci5_G7qk.js} +1 -1
  176. package/dist/{javascript-C_3Wy_Gj.js → javascript-CV4d78q9.js} +1 -1
  177. package/dist/{javascript-Da2xmRTV.js → javascript-DIVSilR9.js} +1 -1
  178. package/dist/{jinja-DhkDj1Xi.js → jinja-Bs1LO7X2.js} +1 -1
  179. package/dist/{jinja-C8xQEEYN.js → jinja-Bwrf5aV2.js} +1 -1
  180. package/dist/{jison-CShmv6Fb.js → jison-C6eal2rW.js} +1 -1
  181. package/dist/{jison-CyKFq-6a.js → jison-Td0S7BdY.js} +1 -1
  182. package/dist/{json-Df3TJ3vS.js → json-BE9zjWXC.js} +1 -1
  183. package/dist/{jsx-CfQ2JFaq.js → jsx-Ba8CJaAV.js} +1 -1
  184. package/dist/{jsx-D0xGKDLn.js → jsx-DCFvZzWu.js} +1 -1
  185. package/dist/{julia-BMAFK3Gd.js → julia-Bm175Gof.js} +3 -3
  186. package/dist/{julia-BN-I8ZOK.js → julia-Bunkrw5e.js} +4 -4
  187. package/dist/{just-YBnaWXEe.js → just-1Pxadbli.js} +5 -5
  188. package/dist/{latex-C_OKc6Tr.js → latex-_x2UAXwa.js} +1 -1
  189. package/dist/lib/utils.d.ts.map +1 -1
  190. package/dist/{lib-BeKETz9d.js → lib-_PLIHaUp.js} +623 -633
  191. package/dist/{liquid-BK9PRBL0.js → liquid-kYbXB26r.js} +4 -4
  192. package/dist/{lua-BLio8ECy.js → lua-CaVsjDyr.js} +2 -2
  193. package/dist/main.js +153 -152
  194. package/dist/{markdown-D3ExE6yF.js → markdown-BzQfFDNF.js} +2608 -2632
  195. package/dist/{marko-Fde_uU3F.js → marko-B5ZroO9K.js} +3 -3
  196. package/dist/{marko-DYmCev7q.js → marko-D0_WatvF.js} +3 -3
  197. package/dist/{mdc-wawAspAJ.js → mdc-Bv4e6tBf.js} +2 -2
  198. package/dist/{mdc-D7QSJBKx.js → mdc-Dh_sTTi8.js} +1 -1
  199. package/dist/mermaid-GHXKKRXX-B2aW3mwU.js +3 -0
  200. package/dist/metadata/oauth-providers.d.ts.map +1 -1
  201. package/dist/metadata/toolkit-icons.d.ts.map +1 -1
  202. package/dist/metadata/toolkit-icons.js +95 -93
  203. package/dist/metadata/toolkits.d.ts.map +1 -1
  204. package/dist/metadata/toolkits.js +13 -0
  205. package/dist/{nginx-WcmIS9lz.js → nginx-DKKP1Jsz.js} +1 -1
  206. package/dist/{nim-C_JBe3PW.js → nim-BeBji0Kd.js} +6 -6
  207. package/dist/owner-CyZnQOKt.js +6 -0
  208. package/dist/{perl-DxzDgnFP.js → perl-d6FT-kBo.js} +5 -5
  209. package/dist/{php-h4fQX9du.js → php-5ErYmDX1.js} +5 -5
  210. package/dist/{php-BslXz14x.js → php-DrB8vlsq.js} +6 -6
  211. package/dist/popover-Cne_hQUh.js +489 -0
  212. package/dist/{popupStateMapping-PdIQcWEz.js → popupStateMapping-C8W76brO.js} +461 -419
  213. package/dist/{progress-TdXkokPe.js → progress-D71iUjvg.js} +14 -14
  214. package/dist/{pug-yS-UC2lD.js → pug-DyZNXutA.js} +3 -3
  215. package/dist/{pug-CxpNRXGa.js → pug-pOLqHjih.js} +3 -3
  216. package/dist/{qml-tenACNq4.js → qml-Dox9P6il.js} +1 -1
  217. package/dist/{r-DdU4yNZO.js → r-CqHzjuOx.js} +1 -1
  218. package/dist/radio-group-CTqA-p0w.js +333 -0
  219. package/dist/{razor-D5yYWriQ.js → razor-BJnzh0vV.js} +1 -1
  220. package/dist/{regexp-Dnzoo8L8.js → regexp-BHMFwNmq.js} +1 -1
  221. package/dist/{regexp-BusfBBwF.js → regexp-Cr4z7tOG.js} +1 -1
  222. package/dist/{resizable-DkYW5Uwh.js → resizable-7RrCRLzm.js} +25 -22
  223. package/dist/resolveAriaLabelledBy-ChNE6KfK.js +15 -0
  224. package/dist/{rst-C-dkSMvp.js → rst-BBCY8q7E.js} +6 -6
  225. package/dist/{ruby-7kZgYYwi.js → ruby-B3ETTR3m.js} +12 -12
  226. package/dist/{safePolygon-CscU2iWL.js → safePolygon-os2F06tc.js} +109 -105
  227. package/dist/{sas-DtHo0e4p.js → sas-DUv_h98D.js} +1 -1
  228. package/dist/scroll-area-C0KbhRES.js +588 -0
  229. package/dist/{scrollEdges-VoRBF4DB.js → scrollEdges-CHZpP0us.js} +2 -2
  230. package/dist/{scss-bso_k44A.js → scss-CkVrpEfa.js} +2 -2
  231. package/dist/{scss-DaY16nmX.js → scss-CvRlGoAc.js} +2 -2
  232. package/dist/select-RvAj5g6e.js +1360 -0
  233. package/dist/{serializeValue-kHY7UUsW.js → serializeValue-CRwtWeFH.js} +1 -1
  234. package/dist/{shadowDom-C-4Ejp9R.js → shadowDom-BACsbimN.js} +1 -1
  235. package/dist/shared-q5mxNamF.js +24 -0
  236. package/dist/{shellscript-BWxNrzSf.js → shellscript-CxvlkwLY.js} +1 -1
  237. package/dist/{shellsession-IETTXW5g.js → shellsession-CgzvDd-J.js} +1 -1
  238. package/dist/{shim-ieZ_MRlN.js → shim-BX-2V17R.js} +6 -7
  239. package/dist/slider-Bhn1ogwZ.js +827 -0
  240. package/dist/{soy-33Xu8yiH.js → soy-BsfKKN9o.js} +1 -1
  241. package/dist/{sql-B432xaB7.js → sql-BHUsfCgB.js} +1 -1
  242. package/dist/{sql-8d8R_FnS.js → sql-DG63OdWS.js} +1 -1
  243. package/dist/{stata-B5wF29_Y.js → stata--mbf8UFb.js} +1 -1
  244. package/dist/{store-Bdrhndby.js → store-C-KXBzZ0.js} +9 -9
  245. package/dist/{surrealql-DYHeSEsk.js → surrealql-DhODgRt6.js} +1 -1
  246. package/dist/{svelte-BiN7hc1M.js → svelte-C7x6u-8L.js} +3 -3
  247. package/dist/{svelte-wsTs0hbr.js → svelte-DycOh1Oc.js} +3 -3
  248. package/dist/{switch-CP9j-8px.js → switch-D8M0xvzp.js} +65 -65
  249. package/dist/{tabs-C7JA8G0W.js → tabs-ttkDuwww.js} +181 -181
  250. package/dist/{templ-DEwqY_Qt.js → templ-MSt5oh4r.js} +2 -2
  251. package/dist/{tex-Bi7DoImG.js → tex-CVgVV9NK.js} +1 -1
  252. package/dist/toggle-group-CL_MBwuU.js +96 -0
  253. package/dist/{tooltip-34vRSwJG.js → tooltip-ZIywOFGf.js} +210 -196
  254. package/dist/{ts-tags-BK3ScQNp.js → ts-tags-Ck_QbMh4.js} +7 -7
  255. package/dist/{ts-tags-DOmIyh9G.js → ts-tags-DQKwVH4e.js} +7 -7
  256. package/dist/{tsx-D2IQdrsN.js → tsx-BfWxCQIa.js} +1 -1
  257. package/dist/{tsx-oo1y-gXD.js → tsx-DH8_xVXA.js} +1 -1
  258. package/dist/{twig-DxRYLs_L.js → twig-nd7fXiJI.js} +5 -5
  259. package/dist/{typescript-CWrXW5hv.js → typescript-Btp0Nz7Q.js} +1 -1
  260. package/dist/{typescript-C40nYMtR.js → typescript-CT-dRuB-.js} +1 -1
  261. package/dist/{ui-BaLLCKkd.js → ui-CttBuHXi.js} +2 -2
  262. package/dist/{useAnchoredPopupScrollLock-C8wRjuy0.js → useAnchoredPopupScrollLock-a2b_Frjv.js} +4 -4
  263. package/dist/{useAnimationFrame-xwbX87TY.js → useAnimationFrame-jkCXMP_8.js} +3 -3
  264. package/dist/{useAriaLabelledBy-DKl6aNOD.js → useAriaLabelledBy-WyUZP7Yf.js} +3 -3
  265. package/dist/{useBaseUiId-DOm5ACje.js → useBaseUiId-voePHgyX.js} +3 -3
  266. package/dist/{useButton-AXffhTAZ.js → useButton-DjF6Owsn.js} +7 -7
  267. package/dist/{useCollapsiblePanel-B7ERXY1c.js → useCollapsiblePanel-B6XZh6zH.js} +27 -24
  268. package/dist/{useCompositeItem-DA_RDTEI.js → useCompositeItem-JoGwOIGJ.js} +6 -11
  269. package/dist/{useCompositeListItem-xM6vOR9-.js → useCompositeListItem-C8B8UyMD.js} +5 -5
  270. package/dist/{useControlled-ZBScq72P.js → useControlled-Bu1mahWG.js} +2 -2
  271. package/dist/useFocus-DwJfNYN6.js +98 -0
  272. package/dist/{useIsoLayoutEffect-CKOv1bV_.js → useIsoLayoutEffect-4LGv3HzC.js} +1 -1
  273. package/dist/{useLabelableId-Dgoo7-Ly.js → useLabelableId-CC2YaILf.js} +6 -6
  274. package/dist/{useOnMount-Dirf6DNj.js → useOnMount-Chlmm7JB.js} +1 -1
  275. package/dist/{useOpenChangeComplete-DjMFUwhi.js → useOpenChangeComplete-Bs6gnxd9.js} +8 -8
  276. package/dist/useOpenInteractionType-DQhvPqO3.js +611 -0
  277. package/dist/{usePositioner-D65mUNMo.js → usePositioner-DkeyI5Le.js} +152 -152
  278. package/dist/useRender-D_s7850Q.js +7 -0
  279. package/dist/{useRenderElement-CmuWsiNa.js → useRenderElement-BToElZ97.js} +13 -13
  280. package/dist/{useStableCallback-CqEVb76s.js → useStableCallback-CrM0Nb2q.js} +3 -3
  281. package/dist/{useTimeout-B1x6NSZb.js → useTimeout-B0afjWAz.js} +3 -3
  282. package/dist/useTriggerFocusGuards-Qi8iK-AK.js +37 -0
  283. package/dist/{useValueAsRef-CCU3eUYq.js → useValueAsRef-CfO5zn2c.js} +3 -3
  284. package/dist/useValueChanged-26zHg3aX.js +15 -0
  285. package/dist/valueToPercent-BBx6BqbS.js +29 -0
  286. package/dist/{virtualized-grid-BQNJg029.js → virtualized-grid-DLNjqTNm.js} +16 -7
  287. package/dist/{visuallyHidden-CEAV1xeA.js → visuallyHidden-Cq5CW65k.js} +1 -1
  288. package/dist/{vue-COUaRKLt.js → vue-BMjk7Gaz.js} +5 -5
  289. package/dist/{vue-BEPn_TF_.js → vue-BoZyu9mR.js} +6 -6
  290. package/dist/{vue-html-CEiB3REn.js → vue-html-Dyr-sgcn.js} +1 -1
  291. package/dist/{vue-html-DjKFzwWo.js → vue-html-Fc3KYSrO.js} +1 -1
  292. package/dist/{vue-vine-D0Lpd94a.js → vue-vine-B-mxBKB2.js} +3 -3
  293. package/dist/{vue-vine-D6cSZo1M.js → vue-vine-BDclOuCR.js} +3 -3
  294. package/dist/{web-DF40pCMx.js → web-CqfgwsJY.js} +43 -43
  295. package/dist/{xml-DRTU1nx4.js → xml-CSo_-m7_.js} +2 -2
  296. package/dist/{xml-DL5p3-50.js → xml-tkp62giI.js} +2 -2
  297. package/dist/{xsl-3eu75y43.js → xsl-Dmc5gKQo.js} +1 -1
  298. package/dist/{yaml-6pzV2NiB.js → yaml-9hw4TgNw.js} +1 -1
  299. package/package.json +30 -30
  300. package/dist/CompositeRoot-BIh8l7ys.js +0 -179
  301. package/dist/DialogRoot-eVsH835b.js +0 -9
  302. package/dist/DialogTrigger-BuKadcdL.js +0 -379
  303. package/dist/FormContext-4NSsO4w6.js +0 -17
  304. package/dist/Toggle-CyMSF-Z7.js +0 -70
  305. package/dist/accordion-D-o5VBR2.js +0 -374
  306. package/dist/checkbox-CfF6tabe.js +0 -270
  307. package/dist/composite-HOje5ugx.js +0 -276
  308. package/dist/constants-VB9bsA8p.js +0 -4
  309. package/dist/detectBrowser-FBYSu3xM.js +0 -32
  310. package/dist/event-DWcDp5kt.js +0 -24
  311. package/dist/getPseudoElementBounds-DarjR4tH.js +0 -355
  312. package/dist/inertValue-C36grUTu.js +0 -7
  313. package/dist/input-CSc-AfAa.js +0 -91
  314. package/dist/mermaid-GHXKKRXX-B8Qglwis.js +0 -3
  315. package/dist/owner-BrzQrszh.js +0 -6
  316. package/dist/popover-CXSOUeVQ.js +0 -501
  317. package/dist/radio-group-Cc5ftdVj.js +0 -333
  318. package/dist/resolveAriaLabelledBy-DR9UHvi-.js +0 -10
  319. package/dist/scroll-area-53KPfESS.js +0 -559
  320. package/dist/select-CPTT__cT.js +0 -1363
  321. package/dist/slider-CN3uEkeD.js +0 -822
  322. package/dist/toggle-group-CDYMBO0F.js +0 -87
  323. package/dist/useFocus-DzHCrvH6.js +0 -97
  324. package/dist/useOpenInteractionType-D-ymktmc.js +0 -612
  325. package/dist/useRender-B4Oazk_w.js +0 -7
  326. package/dist/useTriggerFocusGuards-D1QlFlDK.js +0 -37
  327. package/dist/useValueChanged-j5e75XB6.js +0 -15
  328. package/dist/valueToPercent-9aZaNeTG.js +0 -24
  329. /package/dist/{chunk-Dqa2HsxW.js → rolldown-runtime-Dqa2HsxW.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  "use client";
2
- import { t as e } from "./useControlled-ZBScq72P.js";
3
- import { t } from "./useIsoLayoutEffect-CKOv1bV_.js";
4
- import { a as n, t as r, u as i } from "./useRenderElement-CmuWsiNa.js";
5
- import { t as a } from "./useStableCallback-CqEVb76s.js";
6
- import { n as o } from "./useCompositeListItem-xM6vOR9-.js";
7
- import { t as s } from "./CompositeList-DJUJLDbx.js";
8
- import { a as c, g as l, h as u, t as d, u as f } from "./createBaseUIEventDetails-ChcQXp54.js";
9
- import { t as p } from "./useBaseUiId-DOm5ACje.js";
10
- import { a as m, i as h, o as g, t as _ } from "./useOpenChangeComplete-DjMFUwhi.js";
11
- import { t as v } from "./useButton-AXffhTAZ.js";
12
- import { n as y, t as b } from "./shadowDom-C-4Ejp9R.js";
13
- import { t as x } from "./owner-BrzQrszh.js";
14
- import { cn as S } from "./lib/utils.js";
15
- import { t as C } from "./dist-Ber_p4PA.js";
16
- import { t as w } from "./inertValue-C36grUTu.js";
17
- import { t as T } from "./useCompositeItem-DA_RDTEI.js";
18
- import { n as E, t as D } from "./CompositeRoot-BIh8l7ys.js";
2
+ import { t as e } from "./useControlled-Bu1mahWG.js";
3
+ import { t } from "./useIsoLayoutEffect-4LGv3HzC.js";
4
+ import { a as n, t as r, u as i } from "./useRenderElement-BToElZ97.js";
5
+ import { t as a } from "./useStableCallback-CrM0Nb2q.js";
6
+ import { n as o } from "./useCompositeListItem-C8B8UyMD.js";
7
+ import { t as s } from "./CompositeList-BUPONQmB.js";
8
+ import { t as c } from "./useBaseUiId-voePHgyX.js";
9
+ import { a as l, g as u, h as d, t as f, u as p } from "./createBaseUIEventDetails-C_dwdqj4.js";
10
+ import { a as m, i as h, o as g, t as _ } from "./useOpenChangeComplete-Bs6gnxd9.js";
11
+ import { t as v } from "./useButton-DjF6Owsn.js";
12
+ import { t as y } from "./owner-CyZnQOKt.js";
13
+ import { cn as b } from "./lib/utils.js";
14
+ import { t as x } from "./dist-Ber_p4PA.js";
15
+ import { n as S, t as C } from "./shadowDom-BACsbimN.js";
16
+ import { t as w } from "./inertValue-BhczR0H5.js";
17
+ import { t as T } from "./useCompositeItem-JoGwOIGJ.js";
18
+ import { n as E, t as D } from "./CompositeRoot-B_7HJZA1.js";
19
19
  import * as O from "react";
20
20
  import { jsx as k } from "react/jsx-runtime";
21
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tabs/root/TabsRootContext.js
21
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/root/TabsRootContext.mjs
22
22
  var A = /*#__PURE__*/ O.createContext(void 0);
23
23
  process.env.NODE_ENV !== "production" && (A.displayName = "TabsRootContext");
24
24
  function j() {
@@ -27,132 +27,130 @@ function j() {
27
27
  return e;
28
28
  }
29
29
  //#endregion
30
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tabs/root/TabsRootDataAttributes.js
30
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/root/TabsRootDataAttributes.mjs
31
31
  var M = /*#__PURE__*/ function(e) {
32
32
  return e.activationDirection = "data-activation-direction", e.orientation = "data-orientation", e;
33
33
  }({}), N = { tabActivationDirection: (e) => ({ [M.activationDirection]: e }) }, P = /*#__PURE__*/ O.forwardRef(function(n, i) {
34
- let { className: o, defaultValue: l = 0, onValueChange: p, orientation: m = "horizontal", render: h, value: g, style: _, ...v } = n, y = n.defaultValue !== void 0, b = O.useRef([]), [x, S] = O.useState(() => /* @__PURE__ */ new Map()), [C, w] = e({
34
+ let { className: o, defaultValue: c = 0, onValueChange: u, orientation: m = "horizontal", render: h, value: g, style: _, ...v } = n, y = n.defaultValue !== void 0, b = O.useRef([]), [x, S] = O.useState(() => /* @__PURE__ */ new Map()), [C, w] = e({
35
35
  controlled: g,
36
- default: l,
36
+ default: c,
37
37
  name: "Tabs",
38
38
  state: "value"
39
- }), T = g !== void 0, [E, D] = O.useState(() => /* @__PURE__ */ new Map()), j = O.useCallback((e) => {
39
+ }), T = g !== void 0, [E, D] = O.useState(() => /* @__PURE__ */ new Map()), j = O.useRef(void 0), M = O.useCallback((e) => {
40
40
  if (e === void 0) return null;
41
41
  for (let [t, n] of E.entries()) if (n != null && e === (n.value ?? n.index)) return t;
42
42
  return null;
43
- }, [E]), [M, P] = O.useState(() => ({
43
+ }, [E]), [P, I] = O.useState(() => ({
44
44
  previousValue: C,
45
45
  tabActivationDirection: "none"
46
- })), { previousValue: I, tabActivationDirection: L } = M, R = L, z = !1;
47
- I !== C && (R = F(I, C, m, E), z = I != null && C != null && j(C) == null);
48
- let B = z ? I : C, V = I !== B || L !== R;
46
+ })), { previousValue: L, tabActivationDirection: R } = P, z = R, B = !1;
47
+ L !== C && (z = F(L, C, m, E), B = L != null && C != null && M(C) == null);
48
+ let V = B ? L : C, H = L !== V || R !== z;
49
49
  t(() => {
50
- V && P({
51
- previousValue: B,
52
- tabActivationDirection: R
50
+ H && I({
51
+ previousValue: V,
52
+ tabActivationDirection: z
53
53
  });
54
54
  }, [
55
- B,
56
55
  V,
57
- R
56
+ H,
57
+ z
58
58
  ]);
59
- let H = a((e, t) => {
60
- t.activationDirection = F(C, e, m, E), p?.(e, t), !t.isCanceled && w(e);
61
- }), U = a((e, t) => {
62
- p?.(e, d(t, void 0, void 0, { activationDirection: "none" }));
59
+ let U = a((e, t) => {
60
+ t.activationDirection = F(C, e, m, E), u?.(e, t), !t.isCanceled && w(e);
63
61
  }), W = a((e, t) => {
62
+ u?.(e, f(t, void 0, void 0, { activationDirection: "none" }));
63
+ }), G = a((e, t) => {
64
64
  S((n) => {
65
65
  if (n.get(e) === t) return n;
66
66
  let r = new Map(n);
67
67
  return r.set(e, t), r;
68
68
  });
69
- }), G = a((e, t) => {
69
+ }), K = a((e, t) => {
70
70
  S((n) => {
71
71
  if (!n.has(e) || n.get(e) !== t) return n;
72
72
  let r = new Map(n);
73
73
  return r.delete(e), r;
74
74
  });
75
- }), K = O.useCallback((e) => x.get(e), [x]), q = O.useCallback((e) => {
75
+ }), q = O.useCallback((e) => x.get(e), [x]), J = O.useCallback((e) => {
76
76
  for (let t of E.values()) if (e === t?.value) return t?.id;
77
- }, [E]), J = O.useMemo(() => ({
78
- getTabElementBySelectedValue: j,
79
- getTabIdByPanelValue: q,
80
- getTabPanelIdByValue: K,
81
- onValueChange: H,
77
+ }, [E]), Y = O.useMemo(() => ({
78
+ getTabElementBySelectedValue: M,
79
+ getTabIdByPanelValue: J,
80
+ getTabPanelIdByValue: q,
81
+ onValueChange: U,
82
82
  orientation: m,
83
- registerMountedTabPanel: W,
83
+ registerMountedTabPanel: G,
84
84
  setTabMap: D,
85
- unregisterMountedTabPanel: G,
86
- tabActivationDirection: R,
85
+ unregisterMountedTabPanel: K,
86
+ tabActivationDirection: z,
87
87
  value: C
88
88
  }), [
89
- j,
89
+ M,
90
+ J,
90
91
  q,
91
- K,
92
- H,
92
+ U,
93
93
  m,
94
- W,
95
- D,
96
94
  G,
97
- R,
95
+ D,
96
+ K,
97
+ z,
98
98
  C
99
- ]), Y = O.useMemo(() => {
99
+ ]), X = O.useMemo(() => {
100
100
  for (let e of E.values()) if (e != null && e.value === C) return e;
101
- }, [E, C]), X = O.useMemo(() => {
101
+ }, [E, C]), Z = O.useMemo(() => {
102
102
  for (let e of E.values()) if (e != null && !e.disabled) return e.value;
103
- }, [E]), Z = O.useRef(!y), Q = O.useRef(y), $ = O.useRef(!1);
103
+ }, [E]), Q = O.useRef(!y), $ = O.useRef(c), ee = O.useRef(y), te = O.useRef(!1);
104
104
  t(() => {
105
105
  if (T) return;
106
106
  function e(e, t) {
107
- w(e), P((t) => t.previousValue === e && t.tabActivationDirection === "none" ? t : {
107
+ w(e), I((t) => t.previousValue === e && t.tabActivationDirection === "none" ? t : {
108
108
  previousValue: e,
109
109
  tabActivationDirection: "none"
110
- }), U(e, t), Z.current = !1;
110
+ }), W(e, t), Q.current = !1;
111
111
  }
112
112
  if (E.size === 0) {
113
- if (!$.current || C === null) return;
114
- e(null, u);
113
+ te.current && C !== null && !j.current?.isConnected && e(null, d);
115
114
  return;
116
115
  }
117
- $.current = !0;
118
- let t = Y?.disabled, n = Y == null && C !== null;
119
- if (!t && C === l && (Q.current = !1), Q.current && t && C === l) return;
120
- let r = Z.current;
116
+ te.current = !0, j.current = E.keys().next().value;
117
+ let t = X?.disabled, n = X == null && C !== null;
118
+ if (!t && C === $.current && (ee.current = !1), ee.current && t && C === $.current) return;
119
+ let r = Q.current;
121
120
  if (t || n) {
122
- let n = X ?? null;
121
+ let n = Z ?? null;
123
122
  if (C === n) {
124
- Z.current = !1;
123
+ Q.current = !1;
125
124
  return;
126
125
  }
127
- let i = u;
128
- r ? i = f : t && (i = c), e(n, i);
126
+ let i = d;
127
+ r ? i = p : t && (i = l), e(n, i);
129
128
  return;
130
129
  }
131
- r && Y != null && (U(C, f), Z.current = !1);
130
+ r && X != null && (W(C, p), Q.current = !1);
132
131
  }, [
133
- l,
134
- X,
132
+ Z,
135
133
  T,
136
- U,
137
- Y,
134
+ W,
135
+ X,
138
136
  w,
139
137
  E,
140
138
  C
141
139
  ]);
142
- let ee = r("div", n, {
140
+ let ne = r("div", n, {
143
141
  state: {
144
142
  orientation: m,
145
- tabActivationDirection: R
143
+ tabActivationDirection: z
146
144
  },
147
145
  ref: i,
148
146
  props: v,
149
147
  stateAttributesMapping: N
150
148
  });
151
149
  return /*#__PURE__*/ k(A.Provider, {
152
- value: J,
150
+ value: Y,
153
151
  children: /*#__PURE__*/ k(s, {
154
152
  elementsRef: b,
155
- children: ee
153
+ children: ne
156
154
  })
157
155
  });
158
156
  });
@@ -177,7 +175,7 @@ function F(e, t, n, r) {
177
175
  return "none";
178
176
  }
179
177
  //#endregion
180
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tabs/list/TabsListContext.js
178
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/list/TabsListContext.mjs
181
179
  var I = /*#__PURE__*/ O.createContext(void 0);
182
180
  process.env.NODE_ENV !== "production" && (I.displayName = "TabsListContext");
183
181
  function L() {
@@ -186,104 +184,106 @@ function L() {
186
184
  return e;
187
185
  }
188
186
  //#endregion
189
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tabs/tab/TabsTab.js
187
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/tab/TabsTab.mjs
190
188
  var R = /*#__PURE__*/ O.forwardRef(function(e, n) {
191
- let { className: i, disabled: a = !1, render: o, value: s, id: c, nativeButton: u = !0, style: f, ...m } = e, { value: h, getTabPanelIdByValue: g, orientation: _ } = j(), { activateOnFocus: S, highlightedTabIndex: C, onTabActivation: w, registerTabResizeObserverElement: D, setHighlightedTabIndex: k, tabsListElement: A } = L(), M = p(c), { compositeProps: N, compositeRef: P, index: F } = T({ metadata: O.useMemo(() => ({
189
+ let { className: i, disabled: a = !1, render: o, value: s, id: l, nativeButton: d = !0, style: p, ...m } = e, { value: h, getTabPanelIdByValue: g, orientation: _, tabActivationDirection: b } = j(), { activateOnFocus: x, highlightedTabIndex: w, onTabActivation: D, registerTabResizeObserverElement: k, setHighlightedTabIndex: A, tabsListElement: M } = L(), P = c(l), { compositeProps: F, compositeRef: I, index: R } = T({ metadata: O.useMemo(() => ({
192
190
  disabled: a,
193
- id: M,
191
+ id: P,
194
192
  value: s
195
193
  }), [
196
194
  a,
197
- M,
195
+ P,
198
196
  s
199
- ]) }), I = s === h, R = O.useRef(!1), z = O.useRef(null);
200
- O.useEffect(() => {
201
- let e = z.current;
202
- if (e) return D(e);
203
- }, [D]), t(() => {
204
- if (R.current) {
205
- R.current = !1;
197
+ ]) }), z = s === h, B = O.useRef(!1), V = O.useRef(null);
198
+ t(() => {
199
+ let e = V.current;
200
+ if (e) return k(e);
201
+ }, [k]), t(() => {
202
+ if (B.current) {
203
+ B.current = !1;
206
204
  return;
207
205
  }
208
- if (!(I && F > -1 && C !== F)) return;
209
- let e = A;
206
+ if (!(z && R > -1 && w !== R)) return;
207
+ let e = M;
210
208
  if (e != null) {
211
- let t = b(x(e));
212
- if (t && y(e, t)) return;
209
+ let t = C(y(e));
210
+ if (t && S(e, t)) return;
213
211
  }
214
- a || k(F);
212
+ a || A(R);
215
213
  }, [
216
- I,
217
- F,
218
- C,
219
- k,
214
+ z,
215
+ R,
216
+ w,
217
+ A,
220
218
  a,
221
- A
219
+ M
222
220
  ]);
223
- let { getButtonProps: B, buttonRef: V } = v({
221
+ let { getButtonProps: H, buttonRef: U } = v({
224
222
  disabled: a,
225
- native: u,
223
+ native: d,
226
224
  focusableWhenDisabled: !0
227
- }), H = g(s), U = O.useRef(!1), W = O.useRef(!1);
228
- function G(e) {
229
- I || a || w(s, d(l, e.nativeEvent, void 0, { activationDirection: "none" }));
225
+ }), W = g(s), G = O.useRef(!1), K = O.useRef(!1);
226
+ function q(e) {
227
+ z || a || D(s, f(u, e.nativeEvent, void 0, { activationDirection: "none" }));
230
228
  }
231
- function K(e) {
232
- I || (F > -1 && !a && k(F), !a && S && (!U.current || U.current && W.current) && w(s, d(l, e.nativeEvent, void 0, { activationDirection: "none" })));
229
+ function J(e) {
230
+ z || (R > -1 && !a && A(R), !a && x && (!G.current || G.current && K.current) && D(s, f(u, e.nativeEvent, void 0, { activationDirection: "none" })));
233
231
  }
234
- function q(e) {
235
- if (I || a) return;
236
- U.current = !0;
232
+ function Y(e) {
233
+ if (z || a) return;
234
+ G.current = !0;
237
235
  function t() {
238
- U.current = !1, W.current = !1;
236
+ G.current = !1, K.current = !1;
239
237
  }
240
- (!e.button || e.button === 0) && (W.current = !0, x(e.currentTarget).addEventListener("pointerup", t, { once: !0 }));
238
+ (!e.button || e.button === 0) && (K.current = !0, y(e.currentTarget).addEventListener("pointerup", t, { once: !0 }));
241
239
  }
242
240
  return r("button", e, {
243
241
  state: {
244
242
  disabled: a,
245
- active: I,
246
- orientation: _
243
+ active: z,
244
+ orientation: _,
245
+ tabActivationDirection: b
247
246
  },
248
247
  ref: [
249
248
  n,
250
- V,
251
- P,
252
- z
249
+ U,
250
+ I,
251
+ V
253
252
  ],
254
253
  props: [
255
- N,
254
+ F,
256
255
  {
257
256
  role: "tab",
258
- "aria-controls": H,
259
- "aria-selected": I,
260
- id: M,
261
- onClick: G,
262
- onFocus: K,
263
- onPointerDown: q,
264
- [E]: I ? "" : void 0,
257
+ "aria-controls": W,
258
+ "aria-selected": z,
259
+ id: P,
260
+ onClick: q,
261
+ onFocus: J,
262
+ onPointerDown: Y,
263
+ [E]: z ? "" : void 0,
265
264
  onKeyDownCapture() {
266
- R.current = !0;
265
+ B.current = !0;
267
266
  }
268
267
  },
269
268
  m,
270
- B
271
- ]
269
+ H
270
+ ],
271
+ stateAttributesMapping: N
272
272
  });
273
273
  });
274
274
  process.env.NODE_ENV !== "production" && (R.displayName = "TabsTab");
275
275
  //#endregion
276
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tabs/panel/TabsPanelDataAttributes.js
276
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/panel/TabsPanelDataAttributes.mjs
277
277
  var z = function(e) {
278
278
  return e.index = "data-index", e.activationDirection = "data-activation-direction", e.orientation = "data-orientation", e.hidden = "data-hidden", e[e.startingStyle = h.startingStyle] = "startingStyle", e[e.endingStyle = h.endingStyle] = "endingStyle", e;
279
279
  }({}), B = {
280
280
  ...N,
281
281
  ...m
282
282
  }, V = /*#__PURE__*/ O.forwardRef(function(e, n) {
283
- let { className: i, value: a, render: s, keepMounted: c = !1, style: l, ...u } = e, { value: d, getTabIdByPanelValue: f, orientation: m, tabActivationDirection: h, registerMountedTabPanel: v, unregisterMountedTabPanel: y } = j(), b = p(), { ref: x, index: S } = o({ metadata: O.useMemo(() => ({
283
+ let { className: i, value: a, render: s, keepMounted: l = !1, style: u, ...d } = e, { value: f, getTabIdByPanelValue: p, orientation: m, tabActivationDirection: h, registerMountedTabPanel: v, unregisterMountedTabPanel: y } = j(), b = c(), { ref: x, index: S } = o({ metadata: O.useMemo(() => ({
284
284
  id: b,
285
285
  value: a
286
- }), [b, a]) }), C = a === d, { mounted: T, transitionStatus: E, setMounted: D } = g(C), k = !T, A = f(a), M = {
286
+ }), [b, a]) }), C = a === f, { mounted: T, transitionStatus: E, setMounted: D } = g(C), k = !T, A = p(a), M = {
287
287
  hidden: k,
288
288
  orientation: m,
289
289
  tabActivationDirection: h,
@@ -303,7 +303,7 @@ var z = function(e) {
303
303
  tabIndex: C ? 0 : -1,
304
304
  inert: w(!C),
305
305
  [z.index]: S
306
- }, u],
306
+ }, d],
307
307
  stateAttributesMapping: B
308
308
  });
309
309
  return _({
@@ -313,81 +313,81 @@ var z = function(e) {
313
313
  C || D(!1);
314
314
  }
315
315
  }), t(() => {
316
- if (!(k && !c) && b != null) return v(a, b), () => {
316
+ if (!(k && !l) && b != null) return v(a, b), () => {
317
317
  y(a, b);
318
318
  };
319
319
  }, [
320
320
  k,
321
- c,
321
+ l,
322
322
  a,
323
323
  b,
324
324
  v,
325
325
  y
326
- ]), c || T ? P : null;
326
+ ]), l || T ? P : null;
327
327
  });
328
328
  process.env.NODE_ENV !== "production" && (V.displayName = "TabsPanel");
329
329
  //#endregion
330
- //#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tabs/list/TabsList.js
331
- var H = /*#__PURE__*/ O.forwardRef(function(e, t) {
332
- let { activateOnFocus: r = !1, className: i, loopFocus: o = !0, render: s, style: c, ...l } = e, { onValueChange: u, orientation: d, value: f, setTabMap: p, tabActivationDirection: m } = j(), [h, g] = O.useState(0), [_, v] = O.useState(null), y = O.useRef(/* @__PURE__ */ new Set()), b = O.useRef(/* @__PURE__ */ new Set()), x = O.useRef(null);
333
- O.useEffect(() => {
330
+ //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/list/TabsList.mjs
331
+ var H = /*#__PURE__*/ O.forwardRef(function(e, r) {
332
+ let { activateOnFocus: i = !1, className: o, loopFocus: s = !0, render: c, style: l, ...u } = e, { onValueChange: d, orientation: f, value: p, setTabMap: m, tabActivationDirection: h } = j(), [g, _] = O.useState(0), [v, y] = O.useState(null), b = O.useRef(/* @__PURE__ */ new Set()), x = O.useRef(/* @__PURE__ */ new Set()), S = O.useRef(null);
333
+ t(() => {
334
334
  if (typeof ResizeObserver > "u") return;
335
335
  let e = new ResizeObserver(() => {
336
- y.current.forEach((e) => {
336
+ b.current.forEach((e) => {
337
337
  e();
338
338
  });
339
339
  });
340
- return x.current = e, _ && e.observe(_), b.current.forEach((t) => {
340
+ return S.current = e, v && e.observe(v), x.current.forEach((t) => {
341
341
  e.observe(t);
342
342
  }), () => {
343
- e.disconnect(), x.current = null;
343
+ e.disconnect(), S.current = null;
344
344
  };
345
- }, [_]);
346
- let S = a((e) => (y.current.add(e), () => {
347
- y.current.delete(e);
348
- })), C = a((e) => (b.current.add(e), x.current?.observe(e), () => {
349
- b.current.delete(e), x.current?.unobserve(e);
350
- })), w = a((e, t) => {
351
- e !== f && u(e, t);
352
- }), T = {
353
- orientation: d,
354
- tabActivationDirection: m
355
- }, E = {
356
- "aria-orientation": d === "vertical" ? "vertical" : void 0,
345
+ }, [v]);
346
+ let C = a((e) => (b.current.add(e), () => {
347
+ b.current.delete(e);
348
+ })), w = a((e) => (x.current.add(e), S.current?.observe(e), () => {
349
+ x.current.delete(e), S.current?.unobserve(e);
350
+ })), T = a((e, t) => {
351
+ e !== p && d(e, t);
352
+ }), E = {
353
+ orientation: f,
354
+ tabActivationDirection: h
355
+ }, A = {
356
+ "aria-orientation": f === "vertical" ? "vertical" : void 0,
357
357
  role: "tablist"
358
- }, A = O.useMemo(() => ({
359
- activateOnFocus: r,
360
- highlightedTabIndex: h,
361
- registerIndicatorUpdateListener: S,
362
- registerTabResizeObserverElement: C,
363
- onTabActivation: w,
364
- setHighlightedTabIndex: g,
365
- tabsListElement: _
358
+ }, M = O.useMemo(() => ({
359
+ activateOnFocus: i,
360
+ highlightedTabIndex: g,
361
+ registerIndicatorUpdateListener: C,
362
+ registerTabResizeObserverElement: w,
363
+ onTabActivation: T,
364
+ setHighlightedTabIndex: _,
365
+ tabsListElement: v
366
366
  }), [
367
- r,
368
- h,
369
- S,
367
+ i,
368
+ g,
370
369
  C,
371
370
  w,
372
- g,
373
- _
371
+ T,
372
+ _,
373
+ v
374
374
  ]);
375
375
  return /*#__PURE__*/ k(I.Provider, {
376
- value: A,
376
+ value: M,
377
377
  children: /*#__PURE__*/ k(D, {
378
- render: s,
379
- className: i,
380
- style: c,
381
- state: T,
382
- refs: [t, v],
383
- props: [E, l],
378
+ render: c,
379
+ className: o,
380
+ style: l,
381
+ state: E,
382
+ refs: [r, y],
383
+ props: [A, u],
384
384
  stateAttributesMapping: N,
385
- highlightedIndex: h,
385
+ highlightedIndex: g,
386
386
  enableHomeAndEndKeys: !0,
387
- loopFocus: o,
388
- orientation: d,
389
- onHighlightedIndexChange: g,
390
- onMapChange: p,
387
+ loopFocus: s,
388
+ orientation: f,
389
+ onHighlightedIndexChange: _,
390
+ onMapChange: m,
391
391
  disabledIndices: n
392
392
  })
393
393
  });
@@ -397,13 +397,13 @@ process.env.NODE_ENV !== "production" && (H.displayName = "TabsList");
397
397
  //#region lib/components/ui/atoms/tabs.tsx
398
398
  function U({ className: e, orientation: t = "horizontal", ...n }) {
399
399
  return /* @__PURE__ */ k(P, {
400
- className: S("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col", e),
400
+ className: b("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col", e),
401
401
  "data-slot": "tabs",
402
402
  orientation: t,
403
403
  ...n
404
404
  });
405
405
  }
406
- var W = C("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground data-[variant=line]:rounded-none group-data-[orientation=horizontal]/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col", {
406
+ var W = x("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground data-[variant=line]:rounded-none group-data-[orientation=horizontal]/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col", {
407
407
  variants: { variant: {
408
408
  default: "bg-muted",
409
409
  line: "gap-1 bg-transparent"
@@ -412,7 +412,7 @@ var W = C("group/tabs-list inline-flex w-fit items-center justify-center rounded
412
412
  });
413
413
  function G({ className: e, variant: t = "default", ...n }) {
414
414
  return /* @__PURE__ */ k(H, {
415
- className: S(W({ variant: t }), e),
415
+ className: b(W({ variant: t }), e),
416
416
  "data-slot": "tabs-list",
417
417
  "data-variant": t,
418
418
  ...n
@@ -420,14 +420,14 @@ function G({ className: e, variant: t = "default", ...n }) {
420
420
  }
421
421
  function K({ className: e, ...t }) {
422
422
  return /* @__PURE__ */ k(R, {
423
- className: S("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-1.5 py-0.5 font-medium text-foreground/60 text-sm transition-all hover:text-foreground focus-visible:border-ring focus-visible:outline-1 focus-visible:outline-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
423
+ className: b("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-1.5 py-0.5 font-medium text-foreground/60 text-sm transition-all hover:text-foreground focus-visible:border-ring focus-visible:outline-1 focus-visible:outline-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
424
424
  "data-slot": "tabs-trigger",
425
425
  ...t
426
426
  });
427
427
  }
428
428
  function q({ className: e, ...t }) {
429
429
  return /* @__PURE__ */ k(V, {
430
- className: S("flex-1 text-sm outline-none", e),
430
+ className: b("flex-1 text-sm outline-none", e),
431
431
  "data-slot": "tabs-content",
432
432
  ...t
433
433
  });