@arcadeai/design-system 5.0.1 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSPContext-_3HefTUC.js +11 -0
- package/dist/{CompositeItem-BWqRobLN.js → CompositeItem-RsjiqT-t.js} +3 -3
- package/dist/{CompositeList-DJUJLDbx.js → CompositeList-BUPONQmB.js} +5 -5
- package/dist/CompositeRoot-B_7HJZA1.js +166 -0
- package/dist/DialogRoot-DuiSPdsZ.js +9 -0
- package/dist/DialogTrigger-DGGP-2Oc.js +371 -0
- package/dist/{DirectionContext-B4CbbM--.js → DirectionContext-OzWG1tsQ.js} +1 -1
- package/dist/{FieldItemContext-4qBxodsW.js → FieldItemContext-C6kLzkCC.js} +1 -1
- package/dist/{FloatingPortalLite-B1JyBlt0.js → FloatingPortalLite-D5nFwFgJ.js} +2 -2
- package/dist/{LabelableContext-Q1Z-xUI9.js → LabelableContext-C6DIbcnY.js} +34 -18
- package/dist/ReactStore-C3H8e2ha.js +600 -0
- package/dist/{Separator-CgntgfMd.js → Separator-CJ3Gn6wf.js} +2 -2
- package/dist/{StickToBottom-CU0d65a_.js → StickToBottom-Bh9VDiPm.js} +3 -3
- package/dist/Toggle-BdxyK_Ln.js +74 -0
- package/dist/{ToolbarRootContext-DVNA8Vkb.js → ToolbarRootContext-CDm74ob9.js} +2 -2
- package/dist/accordion-BP9Lgkg8.js +314 -0
- package/dist/{addEventListener-B4Gs94GY.js → addEventListener-BlQH_qk1.js} +1 -1
- package/dist/{alert-dialog-tBMDYzJ3.js → alert-dialog-1bUE2clB.js} +4 -4
- package/dist/{angular-html-BDzibLIk.js → angular-html-CmQQGj3Q.js} +2 -2
- package/dist/{angular-html-D85fwMJh.js → angular-html-DkEUN79G.js} +2 -2
- package/dist/{angular-ts-D81F0-9A.js → angular-ts-4H9Tgcds.js} +2 -2
- package/dist/{angular-ts-C3bnauCX.js → angular-ts-wkihi9GZ.js} +2 -2
- package/dist/{apl-92oxg4m4.js → apl-C_-_9Ip6.js} +5 -5
- package/dist/assets/icons/microsoft-power-bi.js +88 -0
- package/dist/assets/index.css +2 -2
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- package/dist/{astro-BmZ7vV4W.js → astro-DKp4HZqy.js} +5 -5
- package/dist/{astro-Up1TtKOj.js → astro-nonP8tBz.js} +4 -4
- package/dist/{avatar-BSYWkGGc.js → avatar-DbL6b01k.js} +37 -37
- package/dist/{blade-CpVdu14g.js → blade-6azK5Bl7.js} +6 -6
- package/dist/{blade-CsxOO3tZ.js → blade-Bm1wiaIl.js} +7 -7
- package/dist/{button-BNOmhdpM.js → button-BdQxLUOB.js} +3 -3
- package/dist/{c-CoKjrVSd.js → c-BLhjukKD.js} +1 -1
- package/dist/{c-DtxJex1m.js → c-D23WKKVZ.js} +1 -1
- package/dist/{calendar-DizaWURn.js → calendar-Ctzadwv-.js} +98 -97
- package/dist/checkbox-DB9O_Iw9.js +284 -0
- package/dist/clamp-BT4ayAnN.js +6 -0
- package/dist/{cobol-DW9I8MrZ.js → cobol-cEewS-ES.js} +2 -2
- package/dist/{coffee-IcWixSuh.js → coffee-BWa7CtjQ.js} +1 -1
- package/dist/{coffee-B9lToztK.js → coffee-QapU4XnI.js} +1 -1
- package/dist/{collapsible-Dt__KKUJ.js → collapsible-DP7Fb-Lu.js} +28 -28
- package/dist/{command-ChimIUHM.js → command-DC-ESQ0C.js} +25 -25
- package/dist/components/index.js +259 -252
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +1 -1
- package/dist/components/ui/atoms/avatar.js +1 -1
- package/dist/components/ui/atoms/badge.js +2 -2
- package/dist/components/ui/atoms/breadcrumb.js +2 -2
- package/dist/components/ui/atoms/button.js +1 -1
- package/dist/components/ui/atoms/calendar.js +1 -1
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.js +7 -7
- package/dist/components/ui/atoms/chat-container.js +1 -1
- package/dist/components/ui/atoms/checkbox.d.ts +16 -2
- package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
- package/dist/components/ui/atoms/checkbox.js +2 -2
- package/dist/components/ui/atoms/clear-button.d.ts +13 -0
- package/dist/components/ui/atoms/clear-button.d.ts.map +1 -0
- package/dist/components/ui/atoms/clear-button.js +23 -0
- package/dist/components/ui/atoms/code-block.js +1 -1
- package/dist/components/ui/atoms/collapsible.js +1 -1
- package/dist/components/ui/atoms/command.js +1 -1
- package/dist/components/ui/atoms/compute-flow-paths.js +16 -16
- package/dist/components/ui/atoms/copy-button.js +1 -1
- package/dist/components/ui/atoms/dialog.js +3 -3
- package/dist/components/ui/atoms/dropdown-menu.js +1 -1
- package/dist/components/ui/atoms/form.d.ts +1 -1
- package/dist/components/ui/atoms/form.d.ts.map +1 -1
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/icon-tile.d.ts +10 -0
- package/dist/components/ui/atoms/icon-tile.d.ts.map +1 -0
- package/dist/components/ui/atoms/icon-tile.js +25 -0
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +63 -62
- package/dist/components/ui/atoms/icons/microsoft-power-bi.d.ts +4 -0
- package/dist/components/ui/atoms/icons/microsoft-power-bi.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/microsoft-power-bi.js +82 -0
- package/dist/components/ui/atoms/index.d.ts +3 -1
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +212 -209
- package/dist/components/ui/atoms/input-group.js +2 -2
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/json-highlight.d.ts +2 -2
- package/dist/components/ui/atoms/json-highlight.d.ts.map +1 -1
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/mobile-tooltip.js +2 -2
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/progress.js +1 -1
- package/dist/components/ui/atoms/radio-group.js +1 -1
- package/dist/components/ui/atoms/resizable.js +1 -1
- package/dist/components/ui/atoms/scroll-area.js +1 -1
- package/dist/components/ui/atoms/scroll-button.js +3 -3
- package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts +24 -0
- package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts.map +1 -0
- package/dist/components/ui/atoms/scroll-to-bottom-button.js +31 -0
- package/dist/components/ui/atoms/select.js +1 -1
- package/dist/components/ui/atoms/separator.js +1 -1
- package/dist/components/ui/atoms/sheet.js +3 -3
- package/dist/components/ui/atoms/sidebar.d.ts.map +1 -1
- package/dist/components/ui/atoms/sidebar.js +5 -5
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/sparkle-burst.d.ts.map +1 -1
- package/dist/components/ui/atoms/switch.js +1 -1
- package/dist/components/ui/atoms/tabs.js +1 -1
- package/dist/components/ui/atoms/toggle-group.js +1 -1
- package/dist/components/ui/atoms/toggle.js +1 -1
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +1 -1
- package/dist/components/ui/atoms/virtualized-grid.js +1 -1
- package/dist/components/ui/blocks/demo.js +5 -5
- package/dist/components/ui/index.js +259 -252
- package/dist/components/ui/molecules/avatar-stack.d.ts +32 -0
- package/dist/components/ui/molecules/avatar-stack.d.ts.map +1 -0
- package/dist/components/ui/molecules/avatar-stack.js +91 -0
- package/dist/components/ui/molecules/callout.d.ts +20 -0
- package/dist/components/ui/molecules/callout.d.ts.map +1 -0
- package/dist/components/ui/molecules/callout.js +39 -0
- package/dist/components/ui/molecules/chat-history-item.js +1 -1
- package/dist/components/ui/molecules/chip-body.d.ts +21 -0
- package/dist/components/ui/molecules/chip-body.d.ts.map +1 -0
- package/dist/components/ui/molecules/chip-body.js +21 -0
- package/dist/components/ui/molecules/client-secret-field.js +2 -2
- package/dist/components/ui/molecules/command-bar.js +1 -1
- package/dist/components/ui/molecules/confirm-popover.js +2 -2
- package/dist/components/ui/molecules/date-time-picker.js +4 -4
- package/dist/components/ui/molecules/filter-chip-group.d.ts +26 -0
- package/dist/components/ui/molecules/filter-chip-group.d.ts.map +1 -0
- package/dist/components/ui/molecules/{mcp-server-picker/category-filter.js → filter-chip-group.js} +8 -7
- package/dist/components/ui/molecules/index.d.ts +14 -6
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +39 -35
- package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.d.ts.map +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.js +18 -15
- package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.js +2 -2
- package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.d.ts.map +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/section-nav-header.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.js +29 -81
- package/dist/components/ui/molecules/mcp-server-picker/server-card.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/tool-card.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts +12 -0
- package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts.map +1 -0
- package/dist/components/ui/molecules/mcp-server-picker/{tool-search-band.js → tool-recommendations.js} +6 -6
- package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts +6 -6
- package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts.map +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.js +21 -33
- package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.d.ts.map +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.js +19 -22
- package/dist/components/ui/molecules/mcp-server-picker/unoptimized-match-card.js +1 -1
- package/dist/components/ui/molecules/message.d.ts.map +1 -1
- package/dist/components/ui/molecules/message.js +3 -3
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
- package/dist/components/ui/molecules/prompt-input.js +1 -1
- package/dist/components/ui/molecules/removable-chip.d.ts.map +1 -0
- package/dist/components/ui/{atoms → molecules}/removable-chip.js +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +1 -1
- package/dist/components/ui/molecules/steps-progress.js +1 -1
- package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-call-accordion.js +2 -2
- package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-card.js +3 -3
- package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/molecules/undo-toast.d.ts +47 -0
- package/dist/components/ui/molecules/undo-toast.d.ts.map +1 -0
- package/dist/components/ui/molecules/undo-toast.js +3 -0
- package/dist/components/ui/molecules/user-nav.js +3 -3
- package/dist/components/ui/organisms/mcp-selection-summary-bar.d.ts.map +1 -1
- package/dist/components/ui/organisms/mcp-selection-summary-bar.js +27 -30
- package/dist/components/ui/pages/login-page.js +1 -1
- package/dist/composite-B-tEa-Zg.js +169 -0
- package/dist/{composite-BlDfbDkL.js → composite-COXvAbcT.js} +5 -5
- package/dist/constants-ouS7wtUt.js +5 -0
- package/dist/{cpp-BLc8IWxi.js → cpp-BBpqpcUG.js} +4 -4
- package/dist/{cpp-BEQCV3s5.js → cpp-CenmDznH.js} +3 -3
- package/dist/{createBaseUIEventDetails-ChcQXp54.js → createBaseUIEventDetails-C_dwdqj4.js} +3 -3
- package/dist/{crystal-Bpo57dB-.js → crystal-Cjt-cWZ3.js} +6 -6
- package/dist/{css-DSy_xl5Z.js → css-BT0UpMRG.js} +1 -1
- package/dist/{css-DcJEitGa.js → css-QsZubv6P.js} +1 -1
- package/dist/dropdown-menu-ecggVuhu.js +1391 -0
- package/dist/{edge-Crbn4Nhk.js → edge-nqxIbnup.js} +3 -3
- package/dist/{elixir-CIj8u1AY.js → elixir-IwV7soxp.js} +1 -1
- package/dist/{elm-CfYD1d_e.js → elm-Ogf1arfY.js} +1 -1
- package/dist/engine-ChH4dTze.js +6 -0
- package/dist/{erb-BJQo6_56.js → erb-BBpN-Ldx.js} +2 -2
- package/dist/{error-CAd3pM3X.js → error-C8bGkT0l.js} +1 -1
- package/dist/getPseudoElementBounds-BOe22aYl.js +345 -0
- package/dist/{git-rebase-DVA6p9-5.js → git-rebase-CqAmS_sI.js} +1 -1
- package/dist/{glimmer-js-DVJpm-CV.js → glimmer-js-C7DUODof.js} +4 -4
- package/dist/{glimmer-ts-kH8c2RJ9.js → glimmer-ts-DI4G9vW_.js} +4 -4
- package/dist/{glsl-Ckye8FrQ.js → glsl-CUfKtNbE.js} +2 -2
- package/dist/{glsl-7eSg02Gr.js → glsl-Cq85X97E.js} +2 -2
- package/dist/{graphql-CE7EXOgY.js → graphql-BCsR6dTa.js} +4 -4
- package/dist/{graphql-DEzE15R4.js → graphql-BsbTr8W_.js} +5 -5
- package/dist/{hack-o7fvIqt8.js → hack-bqdf8rRJ.js} +2 -2
- package/dist/{haml-BP5AnOwP.js → haml-BJXnS8Xp.js} +2 -2
- package/dist/{haml-C5GSorf3.js → haml-CWQgvV8s.js} +3 -3
- package/dist/{handlebars-Bhpj_d0s.js → handlebars-CKAb2CPX.js} +4 -4
- package/dist/{handlebars-BjC-t2fq.js → handlebars-DMloI5gH.js} +3 -3
- package/dist/{highlighted-body-OFNGDK62-BoSFtT5s.js → highlighted-body-OFNGDK62-BegvjYf8.js} +1 -1
- package/dist/{hover-card-z1GPavWa.js → hover-card-CGLPPPPP.js} +142 -153
- package/dist/{html-Ct25QrQu.js → html-CwG5RUst.js} +3 -3
- package/dist/{html-D4w9Dm28.js → html-DKmZbgBt.js} +3 -3
- package/dist/{html-derivative-Bj-VxhMx.js → html-derivative-B4jNkpq7.js} +1 -1
- package/dist/{html-derivative-DSKrIQn9.js → html-derivative-l83Yr46D.js} +1 -1
- package/dist/{http-BCk9QAjz.js → http-BFAjFcZG.js} +2 -2
- package/dist/{http-d-m0Mc7D.js → http-BhDBVFaP.js} +4 -4
- package/dist/{hurl-DWxVzahG.js → hurl-CjzrrhSW.js} +2 -2
- package/dist/{hurl-DfTnDfTu.js → hurl-DAdF3com.js} +2 -2
- package/dist/inertValue-BhczR0H5.js +7 -0
- package/dist/input-DZTqcpe-.js +91 -0
- package/dist/{isElementDisabled-Cibvw8mz.js → isElementDisabled-C1rd9-Ym.js} +1 -1
- package/dist/{java-CuIj5nvv.js → java-C_vVq3dw.js} +1 -1
- package/dist/{java-BKNJluE5.js → java-Ci5_G7qk.js} +1 -1
- package/dist/{javascript-C_3Wy_Gj.js → javascript-CV4d78q9.js} +1 -1
- package/dist/{javascript-Da2xmRTV.js → javascript-DIVSilR9.js} +1 -1
- package/dist/{jinja-DhkDj1Xi.js → jinja-Bs1LO7X2.js} +1 -1
- package/dist/{jinja-C8xQEEYN.js → jinja-Bwrf5aV2.js} +1 -1
- package/dist/{jison-CShmv6Fb.js → jison-C6eal2rW.js} +1 -1
- package/dist/{jison-CyKFq-6a.js → jison-Td0S7BdY.js} +1 -1
- package/dist/{json-Df3TJ3vS.js → json-BE9zjWXC.js} +1 -1
- package/dist/{jsx-CfQ2JFaq.js → jsx-Ba8CJaAV.js} +1 -1
- package/dist/{jsx-D0xGKDLn.js → jsx-DCFvZzWu.js} +1 -1
- package/dist/{julia-BMAFK3Gd.js → julia-Bm175Gof.js} +3 -3
- package/dist/{julia-BN-I8ZOK.js → julia-Bunkrw5e.js} +4 -4
- package/dist/{just-YBnaWXEe.js → just-1Pxadbli.js} +5 -5
- package/dist/{latex-C_OKc6Tr.js → latex-_x2UAXwa.js} +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/{lib-BeKETz9d.js → lib-_PLIHaUp.js} +623 -633
- package/dist/{liquid-BK9PRBL0.js → liquid-kYbXB26r.js} +4 -4
- package/dist/{lua-BLio8ECy.js → lua-CaVsjDyr.js} +2 -2
- package/dist/main.js +265 -258
- package/dist/{markdown-D3ExE6yF.js → markdown-BzQfFDNF.js} +2608 -2632
- package/dist/{marko-Fde_uU3F.js → marko-B5ZroO9K.js} +3 -3
- package/dist/{marko-DYmCev7q.js → marko-D0_WatvF.js} +3 -3
- package/dist/{mdc-wawAspAJ.js → mdc-Bv4e6tBf.js} +2 -2
- package/dist/{mdc-D7QSJBKx.js → mdc-Dh_sTTi8.js} +1 -1
- package/dist/mermaid-GHXKKRXX-B2aW3mwU.js +3 -0
- package/dist/metadata/oauth-providers.d.ts +2 -0
- package/dist/metadata/oauth-providers.d.ts.map +1 -1
- package/dist/metadata/oauth-providers.js +153 -141
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +95 -93
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +13 -0
- package/dist/{nginx-WcmIS9lz.js → nginx-DKKP1Jsz.js} +1 -1
- package/dist/{nim-C_JBe3PW.js → nim-BeBji0Kd.js} +6 -6
- package/dist/owner-CyZnQOKt.js +6 -0
- package/dist/{perl-DxzDgnFP.js → perl-d6FT-kBo.js} +5 -5
- package/dist/{php-h4fQX9du.js → php-5ErYmDX1.js} +5 -5
- package/dist/{php-BslXz14x.js → php-DrB8vlsq.js} +6 -6
- package/dist/popover-CpLkQtT5.js +490 -0
- package/dist/popupStateMapping-XiLS0Jku.js +643 -0
- package/dist/{progress-TdXkokPe.js → progress-BqG0PtAD.js} +14 -14
- package/dist/{pug-yS-UC2lD.js → pug-DyZNXutA.js} +3 -3
- package/dist/{pug-CxpNRXGa.js → pug-pOLqHjih.js} +3 -3
- package/dist/{qml-tenACNq4.js → qml-Dox9P6il.js} +1 -1
- package/dist/{r-DdU4yNZO.js → r-CqHzjuOx.js} +1 -1
- package/dist/radio-group-BpMluqfv.js +334 -0
- package/dist/{razor-D5yYWriQ.js → razor-BJnzh0vV.js} +1 -1
- package/dist/{regexp-Dnzoo8L8.js → regexp-BHMFwNmq.js} +1 -1
- package/dist/{regexp-BusfBBwF.js → regexp-Cr4z7tOG.js} +1 -1
- package/dist/{resizable-DkYW5Uwh.js → resizable-7RrCRLzm.js} +25 -22
- package/dist/resolveAriaLabelledBy-ChNE6KfK.js +15 -0
- package/dist/{rst-C-dkSMvp.js → rst-BBCY8q7E.js} +6 -6
- package/dist/{ruby-7kZgYYwi.js → ruby-B3ETTR3m.js} +12 -12
- package/dist/{safePolygon-CscU2iWL.js → safePolygon-DmV1hDsw.js} +110 -105
- package/dist/{sas-DtHo0e4p.js → sas-DUv_h98D.js} +1 -1
- package/dist/scroll-area-D7iOy7xj.js +589 -0
- package/dist/{scrollEdges-VoRBF4DB.js → scrollEdges-Dck9qFyQ.js} +2 -2
- package/dist/{scss-bso_k44A.js → scss-CkVrpEfa.js} +2 -2
- package/dist/{scss-DaY16nmX.js → scss-CvRlGoAc.js} +2 -2
- package/dist/select-DFWNXxvZ.js +1363 -0
- package/dist/{serializeValue-kHY7UUsW.js → serializeValue-CRwtWeFH.js} +1 -1
- package/dist/{shadowDom-C-4Ejp9R.js → shadowDom-BACsbimN.js} +1 -1
- package/dist/shared-q5mxNamF.js +24 -0
- package/dist/{shellscript-BWxNrzSf.js → shellscript-CxvlkwLY.js} +1 -1
- package/dist/{shellsession-IETTXW5g.js → shellsession-CgzvDd-J.js} +1 -1
- package/dist/{shim-ieZ_MRlN.js → shim-BX-2V17R.js} +6 -7
- package/dist/slider-ClXWRpwI.js +828 -0
- package/dist/{soy-33Xu8yiH.js → soy-BsfKKN9o.js} +1 -1
- package/dist/{sql-B432xaB7.js → sql-BHUsfCgB.js} +1 -1
- package/dist/{sql-8d8R_FnS.js → sql-DG63OdWS.js} +1 -1
- package/dist/{stata-B5wF29_Y.js → stata--mbf8UFb.js} +1 -1
- package/dist/store-D7k1qIkZ.js +82 -0
- package/dist/{surrealql-DYHeSEsk.js → surrealql-DhODgRt6.js} +1 -1
- package/dist/{svelte-BiN7hc1M.js → svelte-C7x6u-8L.js} +3 -3
- package/dist/{svelte-wsTs0hbr.js → svelte-DycOh1Oc.js} +3 -3
- package/dist/{switch-CP9j-8px.js → switch-DlxZDt6o.js} +65 -65
- package/dist/{tabs-C7JA8G0W.js → tabs-Cj3LY-7F.js} +186 -185
- package/dist/{templ-DEwqY_Qt.js → templ-MSt5oh4r.js} +2 -2
- package/dist/{tex-Bi7DoImG.js → tex-CVgVV9NK.js} +1 -1
- package/dist/toggle-group-CmP4iHEJ.js +96 -0
- package/dist/tooltip-BUR7V5Aa.js +684 -0
- package/dist/{ts-tags-BK3ScQNp.js → ts-tags-Ck_QbMh4.js} +7 -7
- package/dist/{ts-tags-DOmIyh9G.js → ts-tags-DQKwVH4e.js} +7 -7
- package/dist/{tsx-D2IQdrsN.js → tsx-BfWxCQIa.js} +1 -1
- package/dist/{tsx-oo1y-gXD.js → tsx-DH8_xVXA.js} +1 -1
- package/dist/{twig-DxRYLs_L.js → twig-nd7fXiJI.js} +5 -5
- package/dist/{typescript-CWrXW5hv.js → typescript-Btp0Nz7Q.js} +1 -1
- package/dist/{typescript-C40nYMtR.js → typescript-CT-dRuB-.js} +1 -1
- package/dist/{ui-BaLLCKkd.js → ui-46pgiw5T.js} +2 -2
- package/dist/undo-toast-Cf4T6ToX.js +898 -0
- package/dist/{useAnchoredPopupScrollLock-C8wRjuy0.js → useAnchoredPopupScrollLock-CnoPUwXv.js} +4 -4
- package/dist/{useAnimationFrame-xwbX87TY.js → useAnimationFrame-jkCXMP_8.js} +3 -3
- package/dist/{useAriaLabelledBy-DKl6aNOD.js → useAriaLabelledBy-DJZioWd6.js} +3 -3
- package/dist/useBaseUiId-CXSJgVcI.js +8 -0
- package/dist/{useButton-AXffhTAZ.js → useButton-DjF6Owsn.js} +7 -7
- package/dist/{useCollapsiblePanel-B7ERXY1c.js → useCollapsiblePanel-BPbcE70S.js} +36 -32
- package/dist/{useCompositeItem-DA_RDTEI.js → useCompositeItem-JoGwOIGJ.js} +6 -11
- package/dist/{useCompositeListItem-xM6vOR9-.js → useCompositeListItem-C8B8UyMD.js} +5 -5
- package/dist/{useControlled-ZBScq72P.js → useControlled-Bu1mahWG.js} +2 -2
- package/dist/useFocus-B_SrhX9q.js +98 -0
- package/dist/useId-Bzr7_bed.js +21 -0
- package/dist/{useIsoLayoutEffect-CKOv1bV_.js → useIsoLayoutEffect-4LGv3HzC.js} +1 -1
- package/dist/{useLabelableId-Dgoo7-Ly.js → useLabelableId-9jrDGk5d.js} +6 -6
- package/dist/{useOnMount-Dirf6DNj.js → useOnMount-Chlmm7JB.js} +1 -1
- package/dist/useOpenChangeComplete-CVIwfcpl.js +80 -0
- package/dist/useOpenInteractionType-INvHftZi.js +612 -0
- package/dist/{usePositioner-D65mUNMo.js → usePositioner-CaLGGc-z.js} +144 -143
- package/dist/useRender-D_s7850Q.js +7 -0
- package/dist/{useRenderElement-CmuWsiNa.js → useRenderElement-BToElZ97.js} +13 -13
- package/dist/{useStableCallback-CqEVb76s.js → useStableCallback-CrM0Nb2q.js} +3 -3
- package/dist/{useTimeout-B1x6NSZb.js → useTimeout-B0afjWAz.js} +3 -3
- package/dist/useTransitionStatus-CCIoL5RH.js +51 -0
- package/dist/useTriggerFocusGuards-Dlv8KvSm.js +37 -0
- package/dist/{useValueAsRef-CCU3eUYq.js → useValueAsRef-CfO5zn2c.js} +3 -3
- package/dist/useValueChanged-26zHg3aX.js +15 -0
- package/dist/valueToPercent-BBx6BqbS.js +29 -0
- package/dist/{virtualized-grid-BQNJg029.js → virtualized-grid-DLNjqTNm.js} +16 -7
- package/dist/{visuallyHidden-CEAV1xeA.js → visuallyHidden-Cq5CW65k.js} +1 -1
- package/dist/{vue-COUaRKLt.js → vue-BMjk7Gaz.js} +5 -5
- package/dist/{vue-BEPn_TF_.js → vue-BoZyu9mR.js} +6 -6
- package/dist/{vue-html-CEiB3REn.js → vue-html-Dyr-sgcn.js} +1 -1
- package/dist/{vue-html-DjKFzwWo.js → vue-html-Fc3KYSrO.js} +1 -1
- package/dist/{vue-vine-D0Lpd94a.js → vue-vine-B-mxBKB2.js} +3 -3
- package/dist/{vue-vine-D6cSZo1M.js → vue-vine-BDclOuCR.js} +3 -3
- package/dist/{web-DF40pCMx.js → web-CqfgwsJY.js} +43 -43
- package/dist/{xml-DRTU1nx4.js → xml-CSo_-m7_.js} +2 -2
- package/dist/{xml-DL5p3-50.js → xml-tkp62giI.js} +2 -2
- package/dist/{xsl-3eu75y43.js → xsl-Dmc5gKQo.js} +1 -1
- package/dist/{yaml-6pzV2NiB.js → yaml-9hw4TgNw.js} +1 -1
- package/package.json +30 -30
- package/dist/CompositeRoot-BIh8l7ys.js +0 -179
- package/dist/DialogRoot-eVsH835b.js +0 -9
- package/dist/DialogTrigger-BuKadcdL.js +0 -379
- package/dist/FormContext-4NSsO4w6.js +0 -17
- package/dist/Toggle-CyMSF-Z7.js +0 -70
- package/dist/accordion-D-o5VBR2.js +0 -374
- package/dist/checkbox-CfF6tabe.js +0 -270
- package/dist/clamp-DQAQAGkj.js +0 -16
- package/dist/components/ui/atoms/removable-chip.d.ts.map +0 -1
- package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts +0 -31
- package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts.map +0 -1
- package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.js +0 -106
- package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts +0 -18
- package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts.map +0 -1
- package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts +0 -12
- package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts.map +0 -1
- package/dist/composite-HOje5ugx.js +0 -276
- package/dist/constants-VB9bsA8p.js +0 -4
- package/dist/detectBrowser-FBYSu3xM.js +0 -32
- package/dist/dropdown-menu-dsg43mOw.js +0 -1393
- package/dist/event-DWcDp5kt.js +0 -24
- package/dist/getPseudoElementBounds-DarjR4tH.js +0 -355
- package/dist/inertValue-C36grUTu.js +0 -7
- package/dist/input-CSc-AfAa.js +0 -91
- package/dist/mermaid-GHXKKRXX-B8Qglwis.js +0 -3
- package/dist/owner-BrzQrszh.js +0 -6
- package/dist/popover-CXSOUeVQ.js +0 -501
- package/dist/popupStateMapping-PdIQcWEz.js +0 -1179
- package/dist/radio-group-Cc5ftdVj.js +0 -333
- package/dist/resolveAriaLabelledBy-DR9UHvi-.js +0 -10
- package/dist/scroll-area-53KPfESS.js +0 -559
- package/dist/select-CPTT__cT.js +0 -1363
- package/dist/slider-CN3uEkeD.js +0 -822
- package/dist/store-Bdrhndby.js +0 -81
- package/dist/toggle-group-CDYMBO0F.js +0 -87
- package/dist/tooltip-34vRSwJG.js +0 -669
- package/dist/useBaseUiId-DOm5ACje.js +0 -26
- package/dist/useFocus-DzHCrvH6.js +0 -97
- package/dist/useOpenChangeComplete-DjMFUwhi.js +0 -127
- package/dist/useOpenInteractionType-D-ymktmc.js +0 -612
- package/dist/useRender-B4Oazk_w.js +0 -7
- package/dist/useTriggerFocusGuards-D1QlFlDK.js +0 -37
- package/dist/useValueChanged-j5e75XB6.js +0 -15
- package/dist/valueToPercent-9aZaNeTG.js +0 -24
- /package/dist/components/ui/{atoms → molecules}/removable-chip.d.ts +0 -0
- /package/dist/{chunk-Dqa2HsxW.js → rolldown-runtime-Dqa2HsxW.js} +0 -0
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { McpCategoryFilterOption } from './category-filter';
|
|
2
|
-
import type * as React from "react";
|
|
3
|
-
export type McpCategoryFilterMenuProps = {
|
|
4
|
-
categories: McpCategoryFilterOption[];
|
|
5
|
-
/**
|
|
6
|
-
* Currently selected category ids. Multi-select: an empty array means no
|
|
7
|
-
* filter (show everything).
|
|
8
|
-
*/
|
|
9
|
-
selectedCategories: string[];
|
|
10
|
-
onSelectionChange?: (ids: string[]) => void;
|
|
11
|
-
/** Trigger label shown next to the filter icon. Defaults to "Category". */
|
|
12
|
-
label?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Renders a search field at the top of the menu that filters the category
|
|
15
|
-
* list by label. On by default; pass `false` for short lists.
|
|
16
|
-
*/
|
|
17
|
-
searchable?: boolean;
|
|
18
|
-
/** Placeholder for the search field. Only used when `searchable`. */
|
|
19
|
-
searchPlaceholder?: string;
|
|
20
|
-
} & Omit<React.ComponentProps<"div">, "onChange">;
|
|
21
|
-
/**
|
|
22
|
-
* Compact alternative to {@link McpCategoryFilter}: instead of laying every
|
|
23
|
-
* category out as an inline chip row, it collapses them behind a single
|
|
24
|
-
* filter-icon trigger. The trigger lights up and shows a count once any
|
|
25
|
-
* category is active, and the categories live as multi-select checkboxes inside
|
|
26
|
-
* the menu — handy when the toolbar is tight on space or the category list is
|
|
27
|
-
* long. Pass `searchable` to add an in-menu search field for long lists. Same
|
|
28
|
-
* selection contract as `McpCategoryFilter`, so it's a drop-in swap.
|
|
29
|
-
*/
|
|
30
|
-
export declare function McpCategoryFilterMenu({ categories, selectedCategories, onSelectionChange, label, searchable, searchPlaceholder, className, ...rest }: McpCategoryFilterMenuProps): React.JSX.Element;
|
|
31
|
-
//# sourceMappingURL=category-filter-menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"category-filter-menu.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/molecules/mcp-server-picker/category-filter-menu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAepC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAEjE,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC;;;OAGG;IACH,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qEAAqE;IACrE,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAElD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,KAAkB,EAClB,UAAiB,EACjB,iBAAwC,EACxC,SAAS,EACT,GAAG,IAAI,EACR,EAAE,0BAA0B,qBAsK5B"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
import { cn as e } from "../../../../lib/utils.js";
|
|
4
|
-
import { t } from "../../../../button-BNOmhdpM.js";
|
|
5
|
-
import { a as n, h as r, n as i, o as a, r as o, t as s, u as c } from "../../../../dropdown-menu-dsg43mOw.js";
|
|
6
|
-
import { FilterChip as l } from "../../atoms/filter-chip.js";
|
|
7
|
-
import { t as u } from "../../../../input-CSc-AfAa.js";
|
|
8
|
-
import { useRef as d, useState as f } from "react";
|
|
9
|
-
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
10
|
-
import { ChevronDown as g, FilterIcon as _, RotateCcw as v, Search as y, X as b } from "lucide-react";
|
|
11
|
-
//#region lib/components/ui/molecules/mcp-server-picker/category-filter-menu.tsx
|
|
12
|
-
function x({ categories: x, selectedCategories: S, onSelectionChange: C, label: w = "Category", searchable: T = !0, searchPlaceholder: E = "Search categories…", className: D, ...O }) {
|
|
13
|
-
let [k, A] = f(""), j = d(null), M = S.length, N = M > 0, P = (e, t) => {
|
|
14
|
-
let n = t ? [...new Set([...S, e])] : S.filter((t) => t !== e);
|
|
15
|
-
C?.(n);
|
|
16
|
-
}, F = M === 0 ? w : M === 1 ? x.find((e) => e.id === S[0])?.label ?? w : `${M} selected`, I = k.trim().toLowerCase(), L = T && I ? x.filter((e) => e.label.toLowerCase().includes(I)) : x;
|
|
17
|
-
return /* @__PURE__ */ m("div", {
|
|
18
|
-
...O,
|
|
19
|
-
className: e("min-w-0", D),
|
|
20
|
-
"data-slot": "mcp-category-filter-menu",
|
|
21
|
-
children: /* @__PURE__ */ h(s, {
|
|
22
|
-
onOpenChange: (e) => {
|
|
23
|
-
e ? T && requestAnimationFrame(() => j.current?.focus()) : A("");
|
|
24
|
-
},
|
|
25
|
-
children: [/* @__PURE__ */ h(r, {
|
|
26
|
-
render: /* @__PURE__ */ m(l, {
|
|
27
|
-
className: "group/trigger h-9 gap-1.5 rounded-md data-[status=selected]:border-primary/30 data-[status=unselected]:border-border data-[status=selected]:bg-muted/30 data-[status=selected]:text-foreground data-[status=unselected]:text-foreground/80 data-[status=unselected]:hover:bg-muted/40 data-[status=unselected]:hover:text-foreground",
|
|
28
|
-
"data-slot": "mcp-category-filter-menu-trigger",
|
|
29
|
-
selected: N,
|
|
30
|
-
size: "lg"
|
|
31
|
-
}),
|
|
32
|
-
children: [
|
|
33
|
-
/* @__PURE__ */ m(_, { className: "size-3.5 shrink-0" }),
|
|
34
|
-
/* @__PURE__ */ m("span", {
|
|
35
|
-
className: "max-w-[12rem] truncate",
|
|
36
|
-
children: F
|
|
37
|
-
}),
|
|
38
|
-
/* @__PURE__ */ m(g, { className: "ml-0.5 size-3.5 shrink-0 opacity-60 transition-transform duration-150 ease-out group-data-[popup-open]/trigger:rotate-180" })
|
|
39
|
-
]
|
|
40
|
-
}), /* @__PURE__ */ h(o, {
|
|
41
|
-
align: "start",
|
|
42
|
-
className: "w-60 p-1.5",
|
|
43
|
-
sideOffset: 8,
|
|
44
|
-
children: [
|
|
45
|
-
T ? /* @__PURE__ */ h("div", {
|
|
46
|
-
className: "-mx-1.5 -mt-1.5 mb-1 flex items-center gap-2 border-border/70 border-b px-3",
|
|
47
|
-
children: [
|
|
48
|
-
/* @__PURE__ */ m(y, { className: "size-4 shrink-0 text-muted-foreground" }),
|
|
49
|
-
/* @__PURE__ */ m(u, {
|
|
50
|
-
className: "h-10 flex-1 rounded-none border-0 bg-transparent px-0 shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
51
|
-
"data-slot": "mcp-category-filter-menu-search",
|
|
52
|
-
onChange: (e) => A(e.target.value),
|
|
53
|
-
onKeyDown: (e) => {
|
|
54
|
-
(e.key.length === 1 || e.key === "Backspace" || e.key === "Delete") && e.stopPropagation();
|
|
55
|
-
},
|
|
56
|
-
placeholder: E,
|
|
57
|
-
ref: j,
|
|
58
|
-
value: k
|
|
59
|
-
}),
|
|
60
|
-
k ? /* @__PURE__ */ m(t, {
|
|
61
|
-
"aria-label": "Clear search",
|
|
62
|
-
className: "size-6 shrink-0 rounded-full text-muted-foreground hover:text-foreground",
|
|
63
|
-
onClick: () => A(""),
|
|
64
|
-
size: "icon-xs",
|
|
65
|
-
variant: "ghost",
|
|
66
|
-
children: /* @__PURE__ */ m(b, { className: "size-3.5" })
|
|
67
|
-
}) : null
|
|
68
|
-
]
|
|
69
|
-
}) : /* @__PURE__ */ h("div", {
|
|
70
|
-
className: "flex items-center justify-between gap-2 px-1.5 pt-0.5 pb-1.5",
|
|
71
|
-
children: [/* @__PURE__ */ m(a, {
|
|
72
|
-
className: "p-0",
|
|
73
|
-
children: "Filter by category"
|
|
74
|
-
}), N ? /* @__PURE__ */ h("span", {
|
|
75
|
-
className: "rounded-full bg-muted px-1.5 py-0.5 font-medium text-[10px] text-muted-foreground tabular-nums",
|
|
76
|
-
"data-slot": "mcp-category-filter-menu-selected-count",
|
|
77
|
-
children: [M, " selected"]
|
|
78
|
-
}) : null]
|
|
79
|
-
}),
|
|
80
|
-
L.length === 0 ? /* @__PURE__ */ m("p", {
|
|
81
|
-
className: "px-2 py-6 text-center text-muted-foreground text-sm",
|
|
82
|
-
children: "No categories found"
|
|
83
|
-
}) : L.map(({ id: e, label: t, count: n }) => /* @__PURE__ */ h(i, {
|
|
84
|
-
checked: S.includes(e),
|
|
85
|
-
className: "group/item pr-2 pl-8 data-[checked]:font-medium data-[checked]:text-foreground [&>[data-slot=dropdown-menu-checkbox-item-indicator]]:right-auto [&>[data-slot=dropdown-menu-checkbox-item-indicator]]:left-2",
|
|
86
|
-
onCheckedChange: (t) => P(e, t),
|
|
87
|
-
children: [/* @__PURE__ */ m("span", {
|
|
88
|
-
className: "truncate",
|
|
89
|
-
children: t
|
|
90
|
-
}), typeof n == "number" ? /* @__PURE__ */ m("span", {
|
|
91
|
-
className: "ml-auto grid h-[18px] min-w-[18px] place-items-center rounded bg-muted px-1 font-medium text-[11px] text-foreground tabular-nums leading-none group-focus/item:bg-accent-foreground/15",
|
|
92
|
-
children: n
|
|
93
|
-
}) : null]
|
|
94
|
-
}, e)),
|
|
95
|
-
N ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(c, {}), /* @__PURE__ */ h(n, {
|
|
96
|
-
className: "text-muted-foreground",
|
|
97
|
-
onClick: () => C?.([]),
|
|
98
|
-
children: [/* @__PURE__ */ m(v, { className: "size-3.5" }), "Clear filters"]
|
|
99
|
-
})] }) : null
|
|
100
|
-
]
|
|
101
|
-
})]
|
|
102
|
-
})
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
//#endregion
|
|
106
|
-
export { x as McpCategoryFilterMenu };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type * as React from "react";
|
|
2
|
-
export type McpCategoryFilterOption = {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
count?: number;
|
|
6
|
-
};
|
|
7
|
-
export type McpCategoryFilterProps = {
|
|
8
|
-
categories: McpCategoryFilterOption[];
|
|
9
|
-
/**
|
|
10
|
-
* Currently selected category ids. Multi-select: an empty array means no
|
|
11
|
-
* filter (show everything). The consumer owns the "clear"/"all" affordance —
|
|
12
|
-
* this component renders only the categories it's given.
|
|
13
|
-
*/
|
|
14
|
-
selectedCategories: string[];
|
|
15
|
-
onSelectionChange?: (ids: string[]) => void;
|
|
16
|
-
} & Omit<React.ComponentProps<"div">, "onChange">;
|
|
17
|
-
export declare function McpCategoryFilter({ categories, selectedCategories, onSelectionChange, className, ...rest }: McpCategoryFilterProps): React.JSX.Element;
|
|
18
|
-
//# sourceMappingURL=category-filter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"category-filter.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/molecules/mcp-server-picker/category-filter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC7C,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAElD,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,sBAAsB,qBAwBxB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type * as React from "react";
|
|
2
|
-
export type McpToolSearchState = "on" | "off";
|
|
3
|
-
export type McpToolSearchBandProps = {
|
|
4
|
-
state: McpToolSearchState;
|
|
5
|
-
onToggle?: (checked: boolean) => void;
|
|
6
|
-
} & Omit<React.ComponentProps<"label">, "children" | "onToggle">;
|
|
7
|
-
/**
|
|
8
|
-
* Presentational Personalized Tool Search opt-in for the MCP picker. The whole
|
|
9
|
-
* card is a `<label>` for the checkbox, so a click anywhere on it toggles.
|
|
10
|
-
*/
|
|
11
|
-
export declare function McpToolSearchBand({ state, onToggle, className, ...rest }: McpToolSearchBandProps): React.JSX.Element;
|
|
12
|
-
//# sourceMappingURL=tool-search-band.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-search-band.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/molecules/mcp-server-picker/tool-search-band.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,KAAK,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC;AAEjE;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,sBAAsB,qBAoCxB"}
|
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
2
|
-
import "./constants-VB9bsA8p.js";
|
|
3
|
-
import { o as t } from "./event-DWcDp5kt.js";
|
|
4
|
-
//#region ../../node_modules/.bun/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
5
|
-
var n = [
|
|
6
|
-
"top",
|
|
7
|
-
"right",
|
|
8
|
-
"bottom",
|
|
9
|
-
"left"
|
|
10
|
-
], r = Math.min, i = Math.max, a = Math.round, o = Math.floor, s = (e) => ({
|
|
11
|
-
x: e,
|
|
12
|
-
y: e
|
|
13
|
-
}), c = {
|
|
14
|
-
left: "right",
|
|
15
|
-
right: "left",
|
|
16
|
-
bottom: "top",
|
|
17
|
-
top: "bottom"
|
|
18
|
-
};
|
|
19
|
-
function l(e, t, n) {
|
|
20
|
-
return i(e, r(t, n));
|
|
21
|
-
}
|
|
22
|
-
function u(e, t) {
|
|
23
|
-
return typeof e == "function" ? e(t) : e;
|
|
24
|
-
}
|
|
25
|
-
function d(e) {
|
|
26
|
-
return e.split("-")[0];
|
|
27
|
-
}
|
|
28
|
-
function f(e) {
|
|
29
|
-
return e.split("-")[1];
|
|
30
|
-
}
|
|
31
|
-
function p(e) {
|
|
32
|
-
return e === "x" ? "y" : "x";
|
|
33
|
-
}
|
|
34
|
-
function m(e) {
|
|
35
|
-
return e === "y" ? "height" : "width";
|
|
36
|
-
}
|
|
37
|
-
function h(e) {
|
|
38
|
-
let t = e[0];
|
|
39
|
-
return t === "t" || t === "b" ? "y" : "x";
|
|
40
|
-
}
|
|
41
|
-
function g(e) {
|
|
42
|
-
return p(h(e));
|
|
43
|
-
}
|
|
44
|
-
function _(e, t, n) {
|
|
45
|
-
n === void 0 && (n = !1);
|
|
46
|
-
let r = f(e), i = g(e), a = m(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
47
|
-
return t.reference[a] > t.floating[a] && (o = E(o)), [o, E(o)];
|
|
48
|
-
}
|
|
49
|
-
function v(e) {
|
|
50
|
-
let t = E(e);
|
|
51
|
-
return [
|
|
52
|
-
y(e),
|
|
53
|
-
t,
|
|
54
|
-
y(t)
|
|
55
|
-
];
|
|
56
|
-
}
|
|
57
|
-
function y(e) {
|
|
58
|
-
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
59
|
-
}
|
|
60
|
-
var b = ["left", "right"], x = ["right", "left"], S = ["top", "bottom"], C = ["bottom", "top"];
|
|
61
|
-
function w(e, t, n) {
|
|
62
|
-
switch (e) {
|
|
63
|
-
case "top":
|
|
64
|
-
case "bottom": return n ? t ? x : b : t ? b : x;
|
|
65
|
-
case "left":
|
|
66
|
-
case "right": return t ? S : C;
|
|
67
|
-
default: return [];
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function T(e, t, n, r) {
|
|
71
|
-
let i = f(e), a = w(d(e), n === "start", r);
|
|
72
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(y)))), a;
|
|
73
|
-
}
|
|
74
|
-
function E(e) {
|
|
75
|
-
let t = d(e);
|
|
76
|
-
return c[t] + e.slice(t.length);
|
|
77
|
-
}
|
|
78
|
-
function D(e) {
|
|
79
|
-
return {
|
|
80
|
-
top: 0,
|
|
81
|
-
right: 0,
|
|
82
|
-
bottom: 0,
|
|
83
|
-
left: 0,
|
|
84
|
-
...e
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
function O(e) {
|
|
88
|
-
return typeof e == "number" ? {
|
|
89
|
-
top: e,
|
|
90
|
-
right: e,
|
|
91
|
-
bottom: e,
|
|
92
|
-
left: e
|
|
93
|
-
} : D(e);
|
|
94
|
-
}
|
|
95
|
-
function k(e) {
|
|
96
|
-
let { x: t, y: n, width: r, height: i } = e;
|
|
97
|
-
return {
|
|
98
|
-
width: r,
|
|
99
|
-
height: i,
|
|
100
|
-
top: n,
|
|
101
|
-
left: t,
|
|
102
|
-
right: t + r,
|
|
103
|
-
bottom: n + i,
|
|
104
|
-
x: t,
|
|
105
|
-
y: n
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
//#endregion
|
|
109
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite.js
|
|
110
|
-
function A(e, t, n) {
|
|
111
|
-
return Math.floor(e / t) !== n;
|
|
112
|
-
}
|
|
113
|
-
function j(e, t) {
|
|
114
|
-
return t < 0 || t >= e.length;
|
|
115
|
-
}
|
|
116
|
-
function M(e, t) {
|
|
117
|
-
return P(e.current, { disabledIndices: t });
|
|
118
|
-
}
|
|
119
|
-
function N(e, t) {
|
|
120
|
-
return P(e.current, {
|
|
121
|
-
decrement: !0,
|
|
122
|
-
startingIndex: e.current.length,
|
|
123
|
-
disabledIndices: t
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
function P(e, { startingIndex: t = -1, decrement: n = !1, disabledIndices: r, amount: i = 1 } = {}) {
|
|
127
|
-
let a = t;
|
|
128
|
-
do
|
|
129
|
-
a += n ? -i : i;
|
|
130
|
-
while (a >= 0 && a <= e.length - 1 && z(e, a, r));
|
|
131
|
-
return a;
|
|
132
|
-
}
|
|
133
|
-
function F(e, { event: n, orientation: r, loopFocus: i, onLoop: a, rtl: s, cols: c, disabledIndices: l, minIndex: u, maxIndex: d, prevIndex: f, stopEvent: p = !1 }) {
|
|
134
|
-
let m = f, h;
|
|
135
|
-
if (n.key === "ArrowUp" ? h = "up" : n.key === "ArrowDown" && (h = "down"), h) {
|
|
136
|
-
let r = [], s = [], g = !1, _ = 0;
|
|
137
|
-
{
|
|
138
|
-
let t = null, n = -1;
|
|
139
|
-
e.forEach((e, i) => {
|
|
140
|
-
if (e == null) return;
|
|
141
|
-
_ += 1;
|
|
142
|
-
let a = e.closest("[role=\"row\"]");
|
|
143
|
-
a && (g = !0), (a !== t || n === -1) && (t = a, n += 1, r[n] = []), r[n].push(i), s[i] = n;
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
let v = !1, y = 0;
|
|
147
|
-
if (g) for (let e of r) {
|
|
148
|
-
let t = e.length;
|
|
149
|
-
t > y && (y = t), t !== c && (v = !0);
|
|
150
|
-
}
|
|
151
|
-
let b = v && _ < e.length, x = y || c, S = (t) => {
|
|
152
|
-
if (!v || f === -1) return;
|
|
153
|
-
let o = s[f];
|
|
154
|
-
if (o == null) return;
|
|
155
|
-
let c = r[o].indexOf(f), u = t === "up" ? -1 : 1;
|
|
156
|
-
for (let t = o + u, d = 0; d < r.length; d += 1, t += u) {
|
|
157
|
-
if (t < 0 || t >= r.length) {
|
|
158
|
-
if (!i || b) return;
|
|
159
|
-
if (t = t < 0 ? r.length - 1 : 0, a) {
|
|
160
|
-
let e = Math.min(c, r[t].length - 1);
|
|
161
|
-
t = s[a(n, f, r[t][e] ?? r[t][0])] ?? t;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
let o = r[t];
|
|
165
|
-
for (let t = Math.min(c, o.length - 1); t >= 0; --t) {
|
|
166
|
-
let n = o[t];
|
|
167
|
-
if (!z(e, n, l)) return n;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}, C = (t) => {
|
|
171
|
-
if (!b || f === -1) return;
|
|
172
|
-
let n = f % x, r = t === "up" ? -x : x, a = d - d % x, s = o(d / x) + 1;
|
|
173
|
-
for (let t = f - n + r, o = 0; o < s; o += 1, t += r) {
|
|
174
|
-
if (t < 0 || t > d) {
|
|
175
|
-
if (!i) return;
|
|
176
|
-
t = t < 0 ? a : 0;
|
|
177
|
-
}
|
|
178
|
-
let r = Math.min(t + x - 1, d);
|
|
179
|
-
for (let i = Math.min(t + n, r); i >= t; --i) if (!z(e, i, l)) return i;
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
p && t(n);
|
|
183
|
-
let w = S(h) ?? C(h);
|
|
184
|
-
if (w !== void 0) m = w;
|
|
185
|
-
else if (f === -1) m = h === "up" ? d : u;
|
|
186
|
-
else if (m = P(e, {
|
|
187
|
-
startingIndex: f,
|
|
188
|
-
amount: x,
|
|
189
|
-
decrement: h === "up",
|
|
190
|
-
disabledIndices: l
|
|
191
|
-
}), i) {
|
|
192
|
-
if (h === "up" && (f - x < u || m < 0)) {
|
|
193
|
-
let e = f % x, t = d % x, r = d - (t - e);
|
|
194
|
-
m = t === e ? d : t > e ? r : r - x, a && (m = a(n, f, m));
|
|
195
|
-
}
|
|
196
|
-
h === "down" && f + x > d && (m = P(e, {
|
|
197
|
-
startingIndex: f % x - x,
|
|
198
|
-
amount: x,
|
|
199
|
-
disabledIndices: l
|
|
200
|
-
}), a && (m = a(n, f, m)));
|
|
201
|
-
}
|
|
202
|
-
j(e, m) && (m = f);
|
|
203
|
-
}
|
|
204
|
-
if (r === "both") {
|
|
205
|
-
let r = o(f / c);
|
|
206
|
-
n.key === (s ? "ArrowLeft" : "ArrowRight") && (p && t(n), f % c === c - 1 ? i && (m = P(e, {
|
|
207
|
-
startingIndex: f - f % c - 1,
|
|
208
|
-
disabledIndices: l
|
|
209
|
-
}), a && (m = a(n, f, m))) : (m = P(e, {
|
|
210
|
-
startingIndex: f,
|
|
211
|
-
disabledIndices: l
|
|
212
|
-
}), i && A(m, c, r) && (m = P(e, {
|
|
213
|
-
startingIndex: f - f % c - 1,
|
|
214
|
-
disabledIndices: l
|
|
215
|
-
}), a && (m = a(n, f, m)))), A(m, c, r) && (m = f)), n.key === (s ? "ArrowRight" : "ArrowLeft") && (p && t(n), f % c === 0 ? i && (m = P(e, {
|
|
216
|
-
startingIndex: f + (c - f % c),
|
|
217
|
-
decrement: !0,
|
|
218
|
-
disabledIndices: l
|
|
219
|
-
}), a && (m = a(n, f, m))) : (m = P(e, {
|
|
220
|
-
startingIndex: f,
|
|
221
|
-
decrement: !0,
|
|
222
|
-
disabledIndices: l
|
|
223
|
-
}), i && A(m, c, r) && (m = P(e, {
|
|
224
|
-
startingIndex: f + (c - f % c),
|
|
225
|
-
decrement: !0,
|
|
226
|
-
disabledIndices: l
|
|
227
|
-
}), a && (m = a(n, f, m)))), A(m, c, r) && (m = f));
|
|
228
|
-
let u = o(d / c) === r;
|
|
229
|
-
j(e, m) && (i && u ? (m = n.key === (s ? "ArrowRight" : "ArrowLeft") ? d : P(e, {
|
|
230
|
-
startingIndex: f - f % c - 1,
|
|
231
|
-
disabledIndices: l
|
|
232
|
-
}), a && (m = a(n, f, m))) : m = f);
|
|
233
|
-
}
|
|
234
|
-
return m;
|
|
235
|
-
}
|
|
236
|
-
function I(e, t, n) {
|
|
237
|
-
let r = [], i = 0;
|
|
238
|
-
return e.forEach(({ width: e, height: a }, o) => {
|
|
239
|
-
if (e > t && process.env.NODE_ENV !== "production") throw Error(`[Floating UI]: Invalid grid - item width at index ${o} is greater than grid columns`);
|
|
240
|
-
let s = !1;
|
|
241
|
-
for (n && (i = 0); !s;) {
|
|
242
|
-
let n = [];
|
|
243
|
-
for (let r = 0; r < e; r += 1) for (let e = 0; e < a; e += 1) n.push(i + r + e * t);
|
|
244
|
-
i % t + e <= t && n.every((e) => r[e] == null) ? (n.forEach((e) => {
|
|
245
|
-
r[e] = o;
|
|
246
|
-
}), s = !0) : i += 1;
|
|
247
|
-
}
|
|
248
|
-
}), [...r];
|
|
249
|
-
}
|
|
250
|
-
function L(e, t, n, r, i) {
|
|
251
|
-
if (e === -1) return -1;
|
|
252
|
-
let a = n.indexOf(e), o = t[e];
|
|
253
|
-
switch (i) {
|
|
254
|
-
case "tl": return a;
|
|
255
|
-
case "tr": return o ? a + o.width - 1 : a;
|
|
256
|
-
case "bl": return o ? a + (o.height - 1) * r : a;
|
|
257
|
-
case "br": return n.lastIndexOf(e);
|
|
258
|
-
default: return -1;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
function R(e, t) {
|
|
262
|
-
return t.flatMap((t, n) => e.includes(t) ? [n] : []);
|
|
263
|
-
}
|
|
264
|
-
function z(e, t, n) {
|
|
265
|
-
if (typeof n == "function" ? n(t) : n?.includes(t) ?? !1) return !0;
|
|
266
|
-
let r = e[t];
|
|
267
|
-
return r ? V(r) ? !n && (r.hasAttribute("disabled") || r.getAttribute("aria-disabled") === "true") : !0 : !1;
|
|
268
|
-
}
|
|
269
|
-
function B(e) {
|
|
270
|
-
return e.visibility === "hidden" || e.visibility === "collapse";
|
|
271
|
-
}
|
|
272
|
-
function V(t, n = t ? e(t) : null) {
|
|
273
|
-
return !t || !t.isConnected || !n || B(n) ? !1 : typeof t.checkVisibility == "function" ? t.checkVisibility() : n.display !== "none" && n.display !== "contents";
|
|
274
|
-
}
|
|
275
|
-
//#endregion
|
|
276
|
-
export { n as A, O as C, r as D, i as E, k as O, E as S, h as T, _, F as a, p as b, V as c, l as d, s as f, g, f as h, R as i, a as k, j as l, o as m, P as n, N as o, u as p, L as r, M as s, I as t, z as u, m as v, d as w, T as x, v as y };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants.js
|
|
2
|
-
var e = "data-base-ui-focusable", t = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])", n = "ArrowLeft", r = "ArrowRight", i = "ArrowUp", a = "ArrowDown";
|
|
3
|
-
//#endregion
|
|
4
|
-
export { e as a, i, n, t as o, r, a as t };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.9+f7941a290aa3d619/node_modules/@base-ui/utils/esm/detectBrowser.js
|
|
2
|
-
var e = typeof navigator < "u", t = u(), n = f(), r = d(), i = typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter:none"), a = t.platform === "MacIntel" && t.maxTouchPoints > 1 ? !0 : /iP(hone|ad|od)|iOS/.test(t.platform);
|
|
3
|
-
e && /firefox/i.test(r);
|
|
4
|
-
var o = e && /apple/i.test(navigator.vendor);
|
|
5
|
-
e && /Edg/i.test(r);
|
|
6
|
-
var s = e && /android/i.test(n) || /android/i.test(r), c = e && n.toLowerCase().startsWith("mac") && !navigator.maxTouchPoints, l = r.includes("jsdom/");
|
|
7
|
-
function u() {
|
|
8
|
-
if (!e) return {
|
|
9
|
-
platform: "",
|
|
10
|
-
maxTouchPoints: -1
|
|
11
|
-
};
|
|
12
|
-
let t = navigator.userAgentData;
|
|
13
|
-
return t?.platform ? {
|
|
14
|
-
platform: t.platform,
|
|
15
|
-
maxTouchPoints: navigator.maxTouchPoints
|
|
16
|
-
} : {
|
|
17
|
-
platform: navigator.platform ?? "",
|
|
18
|
-
maxTouchPoints: navigator.maxTouchPoints ?? -1
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
function d() {
|
|
22
|
-
if (!e) return "";
|
|
23
|
-
let t = navigator.userAgentData;
|
|
24
|
-
return t && Array.isArray(t.brands) ? t.brands.map(({ brand: e, version: t }) => `${e}/${t}`).join(" ") : navigator.userAgent;
|
|
25
|
-
}
|
|
26
|
-
function f() {
|
|
27
|
-
if (!e) return "";
|
|
28
|
-
let t = navigator.userAgentData;
|
|
29
|
-
return t?.platform ? t.platform : navigator.platform ?? "";
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
export { o as a, c as i, a as n, i as o, l as r, s as t };
|