@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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import type * as React from "react";
|
|
3
|
+
export type AvatarStackItem = {
|
|
4
|
+
/** Stable key for the item. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Compact tile shown in the overlapping row (avatar/icon). */
|
|
7
|
+
avatar: ReactNode;
|
|
8
|
+
/** Row content shown inside the overflow popover. Defaults to `avatar`. */
|
|
9
|
+
overflowRow?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Accessible label for the overflow row. Pass this whenever `onSelect` makes
|
|
12
|
+
* the row an interactive button — its content is often icon-only, so the
|
|
13
|
+
* label is the button's accessible name.
|
|
14
|
+
*/
|
|
15
|
+
overflowRowLabel?: string;
|
|
16
|
+
/** Click handler for the overflow row; renders the row as a button. */
|
|
17
|
+
onSelect?: () => void;
|
|
18
|
+
};
|
|
19
|
+
export type AvatarStackProps = {
|
|
20
|
+
/** Ordered items; the first `maxVisible` render inline, the rest overflow. */
|
|
21
|
+
items: AvatarStackItem[];
|
|
22
|
+
/** Items past this count collapse into the "+N" overflow. @default 5 */
|
|
23
|
+
maxVisible?: number;
|
|
24
|
+
/** Noun phrase completing the "+N" trigger label, e.g. "more servers". */
|
|
25
|
+
overflowLabel?: string;
|
|
26
|
+
/** Popover header content; receives the overflow count. Omit for no header. */
|
|
27
|
+
renderOverflowHeader?: (overflowCount: number) => ReactNode;
|
|
28
|
+
/** Reveal overflow items in a popover. When false, "+N" is a static badge. @default true */
|
|
29
|
+
overflowPopover?: boolean;
|
|
30
|
+
} & Omit<React.ComponentProps<"span">, "children">;
|
|
31
|
+
export declare function AvatarStack({ items, maxVisible, overflowLabel, renderOverflowHeader, overflowPopover, className, ...rest }: AvatarStackProps): React.JSX.Element | null;
|
|
32
|
+
//# sourceMappingURL=avatar-stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar-stack.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/avatar-stack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAY,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAqB3D,MAAM,MAAM,eAAe,GAAG;IAC5B,+BAA+B;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,+DAA+D;IAC/D,MAAM,EAAE,SAAS,CAAC;IAClB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,8EAA8E;IAC9E,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,oBAAoB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,SAAS,CAAC;IAC5D,4FAA4F;IAC5F,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;AAEnD,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,UAAc,EACd,aAAsB,EACtB,oBAAoB,EACpB,eAAsB,EACtB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,gBAAgB,4BA6BlB"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { cn as e } from "../../../lib/utils.js";
|
|
4
|
+
import { i as t, n, o as r, t as i } from "../../../popover-CpLkQtT5.js";
|
|
5
|
+
import { t as a } from "../../../scroll-area-D7iOy7xj.js";
|
|
6
|
+
import { Fragment as o, useState as s } from "react";
|
|
7
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
+
//#region lib/components/ui/molecules/avatar-stack.tsx
|
|
9
|
+
var u = 32, d = 8, f = 288, p = "inline-flex h-5 min-w-8 items-center justify-center whitespace-nowrap rounded-md bg-foreground/10 px-1.5 font-semibold text-[10px] text-foreground tabular-nums";
|
|
10
|
+
function m({ items: t, maxVisible: n = 5, overflowLabel: r = "more", renderOverflowHeader: i, overflowPopover: a = !0, className: s, ...u }) {
|
|
11
|
+
if (t.length === 0) return null;
|
|
12
|
+
let d = t.slice(0, n), f = t.slice(n), p = f.length;
|
|
13
|
+
return /* @__PURE__ */ l("span", {
|
|
14
|
+
...u,
|
|
15
|
+
className: e("inline-flex shrink-0 items-center gap-1", s),
|
|
16
|
+
"data-slot": "avatar-stack",
|
|
17
|
+
children: [/* @__PURE__ */ c("span", {
|
|
18
|
+
className: "inline-flex items-center gap-1",
|
|
19
|
+
children: d.map((e) => /* @__PURE__ */ c(o, { children: e.avatar }, e.id))
|
|
20
|
+
}), h({
|
|
21
|
+
items: f,
|
|
22
|
+
label: r,
|
|
23
|
+
overflowCount: p,
|
|
24
|
+
overflowPopover: a,
|
|
25
|
+
renderOverflowHeader: i
|
|
26
|
+
})]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function h({ items: e, label: t, overflowCount: n, overflowPopover: r, renderOverflowHeader: i }) {
|
|
30
|
+
return n === 0 ? null : r ? /* @__PURE__ */ c(g, {
|
|
31
|
+
items: e,
|
|
32
|
+
label: t,
|
|
33
|
+
renderHeader: i
|
|
34
|
+
}) : /* @__PURE__ */ l("span", {
|
|
35
|
+
"aria-label": `+${n} ${t}`,
|
|
36
|
+
className: p,
|
|
37
|
+
role: "img",
|
|
38
|
+
children: ["+", n]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function g({ items: o, label: m, renderHeader: h }) {
|
|
42
|
+
let [g, v] = s(!1), y = o.length, b = `Show ${y} ${m}`, x = Math.min(y * u + d, f);
|
|
43
|
+
return /* @__PURE__ */ l(i, {
|
|
44
|
+
onOpenChange: v,
|
|
45
|
+
open: g,
|
|
46
|
+
children: [/* @__PURE__ */ l(r, {
|
|
47
|
+
"aria-label": b,
|
|
48
|
+
className: e(p, "cursor-pointer transition-colors hover:bg-foreground/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60"),
|
|
49
|
+
title: b,
|
|
50
|
+
type: "button",
|
|
51
|
+
children: ["+", y]
|
|
52
|
+
}), /* @__PURE__ */ l(n, {
|
|
53
|
+
align: "start",
|
|
54
|
+
className: "w-72 max-w-[calc(100vw-1rem)] gap-0 overflow-hidden bg-popover p-0 opacity-100",
|
|
55
|
+
sideOffset: 6,
|
|
56
|
+
children: [h ? /* @__PURE__ */ c(t, {
|
|
57
|
+
className: "px-3 pt-2.5 pb-1.5 font-medium text-foreground text-xs",
|
|
58
|
+
children: h(y)
|
|
59
|
+
}) : null, /* @__PURE__ */ c(a, {
|
|
60
|
+
className: "min-h-0 overflow-hidden",
|
|
61
|
+
orientation: "vertical",
|
|
62
|
+
style: { height: x },
|
|
63
|
+
type: "hover",
|
|
64
|
+
children: /* @__PURE__ */ c("ul", {
|
|
65
|
+
className: "flex flex-col py-1 pr-1",
|
|
66
|
+
children: o.map((e) => /* @__PURE__ */ c("li", { children: /* @__PURE__ */ c(_, {
|
|
67
|
+
item: e,
|
|
68
|
+
onClose: () => v(!1)
|
|
69
|
+
}) }, e.id))
|
|
70
|
+
})
|
|
71
|
+
})]
|
|
72
|
+
})]
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function _({ item: e, onClose: t }) {
|
|
76
|
+
let n = e.overflowRow ?? e.avatar, { onSelect: r } = e;
|
|
77
|
+
return r ? /* @__PURE__ */ c("button", {
|
|
78
|
+
"aria-label": e.overflowRowLabel,
|
|
79
|
+
className: "flex w-full cursor-pointer items-center gap-2 px-3 py-1.5 text-left text-xs transition-colors hover:bg-foreground/[0.06] focus-visible:bg-foreground/[0.06] focus-visible:outline-none",
|
|
80
|
+
onClick: () => {
|
|
81
|
+
t(), r();
|
|
82
|
+
},
|
|
83
|
+
type: "button",
|
|
84
|
+
children: n
|
|
85
|
+
}) : /* @__PURE__ */ c("div", {
|
|
86
|
+
className: "flex w-full items-center gap-2 px-3 py-1.5 text-left text-xs",
|
|
87
|
+
children: n
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
export { m as AvatarStack };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type CalloutProps = {
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
description?: React.ReactNode;
|
|
5
|
+
/** Trailing action hint — the whole callout is a single click target. */
|
|
6
|
+
actionLabel?: React.ReactNode;
|
|
7
|
+
/** Leading icon, rendered in a small tile. */
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
/** Extra classes for the leading icon tile (e.g. a status tint). */
|
|
10
|
+
iconClassName?: string;
|
|
11
|
+
onClick?: () => void;
|
|
12
|
+
} & Omit<React.ComponentProps<"button">, "children" | "title" | "onClick">;
|
|
13
|
+
/**
|
|
14
|
+
* Clickable summary banner: an icon tile, a title with optional description,
|
|
15
|
+
* and a trailing action hint. The whole surface is one button; consumers own
|
|
16
|
+
* the destination (sheet, inline flow, or page). Status-specific treatments
|
|
17
|
+
* compose via `className` / `iconClassName` (see `McpSetupCallout`).
|
|
18
|
+
*/
|
|
19
|
+
export declare function Callout({ title, description, actionLabel, icon, iconClassName, className, onClick, ...rest }: CalloutProps): React.JSX.Element;
|
|
20
|
+
//# sourceMappingURL=callout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callout.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/callout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,yEAAyE;IACzE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,8CAA8C;IAC9C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;AAE3E;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,WAAW,EACX,WAAW,EACX,IAAI,EACJ,aAAa,EACb,SAAS,EACT,OAAO,EACP,GAAG,IAAI,EACR,EAAE,YAAY,qBAiDd"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { cn as e } from "../../../lib/utils.js";
|
|
4
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronRight as r } from "lucide-react";
|
|
6
|
+
//#region lib/components/ui/molecules/callout.tsx
|
|
7
|
+
function i({ title: i, description: a, actionLabel: o, icon: s, iconClassName: c, className: l, onClick: u, ...d }) {
|
|
8
|
+
return /* @__PURE__ */ n("button", {
|
|
9
|
+
className: e("group flex w-full cursor-pointer flex-col gap-3 rounded-lg border border-border bg-muted/25 p-3 text-left transition-[border-color,background-color,transform] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60 active:scale-[0.995] motion-reduce:transition-colors motion-reduce:active:scale-100 sm:flex-row sm:items-center sm:justify-between", l),
|
|
10
|
+
"data-slot": "callout",
|
|
11
|
+
onClick: u,
|
|
12
|
+
...d,
|
|
13
|
+
type: "button",
|
|
14
|
+
children: [/* @__PURE__ */ n("span", {
|
|
15
|
+
className: "flex min-w-0 items-start gap-3",
|
|
16
|
+
children: [s ? /* @__PURE__ */ t("span", {
|
|
17
|
+
className: e("grid size-8 shrink-0 place-items-center rounded-md bg-background/70 text-muted-foreground transition-colors group-hover:bg-background", c),
|
|
18
|
+
"data-slot": "callout-icon",
|
|
19
|
+
children: s
|
|
20
|
+
}) : null, /* @__PURE__ */ n("span", {
|
|
21
|
+
className: "min-w-0 space-y-0.5",
|
|
22
|
+
children: [/* @__PURE__ */ t("span", {
|
|
23
|
+
className: "flex flex-wrap items-center gap-2 font-medium text-sm",
|
|
24
|
+
children: i
|
|
25
|
+
}), a ? /* @__PURE__ */ t("span", {
|
|
26
|
+
className: "block text-muted-foreground text-xs",
|
|
27
|
+
"data-slot": "callout-description",
|
|
28
|
+
children: a
|
|
29
|
+
}) : null]
|
|
30
|
+
})]
|
|
31
|
+
}), o ? /* @__PURE__ */ n("span", {
|
|
32
|
+
className: "inline-flex shrink-0 items-center gap-1.5 font-medium text-muted-foreground text-sm transition-colors group-hover:text-foreground sm:self-center",
|
|
33
|
+
"data-slot": "callout-action",
|
|
34
|
+
children: [o, /* @__PURE__ */ t(r, { className: "size-3.5 transition-transform duration-[var(--duration-fast)] ease-[var(--ease-smooth)] group-hover:translate-x-0.5 motion-reduce:transition-none motion-reduce:group-hover:translate-x-0" })]
|
|
35
|
+
}) : null]
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { i as Callout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn as e } from "../../../lib/utils.js";
|
|
2
|
-
import { i as t, n, t as r } from "../../../tooltip-
|
|
2
|
+
import { i as t, n, t as r } from "../../../tooltip-BUR7V5Aa.js";
|
|
3
3
|
import { Loader as i } from "../atoms/loader.js";
|
|
4
4
|
import { SidebarMenuAction as a, SidebarMenuButton as o, SidebarMenuItem as s } from "../atoms/sidebar.js";
|
|
5
5
|
import { ConfirmPopover as c } from "./confirm-popover.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { RemovableChipButtonProps } from './removable-chip';
|
|
2
|
+
import type * as React from "react";
|
|
3
|
+
export type ChipBodyProps = {
|
|
4
|
+
/** Leading icon or avatar rendered before the label. */
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
/** Text label — rendered in a medium-weight span. */
|
|
7
|
+
label: React.ReactNode;
|
|
8
|
+
/** Extra classes for the label span (e.g. `truncate capitalize`). */
|
|
9
|
+
labelClassName?: string;
|
|
10
|
+
/** Optional trailing count/fraction rendered after the label. */
|
|
11
|
+
count?: React.ReactNode;
|
|
12
|
+
} & Omit<RemovableChipButtonProps, "children">;
|
|
13
|
+
/**
|
|
14
|
+
* The clickable body of a segmented chip: a leading icon, a text label, and an
|
|
15
|
+
* optional trailing count. Built on `RemovableChipButton`, so it inherits the
|
|
16
|
+
* chip's hover, focus, and press styling and rounds its left edge to meet the
|
|
17
|
+
* shell. Pair it with `RemovableChip` (which supplies the divider and trailing
|
|
18
|
+
* × remove button) to assemble a full removable chip.
|
|
19
|
+
*/
|
|
20
|
+
export declare function ChipBody({ icon, label, labelClassName, count, ...props }: ChipBodyProps): React.JSX.Element;
|
|
21
|
+
//# sourceMappingURL=chip-body.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip-body.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/chip-body.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,0CAA0C,CAAC;AAGlD,MAAM,MAAM,aAAa,GAAG;IAC1B,wDAAwD;IACxD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,qDAAqD;IACrD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iEAAiE;IACjE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAGzB,GAAG,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAC;AAE/C;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,cAAc,EACd,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,qBAQf"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { cn as e } from "../../../lib/utils.js";
|
|
4
|
+
import { RemovableChipButton as t } from "./removable-chip.js";
|
|
5
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
6
|
+
//#region lib/components/ui/molecules/chip-body.tsx
|
|
7
|
+
function i({ icon: i, label: a, labelClassName: o, count: s, ...c }) {
|
|
8
|
+
return /* @__PURE__ */ r(t, {
|
|
9
|
+
...c,
|
|
10
|
+
children: [
|
|
11
|
+
i,
|
|
12
|
+
/* @__PURE__ */ n("span", {
|
|
13
|
+
className: e("font-medium", o),
|
|
14
|
+
children: a
|
|
15
|
+
}),
|
|
16
|
+
s
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { i as ChipBody };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../button-
|
|
2
|
-
import { t } from "../../../input-
|
|
1
|
+
import { t as e } from "../../../button-BdQxLUOB.js";
|
|
2
|
+
import { t } from "../../../input-DZTqcpe-.js";
|
|
3
3
|
import { useState as n } from "react";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
import { Eye as a, EyeOff as o } from "lucide-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn as e } from "../../../lib/utils.js";
|
|
2
|
-
import { t } from "../../../web-
|
|
2
|
+
import { t } from "../../../web-CqfgwsJY.js";
|
|
3
3
|
import { SHIKI_THEMES as n } from "../../../lib/shiki-themes.js";
|
|
4
4
|
import { CopyButton as r } from "../atoms/copy-button.js";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../button-
|
|
2
|
-
import { a as t, i as n, n as r, o as i, r as a, t as o } from "../../../popover-
|
|
1
|
+
import { t as e } from "../../../button-BdQxLUOB.js";
|
|
2
|
+
import { a as t, i as n, n as r, o as i, r as a, t as o } from "../../../popover-CpLkQtT5.js";
|
|
3
3
|
import { useState as s } from "react";
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/components/ui/molecules/confirm-popover.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "../../../button-
|
|
2
|
-
import { n as t, o as n, t as r } from "../../../popover-
|
|
3
|
-
import { r as i, t as a } from "../../../calendar-
|
|
4
|
-
import { t as o } from "../../../input-
|
|
1
|
+
import { t as e } from "../../../button-BdQxLUOB.js";
|
|
2
|
+
import { n as t, o as n, t as r } from "../../../popover-CpLkQtT5.js";
|
|
3
|
+
import { r as i, t as a } from "../../../calendar-Ctzadwv-.js";
|
|
4
|
+
import { t as o } from "../../../input-DZTqcpe-.js";
|
|
5
5
|
import { Label as s } from "../atoms/label.js";
|
|
6
6
|
import { useState as c } from "react";
|
|
7
7
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type FilterChipGroupItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
};
|
|
7
|
+
export type FilterChipGroupProps = {
|
|
8
|
+
items: FilterChipGroupItem[];
|
|
9
|
+
/**
|
|
10
|
+
* Currently selected item ids. Multi-select: an empty array means no filter
|
|
11
|
+
* is active. The consumer owns any "clear"/"all" affordance — this component
|
|
12
|
+
* renders only the items it's given.
|
|
13
|
+
*/
|
|
14
|
+
selected: string[];
|
|
15
|
+
onChange?: (ids: string[]) => void;
|
|
16
|
+
} & Omit<React.ComponentProps<"div">, "onChange">;
|
|
17
|
+
/**
|
|
18
|
+
* A horizontally scrollable, labeled group of selectable filter chips.
|
|
19
|
+
* Multi-select: clicking a chip toggles its id in/out of the `selected` array.
|
|
20
|
+
* Built on `ToggleGroup` so the chips get real group semantics (the group
|
|
21
|
+
* role carries the accessible name) and roving keyboard focus; this component
|
|
22
|
+
* owns the overflow-scroll fade, the consumer owns the data and the selection
|
|
23
|
+
* array.
|
|
24
|
+
*/
|
|
25
|
+
export declare function FilterChipGroup({ items, selected, onChange, className, "aria-label": ariaLabel, ...rest }: FilterChipGroupProps): React.JSX.Element;
|
|
26
|
+
//# sourceMappingURL=filter-chip-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-chip-group.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/filter-chip-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACpC,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAElD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,oBAAoB,qBAyBtB"}
|
package/dist/components/ui/molecules/{mcp-server-picker/category-filter.js → filter-chip-group.js}
RENAMED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { cn as e } from "
|
|
4
|
-
import { n as t, t as n } from "
|
|
3
|
+
import { cn as e } from "../../../lib/utils.js";
|
|
4
|
+
import { n as t, t as n } from "../../../toggle-group-CmP4iHEJ.js";
|
|
5
5
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
|
-
//#region lib/components/ui/molecules/
|
|
7
|
-
function a({
|
|
6
|
+
//#region lib/components/ui/molecules/filter-chip-group.tsx
|
|
7
|
+
function a({ items: a, selected: o, onChange: s, className: c, "aria-label": l, ...u }) {
|
|
8
8
|
return /* @__PURE__ */ r("div", {
|
|
9
|
-
...
|
|
9
|
+
...u,
|
|
10
10
|
className: e("min-w-0 overflow-hidden", c),
|
|
11
|
-
"data-slot": "
|
|
11
|
+
"data-slot": "filter-chip-group",
|
|
12
12
|
children: /* @__PURE__ */ r(n, {
|
|
13
|
+
"aria-label": l,
|
|
13
14
|
className: "scroll-fade-x flex-nowrap overflow-x-auto p-0.5 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
14
15
|
multiple: !0,
|
|
15
16
|
onValueChange: (e) => s?.(e),
|
|
@@ -26,4 +27,4 @@ function a({ categories: a, selectedCategories: o, onSelectionChange: s, classNa
|
|
|
26
27
|
});
|
|
27
28
|
}
|
|
28
29
|
//#endregion
|
|
29
|
-
export { a as
|
|
30
|
+
export { a as FilterChipGroup };
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
/** biome-ignore-all lint/performance/noBarrelFile: Barrel files are acceptable for atomic component folders */
|
|
2
|
+
export type { AvatarStackItem, AvatarStackProps } from './avatar-stack';
|
|
3
|
+
export { AvatarStack } from './avatar-stack';
|
|
4
|
+
export type { CalloutProps } from './callout';
|
|
5
|
+
export { Callout } from './callout';
|
|
2
6
|
export type { ChatHistoryItemProps } from './chat-history-item';
|
|
3
7
|
export { ChatHistoryItem } from './chat-history-item';
|
|
4
8
|
export type { ChatAssistantMessageProps, ChatMessageItem, ChatMessageListProps, ChatMessageListSkeletonProps, ChatStreamingIndicatorProps, ChatUserMessageProps, } from './chat-message-list';
|
|
5
9
|
export { ChatAssistantMessage, ChatMessageList, ChatMessageListSkeleton, ChatStreamingIndicator, ChatUserMessage, } from './chat-message-list';
|
|
10
|
+
export type { ChipBodyProps } from './chip-body';
|
|
11
|
+
export { ChipBody } from './chip-body';
|
|
6
12
|
export type { ClientSecretInputProps } from './client-secret-field';
|
|
7
13
|
export { ClientSecretInput } from './client-secret-field';
|
|
8
14
|
export { CommandBar } from './command-bar';
|
|
@@ -12,12 +18,10 @@ export { DateTimePicker } from './date-time-picker';
|
|
|
12
18
|
export { EmptyState } from './empty-state';
|
|
13
19
|
export type { ErrorStateProps } from './error-state';
|
|
14
20
|
export { ErrorState } from './error-state';
|
|
21
|
+
export type { FilterChipGroupItem, FilterChipGroupProps, } from './filter-chip-group';
|
|
22
|
+
export { FilterChipGroup } from './filter-chip-group';
|
|
15
23
|
export type { FlowAnimateMode, FlowDiagramProps, FlowSize, } from './flow-diagram';
|
|
16
24
|
export { FlowDiagram } from './flow-diagram';
|
|
17
|
-
export type { McpCategoryFilterOption, McpCategoryFilterProps, } from './mcp-server-picker/category-filter';
|
|
18
|
-
export { McpCategoryFilter } from './mcp-server-picker/category-filter';
|
|
19
|
-
export type { McpCategoryFilterMenuProps } from './mcp-server-picker/category-filter-menu';
|
|
20
|
-
export { McpCategoryFilterMenu } from './mcp-server-picker/category-filter-menu';
|
|
21
25
|
export type { McpRecommendedToolsCalloutProps, McpRecommendedToolsDeactivateDialogProps, McpRecommendedToolsOptOutDialogProps, McpRecommendedToolsOptOutKind, McpRecommendedToolsState, } from './mcp-server-picker/recommended-tools';
|
|
22
26
|
export { McpRecommendedToolsCallout, McpRecommendedToolsDeactivateDialog, McpRecommendedToolsOptOutDialog, } from './mcp-server-picker/recommended-tools';
|
|
23
27
|
export type { McpReviewCountChipProps } from './mcp-server-picker/review-count-chip';
|
|
@@ -34,8 +38,8 @@ export type { McpServerCardProps, McpServerCardSelectionState, } from './mcp-ser
|
|
|
34
38
|
export { McpServerCard, mcpServerCardShellVariants, } from './mcp-server-picker/server-card';
|
|
35
39
|
export type { McpToolCardProps } from './mcp-server-picker/tool-card';
|
|
36
40
|
export { McpToolCard } from './mcp-server-picker/tool-card';
|
|
37
|
-
export type {
|
|
38
|
-
export {
|
|
41
|
+
export type { McpToolRecommendationsProps, McpToolRecommendationsState, } from './mcp-server-picker/tool-recommendations';
|
|
42
|
+
export { McpToolRecommendations } from './mcp-server-picker/tool-recommendations';
|
|
39
43
|
export type { McpToolkitAvatarProps } from './mcp-server-picker/toolkit-avatar';
|
|
40
44
|
export { McpToolkitAvatar, mcpToolkitAvatarVariants, } from './mcp-server-picker/toolkit-avatar';
|
|
41
45
|
export type { McpToolkitChipProps } from './mcp-server-picker/toolkit-chip';
|
|
@@ -48,6 +52,8 @@ export type { MessageActionProps, MessageActionsProps, MessageAvatarProps, Messa
|
|
|
48
52
|
export { Message, MessageAction, MessageActions, MessageAvatar, MessageContent, } from './message';
|
|
49
53
|
export type { PromptInputActionProps, PromptInputActionsProps, PromptInputProps, PromptInputTextareaProps, } from './prompt-input';
|
|
50
54
|
export { PromptInput, PromptInputAction, PromptInputActions, PromptInputTextarea, } from './prompt-input';
|
|
55
|
+
export type { RemovableChipButtonProps, RemovableChipProps, } from './removable-chip';
|
|
56
|
+
export { RemovableChip, RemovableChipButton, removableChipButtonClass, } from './removable-chip';
|
|
51
57
|
export { RequirementBadges } from './requirement-badges';
|
|
52
58
|
export type { Step, StepStatus, StepsProgressProps } from './steps-progress';
|
|
53
59
|
export { StepsProgress } from './steps-progress';
|
|
@@ -61,6 +67,8 @@ export type { ToolCallAccordionContentProps, ToolCallAccordionItemProps, ToolCal
|
|
|
61
67
|
export { ToolCallAccordion, ToolCallAccordionContent, ToolCallAccordionItem, ToolCallAccordionTrigger, } from './tool-call-accordion';
|
|
62
68
|
export { ToolCard } from './tool-card';
|
|
63
69
|
export { ToolkitCard } from './toolkit-card';
|
|
70
|
+
export type { UndoToastOptions, UndoToastProviderProps, } from './undo-toast';
|
|
71
|
+
export { UndoToastProvider, useUndoToast } from './undo-toast';
|
|
64
72
|
export type { UserNavProps, UserNavSize } from './user-nav';
|
|
65
73
|
export { UserNav } from './user-nav';
|
|
66
74
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,yBAAyB,EACzB,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,eAAe,GAChB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,35 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
|
|
1
|
+
import { AvatarStack as e } from "./avatar-stack.js";
|
|
2
|
+
import { Callout as t } from "./callout.js";
|
|
3
|
+
import { ConfirmPopover as n } from "./confirm-popover.js";
|
|
4
|
+
import { ChatHistoryItem as r } from "./chat-history-item.js";
|
|
5
|
+
import { Message as i, MessageAction as a, MessageActions as o, MessageAvatar as s, MessageContent as c } from "./message.js";
|
|
6
|
+
import { ChatAssistantMessage as l, ChatMessageList as u, ChatMessageListSkeleton as d, ChatStreamingIndicator as f, ChatUserMessage as p } from "./chat-message-list.js";
|
|
7
|
+
import { RemovableChip as m, RemovableChipButton as h, removableChipButtonClass as g } from "./removable-chip.js";
|
|
8
|
+
import { ChipBody as _ } from "./chip-body.js";
|
|
9
|
+
import { ClientSecretInput as v } from "./client-secret-field.js";
|
|
10
|
+
import { CommandBar as y } from "./command-bar.js";
|
|
11
|
+
import { DateTimePicker as b } from "./date-time-picker.js";
|
|
12
|
+
import { EmptyState as x } from "./empty-state.js";
|
|
13
|
+
import { ErrorState as S } from "./error-state.js";
|
|
14
|
+
import { FilterChipGroup as C } from "./filter-chip-group.js";
|
|
15
|
+
import { FlowDiagram as w } from "./flow-diagram.js";
|
|
16
|
+
import { McpSectionCallout as T } from "./mcp-server-picker/section-callout.js";
|
|
17
|
+
import { McpRecommendedToolsCallout as E, McpRecommendedToolsDeactivateDialog as D, McpRecommendedToolsOptOutDialog as O } from "./mcp-server-picker/recommended-tools.js";
|
|
18
|
+
import { McpReviewCountChip as k } from "./mcp-server-picker/review-count-chip.js";
|
|
19
|
+
import { McpSearchScopeTabs as A } from "./mcp-server-picker/search-scope-tabs.js";
|
|
20
|
+
import { McpSectionNavHeader as j } from "./mcp-server-picker/section-nav-header.js";
|
|
21
|
+
import { McpToolkitAvatar as M, mcpToolkitAvatarVariants as N } from "./mcp-server-picker/toolkit-avatar.js";
|
|
22
|
+
import { McpServerAvatarStack as P } from "./mcp-server-picker/server-avatar-stack.js";
|
|
23
|
+
import { McpServerCard as F, mcpServerCardShellVariants as I } from "./mcp-server-picker/server-card.js";
|
|
24
|
+
import { McpToolCard as L } from "./mcp-server-picker/tool-card.js";
|
|
25
|
+
import { McpToolRecommendations as R } from "./mcp-server-picker/tool-recommendations.js";
|
|
26
|
+
import { McpToolkitChip as z } from "./mcp-server-picker/toolkit-chip.js";
|
|
27
|
+
import { McpToolkitGroupHeader as B } from "./mcp-server-picker/toolkit-group-header.js";
|
|
28
|
+
import { McpUnoptimizedMatchCard as V } from "./mcp-server-picker/unoptimized-match-card.js";
|
|
29
|
+
import { PromptInput as H, PromptInputAction as U, PromptInputActions as W, PromptInputTextarea as G } from "./prompt-input.js";
|
|
30
|
+
import { r as K, t as q } from "../../../ui-46pgiw5T.js";
|
|
31
|
+
import { StepsProgress as J } from "./steps-progress.js";
|
|
32
|
+
import { SuggestionCard as Y, SuggestionCardSkeleton as X } from "./suggestion-card.js";
|
|
33
|
+
import { TagsInput as Z, TagsInputValue as Q } from "./tags-input.js";
|
|
34
|
+
import { ToolAuthorization as $, ToolAuthorizationArgs as ee, ToolAuthorizationContent as te, ToolAuthorizationHeader as ne, ToolAuthorizationMessage as re } from "./tool-authorization.js";
|
|
35
|
+
import { ToolCallAccordion as ie, ToolCallAccordionContent as ae, ToolCallAccordionItem as oe, ToolCallAccordionTrigger as se } from "./tool-call-accordion.js";
|
|
36
|
+
import { ToolCard as ce } from "./tool-card.js";
|
|
37
|
+
import { n as le, t as ue } from "../../../undo-toast-Cf4T6ToX.js";
|
|
38
|
+
import { UserNav as de } from "./user-nav.js";
|
|
39
|
+
export { e as AvatarStack, t as Callout, l as ChatAssistantMessage, r as ChatHistoryItem, u as ChatMessageList, d as ChatMessageListSkeleton, f as ChatStreamingIndicator, p as ChatUserMessage, _ as ChipBody, v as ClientSecretInput, y as CommandBar, n as ConfirmPopover, b as DateTimePicker, x as EmptyState, S as ErrorState, C as FilterChipGroup, w as FlowDiagram, E as McpRecommendedToolsCallout, D as McpRecommendedToolsDeactivateDialog, O as McpRecommendedToolsOptOutDialog, k as McpReviewCountChip, A as McpSearchScopeTabs, T as McpSectionCallout, j as McpSectionNavHeader, P as McpServerAvatarStack, F as McpServerCard, L as McpToolCard, R as McpToolRecommendations, M as McpToolkitAvatar, z as McpToolkitChip, B as McpToolkitGroupHeader, V as McpUnoptimizedMatchCard, i as Message, a as MessageAction, o as MessageActions, s as MessageAvatar, c as MessageContent, H as PromptInput, U as PromptInputAction, W as PromptInputActions, G as PromptInputTextarea, m as RemovableChip, h as RemovableChipButton, K as RequirementBadges, J as StepsProgress, Y as SuggestionCard, X as SuggestionCardSkeleton, Z as TagsInput, Q as TagsInputValue, $ as ToolAuthorization, ee as ToolAuthorizationArgs, te as ToolAuthorizationContent, ne as ToolAuthorizationHeader, re as ToolAuthorizationMessage, ie as ToolCallAccordion, ae as ToolCallAccordionContent, oe as ToolCallAccordionItem, se as ToolCallAccordionTrigger, ce as ToolCard, q as ToolkitCard, ue as UndoToastProvider, de as UserNav, I as mcpServerCardShellVariants, N as mcpToolkitAvatarVariants, g as removableChipButtonClass, le as useUndoToast };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommended-toolkits-chip.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"recommended-toolkits-chip.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAepC,MAAM,MAAM,uBAAuB,GAAG;IACpC,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;;OAIG;IACH,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC;AAqB/D;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,UAAU,EACV,MAAc,EACd,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,+BAA+B,qBAmGjC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
3
|
import { cn as e } from "../../../../lib/utils.js";
|
|
4
|
-
import { i as t, n, o as r, t as i } from "../../../../popover-
|
|
4
|
+
import { i as t, n, o as r, t as i } from "../../../../popover-CpLkQtT5.js";
|
|
5
5
|
import { Arcade as a } from "../../atoms/icons/arcade.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { t as o } from "../../../../scroll-area-D7iOy7xj.js";
|
|
7
|
+
import { RemovableChip as s } from "../removable-chip.js";
|
|
8
|
+
import { ChipBody as c } from "../chip-body.js";
|
|
8
9
|
import { McpToolkitAvatar as l } from "./toolkit-avatar.js";
|
|
9
10
|
import { useState as u } from "react";
|
|
10
11
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
@@ -18,28 +19,29 @@ function p({ className: t }) {
|
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
21
|
function m({ mcpServers: a, active: m = !1, onReview: h, onOpenMcpServer: g, onRemove: _, className: v, ...y }) {
|
|
21
|
-
let [b, x] = u(!1), S = a.length, C = S === 1 ? "server" : "servers", w = `Review ${S} recommended ${C}`,
|
|
22
|
-
return /* @__PURE__ */ f(
|
|
22
|
+
let [b, x] = u(!1), S = a.length, C = S === 1 ? "server" : "servers", w = `min(18rem, calc(${S} * 2rem + 0.5rem))`, T = `Review ${S} recommended ${C}`, E = `Show ${S} recommended ${C}`, D = `Remove all ${S} recommended ${C}`;
|
|
23
|
+
return /* @__PURE__ */ f(s, {
|
|
23
24
|
...y,
|
|
24
25
|
active: m,
|
|
25
26
|
className: e(m ? "bg-brand-navy/15 ring-brand-navy/40" : null, v),
|
|
26
27
|
"data-slot": "mcp-recommended-toolkits-chip",
|
|
27
28
|
"data-status": m ? "open" : "closed",
|
|
28
29
|
onRemove: _,
|
|
29
|
-
removeLabel:
|
|
30
|
-
children: [/* @__PURE__ */
|
|
31
|
-
"aria-label":
|
|
30
|
+
removeLabel: D,
|
|
31
|
+
children: [/* @__PURE__ */ d(c, {
|
|
32
|
+
"aria-label": T,
|
|
32
33
|
className: "pr-1.5 font-medium",
|
|
34
|
+
icon: /* @__PURE__ */ d(p, {}),
|
|
35
|
+
label: "Recommended tools",
|
|
33
36
|
onClick: h,
|
|
34
|
-
title:
|
|
35
|
-
children: [/* @__PURE__ */ d(p, {}), /* @__PURE__ */ d("span", { children: "Recommended tools" })]
|
|
37
|
+
title: T
|
|
36
38
|
}), /* @__PURE__ */ f(i, {
|
|
37
39
|
onOpenChange: x,
|
|
38
40
|
open: b,
|
|
39
41
|
children: [/* @__PURE__ */ d(r, {
|
|
40
|
-
"aria-label":
|
|
42
|
+
"aria-label": E,
|
|
41
43
|
className: "inline-flex cursor-pointer items-center gap-1 py-1 pr-1.5 pl-1 text-muted-foreground transition-[background-color,color] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] hover:bg-foreground/10 hover:text-foreground focus-visible:bg-foreground/10 focus-visible:outline-none motion-reduce:transition-colors",
|
|
42
|
-
title:
|
|
44
|
+
title: E,
|
|
43
45
|
type: "button",
|
|
44
46
|
children: /* @__PURE__ */ d("span", {
|
|
45
47
|
className: "rounded-full bg-muted px-1.5 py-0.5 text-[10px] text-foreground tabular-nums",
|
|
@@ -47,14 +49,15 @@ function m({ mcpServers: a, active: m = !1, onReview: h, onOpenMcpServer: g, onR
|
|
|
47
49
|
})
|
|
48
50
|
}), /* @__PURE__ */ f(n, {
|
|
49
51
|
align: "start",
|
|
50
|
-
className: "w-64 gap-0 p-0",
|
|
52
|
+
className: "w-64 gap-0 overflow-hidden p-0",
|
|
51
53
|
sideOffset: 6,
|
|
52
54
|
children: [/* @__PURE__ */ f(t, {
|
|
53
55
|
className: "flex items-center gap-2 px-3 pt-2.5 pb-1.5 font-medium text-foreground text-xs",
|
|
54
56
|
children: [/* @__PURE__ */ d(p, {}), /* @__PURE__ */ d("span", { children: "Recommended by Arcade" })]
|
|
55
|
-
}), /* @__PURE__ */ d(
|
|
56
|
-
className: "
|
|
57
|
+
}), /* @__PURE__ */ d(o, {
|
|
58
|
+
className: "min-h-0 overflow-hidden",
|
|
57
59
|
orientation: "vertical",
|
|
60
|
+
style: { height: w },
|
|
58
61
|
type: "hover",
|
|
59
62
|
children: /* @__PURE__ */ d("ul", {
|
|
60
63
|
className: "flex flex-col py-1",
|