@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,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
3
|
-
import { o as t, r as n, t as r, u as i } from "./useRenderElement-
|
|
4
|
-
import { t as a } from "./useStableCallback-
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { a as
|
|
8
|
-
import { d
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { n as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
|
+
import { o as t, r as n, t as r, u as i } from "./useRenderElement-BToElZ97.js";
|
|
4
|
+
import { t as a } from "./useStableCallback-CrM0Nb2q.js";
|
|
5
|
+
import { t as o } from "./useBaseUiId-CXSJgVcI.js";
|
|
6
|
+
import { l as s, t as c } from "./createBaseUIEventDetails-C_dwdqj4.js";
|
|
7
|
+
import { a as l, t as u } from "./useOpenChangeComplete-CVIwfcpl.js";
|
|
8
|
+
import { d } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
9
|
+
import { cn as f } from "./lib/utils.js";
|
|
10
|
+
import { C as p, S as m, T as h, _ as g, a as _, c as v, f as y, h as b, m as x, o as S, p as C, r as w, s as T, v as E, w as D } from "./popupStateMapping-XiLS0Jku.js";
|
|
11
|
+
import { a as O, h as k, i as A, o as j, t as M } from "./ReactStore-C3H8e2ha.js";
|
|
12
|
+
import { n as N, r as P, t as ee } from "./safePolygon-DmV1hDsw.js";
|
|
13
|
+
import { i as te, n as ne, r as re, t as ie } from "./usePositioner-CaLGGc-z.js";
|
|
14
|
+
import { n as ae, r as F, t as oe } from "./store-D7k1qIkZ.js";
|
|
15
|
+
import { t as se } from "./useFocus-B_SrhX9q.js";
|
|
16
|
+
import { t as ce } from "./FloatingPortalLite-D5nFwFgJ.js";
|
|
16
17
|
import * as I from "react";
|
|
17
|
-
import { jsx as L, jsxs as
|
|
18
|
-
|
|
19
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/utils/popups/inlineRect.js
|
|
18
|
+
import { jsx as L, jsxs as le } from "react/jsx-runtime";
|
|
19
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/popups/inlineRect.mjs
|
|
20
20
|
function R(e, t, n, r) {
|
|
21
21
|
return {
|
|
22
22
|
left: e,
|
|
@@ -29,7 +29,7 @@ function R(e, t, n, r) {
|
|
|
29
29
|
height: r - t
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function ue(e) {
|
|
33
33
|
return {
|
|
34
34
|
left: e.left,
|
|
35
35
|
top: e.top,
|
|
@@ -42,7 +42,7 @@ function fe(e) {
|
|
|
42
42
|
function z(e) {
|
|
43
43
|
let t = [], n, r = Infinity, i = Infinity, a = -Infinity, o = -Infinity;
|
|
44
44
|
for (let s of Array.from(e).sort((e, t) => e.top - t.top)) {
|
|
45
|
-
if (r = Math.min(r, s.left), i = Math.min(i, s.top), a = Math.max(a, s.right), o = Math.max(o, s.bottom), !n || s.top - n.top > n.height / 2) t.push(
|
|
45
|
+
if (r = Math.min(r, s.left), i = Math.min(i, s.top), a = Math.max(a, s.right), o = Math.max(o, s.bottom), !n || s.top - n.top > n.height / 2) t.push(ue(s));
|
|
46
46
|
else {
|
|
47
47
|
let e = t[t.length - 1];
|
|
48
48
|
e.left = Math.min(e.left, s.left), e.right = Math.max(e.right, s.right), e.bottom = Math.max(e.bottom, s.bottom), e.width = e.right - e.left, e.height = e.bottom - e.top;
|
|
@@ -60,7 +60,7 @@ function B(e, t, n) {
|
|
|
60
60
|
function V(e) {
|
|
61
61
|
return R(e.left, e.top, e.right, e.bottom);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function de(e, t, n) {
|
|
64
64
|
let { lines: r } = z(e.getClientRects());
|
|
65
65
|
if (r.length < 2) return;
|
|
66
66
|
let i = B(r, t, n);
|
|
@@ -71,7 +71,7 @@ function pe(e, t, n) {
|
|
|
71
71
|
element: e
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function fe(e, t, n) {
|
|
75
75
|
let { lines: r, fallback: i } = z(e.getClientRects());
|
|
76
76
|
if (r.length < 2) return null;
|
|
77
77
|
let a = n?.x, o = n?.y, s = t[0];
|
|
@@ -93,12 +93,12 @@ function me(e, t, n) {
|
|
|
93
93
|
}
|
|
94
94
|
return R(l, f.top, u, p.bottom);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
return "contextElement" in e && e.contextElement ? e.contextElement :
|
|
96
|
+
function pe(e) {
|
|
97
|
+
return "contextElement" in e && e.contextElement ? e.contextElement : d(e) ? e : void 0;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function H(e, t) {
|
|
100
100
|
function n(t) {
|
|
101
|
-
|
|
101
|
+
U(e, t.currentTarget, t.clientX, t.clientY);
|
|
102
102
|
}
|
|
103
103
|
function r(e) {
|
|
104
104
|
t || n(e);
|
|
@@ -107,21 +107,21 @@ function ge(e, t) {
|
|
|
107
107
|
onFocus() {
|
|
108
108
|
e.current = void 0;
|
|
109
109
|
},
|
|
110
|
-
onMouseEnter:
|
|
110
|
+
onMouseEnter: r,
|
|
111
111
|
onMouseMove: r
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
let i =
|
|
114
|
+
function U(e, t, n, r) {
|
|
115
|
+
let i = de(t, n, r);
|
|
116
116
|
return e.current = i, i;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function me(e) {
|
|
119
119
|
return {
|
|
120
120
|
name: "inline",
|
|
121
121
|
async fn(t) {
|
|
122
122
|
let n = t.elements.reference;
|
|
123
123
|
if (typeof n?.getClientRects != "function") return {};
|
|
124
|
-
let r =
|
|
124
|
+
let r = pe(n), i = e.current, a = i?.element === n || i?.element === r ? i : void 0, o = fe(n, t.placement, a);
|
|
125
125
|
if (!o || typeof t.platform.getElementRects != "function") return {};
|
|
126
126
|
let s = await t.platform.getElementRects({
|
|
127
127
|
reference: {
|
|
@@ -138,24 +138,24 @@ function _e(e) {
|
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
//#endregion
|
|
141
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
142
|
-
var
|
|
143
|
-
process.env.NODE_ENV !== "production" && (
|
|
144
|
-
function
|
|
145
|
-
let t = I.useContext(
|
|
141
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/root/PreviewCardContext.mjs
|
|
142
|
+
var W = /*#__PURE__*/ I.createContext(void 0);
|
|
143
|
+
process.env.NODE_ENV !== "production" && (W.displayName = "PreviewCardRootContext");
|
|
144
|
+
function G(e) {
|
|
145
|
+
let t = I.useContext(W);
|
|
146
146
|
if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? i(50) : "Base UI: PreviewCardRootContext is missing. PreviewCard parts must be placed within <PreviewCard.Root>.");
|
|
147
147
|
return t;
|
|
148
148
|
}
|
|
149
149
|
//#endregion
|
|
150
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
151
|
-
var
|
|
152
|
-
...
|
|
153
|
-
instantType:
|
|
154
|
-
hasViewport:
|
|
155
|
-
},
|
|
150
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/store/PreviewCardStore.mjs
|
|
151
|
+
var he = {
|
|
152
|
+
...F,
|
|
153
|
+
instantType: j((e) => e.instantType),
|
|
154
|
+
hasViewport: j((e) => e.hasViewport)
|
|
155
|
+
}, ge = class e extends M {
|
|
156
156
|
constructor(e, t, n = !1) {
|
|
157
|
-
let r = new
|
|
158
|
-
...
|
|
157
|
+
let r = new S(), i = {
|
|
158
|
+
..._e(),
|
|
159
159
|
...e
|
|
160
160
|
};
|
|
161
161
|
i.floatingRootContext = ae(r, t, n), super(i, {
|
|
@@ -165,50 +165,39 @@ var ve = {
|
|
|
165
165
|
triggerElements: r,
|
|
166
166
|
closeDelayRef: { current: 300 },
|
|
167
167
|
inlineRectCoordsRef: { current: void 0 }
|
|
168
|
-
},
|
|
168
|
+
}, he);
|
|
169
169
|
}
|
|
170
170
|
setOpen = (e, t) => {
|
|
171
|
-
let
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
e && r && t.trigger && "clientX" in o && "clientY" in o && this.context.inlineRectCoordsRef.current?.element !== t.trigger && H(this.context.inlineRectCoordsRef, t.trigger, o.clientX, o.clientY), this.state.floatingRootContext.dispatchOpenChange(e, t);
|
|
177
|
-
let s = () => {
|
|
178
|
-
let r = { open: e };
|
|
179
|
-
i ? r.instantType = "focus" : a ? r.instantType = "dismiss" : n === "trigger-hover" && (r.instantType = void 0), x(r, e, t.trigger), this.update(r);
|
|
180
|
-
};
|
|
181
|
-
r ? de.flushSync(s) : s();
|
|
171
|
+
let { inlineRectCoordsRef: n } = this.context;
|
|
172
|
+
v(this, e, t, { onBeforeDispatch() {
|
|
173
|
+
let r = t.event;
|
|
174
|
+
e && t.reason === "trigger-hover" && t.trigger && "clientX" in r && "clientY" in r && n.current?.element !== t.trigger && U(n, t.trigger, r.clientX, r.clientY);
|
|
175
|
+
} });
|
|
182
176
|
};
|
|
183
177
|
static useStore(t, n) {
|
|
184
|
-
return
|
|
178
|
+
return g(t, (t, r) => new e(n, t, r)).store;
|
|
185
179
|
}
|
|
186
180
|
};
|
|
187
|
-
function
|
|
181
|
+
function _e() {
|
|
188
182
|
return {
|
|
189
|
-
...
|
|
183
|
+
...oe(),
|
|
190
184
|
instantType: void 0,
|
|
191
185
|
hasViewport: !1
|
|
192
186
|
};
|
|
193
187
|
}
|
|
194
188
|
//#endregion
|
|
195
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
196
|
-
function
|
|
197
|
-
let { open: n, defaultOpen: r = !1, onOpenChange: i, onOpenChangeComplete: a, actionsRef:
|
|
189
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/root/PreviewCardRoot.mjs
|
|
190
|
+
function K(t) {
|
|
191
|
+
let { open: n, defaultOpen: r = !1, onOpenChange: i, onOpenChangeComplete: a, actionsRef: o, handle: l, triggerId: u, defaultTriggerId: d = null, children: f } = t, p = ge.useStore(l?.store, {
|
|
198
192
|
open: r,
|
|
199
193
|
openProp: n,
|
|
200
194
|
activeTriggerId: d,
|
|
201
195
|
triggerIdProp: u
|
|
202
196
|
});
|
|
203
|
-
|
|
204
|
-
n === void 0 && p.state.open === !1 && r === !0 && p.update({
|
|
205
|
-
open: !0,
|
|
206
|
-
activeTriggerId: d
|
|
207
|
-
});
|
|
208
|
-
}), p.useControlledProp("openProp", n), p.useControlledProp("triggerIdProp", u), p.useContextCallback("onOpenChange", i), p.useContextCallback("onOpenChangeComplete", a);
|
|
197
|
+
C(p, n, r, d), p.useControlledProp("openProp", n), p.useControlledProp("triggerIdProp", u), p.useContextCallback("onOpenChange", i), p.useContextCallback("onOpenChangeComplete", a);
|
|
209
198
|
let m = p.useState("open"), h = p.useState("activeTriggerId"), g = p.useState("mounted"), _ = p.useState("payload");
|
|
210
|
-
|
|
211
|
-
let { forceUnmount: v } =
|
|
199
|
+
y(p, { closeOnActiveTriggerUnmount: !0 });
|
|
200
|
+
let { forceUnmount: v } = x(m, p, () => {
|
|
212
201
|
p.context.inlineRectCoordsRef.current = void 0;
|
|
213
202
|
});
|
|
214
203
|
e(() => {
|
|
@@ -219,77 +208,77 @@ function G(t) {
|
|
|
219
208
|
m
|
|
220
209
|
]);
|
|
221
210
|
let b = I.useCallback(() => {
|
|
222
|
-
p.setOpen(!1, s
|
|
211
|
+
p.setOpen(!1, c(s));
|
|
223
212
|
}, [p]);
|
|
224
|
-
I.useImperativeHandle(
|
|
213
|
+
I.useImperativeHandle(o, () => ({
|
|
225
214
|
unmount: v,
|
|
226
215
|
close: b
|
|
227
216
|
}), [v, b]);
|
|
228
|
-
let
|
|
229
|
-
return /*#__PURE__*/
|
|
217
|
+
let S = m || g;
|
|
218
|
+
return /*#__PURE__*/ le(W.Provider, {
|
|
230
219
|
value: p,
|
|
231
|
-
children: [
|
|
220
|
+
children: [S && /*#__PURE__*/ L(ve, { store: p }), typeof f == "function" ? f({ payload: _ }) : f]
|
|
232
221
|
});
|
|
233
222
|
}
|
|
234
|
-
function
|
|
235
|
-
let r =
|
|
236
|
-
return
|
|
223
|
+
function ve({ store: e }) {
|
|
224
|
+
let r = m(e.useState("floatingRootContext"));
|
|
225
|
+
return b(e, {
|
|
237
226
|
activeTriggerProps: r.reference ?? t,
|
|
238
227
|
inactiveTriggerProps: r.trigger ?? t,
|
|
239
|
-
popupProps: I.useMemo(() => n(
|
|
228
|
+
popupProps: I.useMemo(() => n(T, r.floating), [r.floating])
|
|
240
229
|
}), null;
|
|
241
230
|
}
|
|
242
|
-
var
|
|
243
|
-
return
|
|
231
|
+
var q = A(function(e) {
|
|
232
|
+
return G(!0) ? /*#__PURE__*/ L(K, { ...e }) : /*#__PURE__*/ L(D, { children: /*#__PURE__*/ L(K, { ...e }) });
|
|
244
233
|
});
|
|
245
|
-
process.env.NODE_ENV !== "production" && (
|
|
234
|
+
process.env.NODE_ENV !== "production" && (q.displayName = "PreviewCardRoot");
|
|
246
235
|
//#endregion
|
|
247
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
248
|
-
var
|
|
249
|
-
process.env.NODE_ENV !== "production" && (
|
|
250
|
-
function
|
|
251
|
-
let e = I.useContext(
|
|
236
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/portal/PreviewCardPortalContext.mjs
|
|
237
|
+
var J = /*#__PURE__*/ I.createContext(void 0);
|
|
238
|
+
process.env.NODE_ENV !== "production" && (J.displayName = "PreviewCardPortalContext");
|
|
239
|
+
function ye() {
|
|
240
|
+
let e = I.useContext(J);
|
|
252
241
|
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? i(48) : "Base UI: <PreviewCard.Portal> is missing.");
|
|
253
242
|
return e;
|
|
254
243
|
}
|
|
255
244
|
//#endregion
|
|
256
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
257
|
-
var
|
|
245
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/portal/PreviewCardPortal.mjs
|
|
246
|
+
var Y = /*#__PURE__*/ I.forwardRef(function(e, t) {
|
|
258
247
|
let { keepMounted: n = !1, ...r } = e;
|
|
259
|
-
return
|
|
248
|
+
return G().useState("mounted") || n ? /*#__PURE__*/ L(J.Provider, {
|
|
260
249
|
value: n,
|
|
261
|
-
children: /*#__PURE__*/ L(
|
|
250
|
+
children: /*#__PURE__*/ L(ce, {
|
|
262
251
|
ref: t,
|
|
263
252
|
...r
|
|
264
253
|
})
|
|
265
254
|
}) : null;
|
|
266
255
|
});
|
|
267
|
-
process.env.NODE_ENV !== "production" && (
|
|
256
|
+
process.env.NODE_ENV !== "production" && (Y.displayName = "PreviewCardPortal");
|
|
268
257
|
//#endregion
|
|
269
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
270
|
-
var
|
|
271
|
-
let { render: a, className:
|
|
258
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/trigger/PreviewCardTrigger.mjs
|
|
259
|
+
var X = O(function(t, n) {
|
|
260
|
+
let { render: a, className: s, delay: c, closeDelay: l, id: u, payload: d, handle: f, style: p, ...m } = t, h = G(!0), g = f?.store ?? h;
|
|
272
261
|
if (!g) throw Error(process.env.NODE_ENV === "production" ? i(89) : "Base UI: <PreviewCard.Trigger> must be either used within a <PreviewCard.Root> component or provided with a handle.");
|
|
273
|
-
let
|
|
262
|
+
let v = o(u), y = g.useState("isTriggerActive", v), b = g.useState("isOpenedByTrigger", v), x = g.useState("floatingRootContext"), S = g.context.inlineRectCoordsRef, C = I.useRef(null), w = c ?? 600, T = l ?? 300, { registerTrigger: D, isMountedByThisTrigger: O } = E(v, C, g, { payload: d });
|
|
274
263
|
e(() => {
|
|
275
|
-
O && (g.context.closeDelayRef.current =
|
|
264
|
+
O && (g.context.closeDelayRef.current = T);
|
|
276
265
|
}, [
|
|
277
266
|
g,
|
|
278
267
|
O,
|
|
279
|
-
|
|
268
|
+
T
|
|
280
269
|
]);
|
|
281
|
-
let k =
|
|
270
|
+
let k = N(x, {
|
|
282
271
|
mouseOnly: !0,
|
|
283
272
|
move: !1,
|
|
284
|
-
handleClose:
|
|
273
|
+
handleClose: ee(),
|
|
285
274
|
delay: () => ({
|
|
286
|
-
open:
|
|
287
|
-
close:
|
|
275
|
+
open: w,
|
|
276
|
+
close: T
|
|
288
277
|
}),
|
|
289
278
|
triggerElementRef: C,
|
|
290
|
-
isActiveTrigger:
|
|
279
|
+
isActiveTrigger: y,
|
|
291
280
|
isClosing: () => g.select("transitionStatus") === "ending"
|
|
292
|
-
}), A =
|
|
281
|
+
}), A = se(x, { delay: w }), j = { open: b }, M = g.useState("triggerProps", O), P = H(S, b);
|
|
293
282
|
return r("a", t, {
|
|
294
283
|
state: j,
|
|
295
284
|
ref: [
|
|
@@ -301,94 +290,94 @@ var Y = _(function(t, n) {
|
|
|
301
290
|
k,
|
|
302
291
|
A.reference,
|
|
303
292
|
M,
|
|
304
|
-
|
|
305
|
-
{ id:
|
|
293
|
+
P,
|
|
294
|
+
{ id: v },
|
|
306
295
|
m
|
|
307
296
|
],
|
|
308
|
-
stateAttributesMapping:
|
|
297
|
+
stateAttributesMapping: _
|
|
309
298
|
});
|
|
310
299
|
});
|
|
311
|
-
process.env.NODE_ENV !== "production" && (
|
|
300
|
+
process.env.NODE_ENV !== "production" && (X.displayName = "PreviewCardTrigger");
|
|
312
301
|
//#endregion
|
|
313
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
314
|
-
var
|
|
315
|
-
process.env.NODE_ENV !== "production" && (
|
|
316
|
-
function
|
|
317
|
-
let e = I.useContext(
|
|
302
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/positioner/PreviewCardPositionerContext.mjs
|
|
303
|
+
var Z = /*#__PURE__*/ I.createContext(void 0);
|
|
304
|
+
process.env.NODE_ENV !== "production" && (Z.displayName = "PreviewCardPositionerContext");
|
|
305
|
+
function be() {
|
|
306
|
+
let e = I.useContext(Z);
|
|
318
307
|
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? i(49) : "Base UI: <PreviewCard.Popup> and <PreviewCard.Arrow> must be used within the <PreviewCard.Positioner> component");
|
|
319
308
|
return e;
|
|
320
309
|
}
|
|
321
310
|
//#endregion
|
|
322
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
311
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/positioner/PreviewCardPositioner.mjs
|
|
323
312
|
var Q = /*#__PURE__*/ I.forwardRef(function(t, n) {
|
|
324
|
-
let { render: r, className: i, anchor: a, positionMethod: o = "absolute", side: s = "bottom", align: c = "center", sideOffset: l = 0, alignOffset: u = 0, collisionBoundary: d = "clipping-ancestors", collisionPadding: f = 5, arrowPadding:
|
|
313
|
+
let { render: r, className: i, anchor: a, positionMethod: o = "absolute", side: s = "bottom", align: c = "center", sideOffset: l = 0, alignOffset: u = 0, collisionBoundary: d = "clipping-ancestors", collisionPadding: f = 5, arrowPadding: m = 5, sticky: g = !1, disableAnchorTracking: _ = !1, collisionAvoidance: v = k, style: y, ...b } = t, x = G(), S = ye(), C = h(), w = x.useState("open"), T = x.useState("mounted"), E = x.useState("floatingRootContext"), D = x.useState("instantType"), O = x.useState("transitionStatus"), A = x.useState("hasViewport"), j = x.context.inlineRectCoordsRef, M = re({
|
|
325
314
|
anchor: a,
|
|
326
|
-
floatingRootContext:
|
|
315
|
+
floatingRootContext: E,
|
|
327
316
|
positionMethod: o,
|
|
328
|
-
mounted:
|
|
317
|
+
mounted: T,
|
|
329
318
|
side: s,
|
|
330
319
|
sideOffset: l,
|
|
331
320
|
align: c,
|
|
332
321
|
alignOffset: u,
|
|
333
|
-
arrowPadding:
|
|
322
|
+
arrowPadding: m,
|
|
334
323
|
collisionBoundary: d,
|
|
335
324
|
collisionPadding: f,
|
|
336
|
-
sticky:
|
|
325
|
+
sticky: g,
|
|
337
326
|
disableAnchorTracking: _,
|
|
338
|
-
keepMounted:
|
|
339
|
-
nodeId:
|
|
340
|
-
collisionAvoidance:
|
|
341
|
-
adaptiveOrigin: A ?
|
|
342
|
-
inline:
|
|
327
|
+
keepMounted: S,
|
|
328
|
+
nodeId: C,
|
|
329
|
+
collisionAvoidance: v,
|
|
330
|
+
adaptiveOrigin: A ? te : void 0,
|
|
331
|
+
inline: me(j)
|
|
343
332
|
}), N = M.update;
|
|
344
333
|
e(() => {
|
|
345
|
-
|
|
334
|
+
w && T && N();
|
|
346
335
|
}, [
|
|
336
|
+
w,
|
|
347
337
|
T,
|
|
348
|
-
E,
|
|
349
338
|
N
|
|
350
339
|
]);
|
|
351
340
|
let P = ie(t, {
|
|
352
|
-
open:
|
|
341
|
+
open: w,
|
|
353
342
|
side: M.side,
|
|
354
343
|
align: M.align,
|
|
355
344
|
anchorHidden: M.anchorHidden,
|
|
356
|
-
instant:
|
|
345
|
+
instant: D
|
|
357
346
|
}, {
|
|
358
347
|
styles: M.positionerStyles,
|
|
359
|
-
transitionStatus:
|
|
360
|
-
props:
|
|
361
|
-
refs: [n,
|
|
362
|
-
hidden: !
|
|
363
|
-
inert: !
|
|
348
|
+
transitionStatus: O,
|
|
349
|
+
props: b,
|
|
350
|
+
refs: [n, x.useStateSetter("positionerElement")],
|
|
351
|
+
hidden: !T,
|
|
352
|
+
inert: !w
|
|
364
353
|
});
|
|
365
|
-
return /*#__PURE__*/ L(
|
|
354
|
+
return /*#__PURE__*/ L(Z.Provider, {
|
|
366
355
|
value: M,
|
|
367
|
-
children: /*#__PURE__*/ L(
|
|
368
|
-
id:
|
|
356
|
+
children: /*#__PURE__*/ L(p, {
|
|
357
|
+
id: C,
|
|
369
358
|
children: P
|
|
370
359
|
})
|
|
371
360
|
});
|
|
372
361
|
});
|
|
373
362
|
process.env.NODE_ENV !== "production" && (Q.displayName = "PreviewCardPositioner");
|
|
374
363
|
//#endregion
|
|
375
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
376
|
-
var
|
|
377
|
-
...
|
|
378
|
-
...
|
|
364
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/preview-card/popup/PreviewCardPopup.mjs
|
|
365
|
+
var xe = {
|
|
366
|
+
...w,
|
|
367
|
+
...l
|
|
379
368
|
}, $ = /*#__PURE__*/ I.forwardRef(function(e, t) {
|
|
380
|
-
let { className: n, render: i, style: o, ...s } = e, c =
|
|
381
|
-
return
|
|
369
|
+
let { className: n, render: i, style: o, ...s } = e, c = G(), { side: l, align: d } = be(), f = c.useState("open"), p = c.useState("instantType"), m = c.useState("transitionStatus"), h = c.useState("popupProps"), g = c.useState("floatingRootContext");
|
|
370
|
+
return u({
|
|
382
371
|
open: f,
|
|
383
372
|
ref: c.context.popupRef,
|
|
384
373
|
onComplete() {
|
|
385
374
|
f && c.context.onOpenChangeComplete?.(!0);
|
|
386
375
|
}
|
|
387
|
-
}),
|
|
376
|
+
}), P(g, { closeDelay: a(() => c.context.closeDelayRef.current) }), r("div", e, {
|
|
388
377
|
state: {
|
|
389
378
|
open: f,
|
|
390
379
|
side: l,
|
|
391
|
-
align:
|
|
380
|
+
align: d,
|
|
392
381
|
instant: p,
|
|
393
382
|
transitionStatus: m
|
|
394
383
|
},
|
|
@@ -399,29 +388,29 @@ var Ce = {
|
|
|
399
388
|
],
|
|
400
389
|
props: [
|
|
401
390
|
h,
|
|
402
|
-
|
|
391
|
+
ne(m),
|
|
403
392
|
s
|
|
404
393
|
],
|
|
405
|
-
stateAttributesMapping:
|
|
394
|
+
stateAttributesMapping: xe
|
|
406
395
|
});
|
|
407
396
|
});
|
|
408
397
|
process.env.NODE_ENV !== "production" && ($.displayName = "PreviewCardPopup");
|
|
409
398
|
//#endregion
|
|
410
399
|
//#region lib/components/ui/atoms/hover-card.tsx
|
|
411
|
-
function
|
|
412
|
-
return /* @__PURE__ */ L(
|
|
400
|
+
function Se({ ...e }) {
|
|
401
|
+
return /* @__PURE__ */ L(q, {
|
|
413
402
|
"data-slot": "hover-card",
|
|
414
403
|
...e
|
|
415
404
|
});
|
|
416
405
|
}
|
|
417
|
-
function
|
|
418
|
-
return /* @__PURE__ */ L(
|
|
406
|
+
function Ce({ ...e }) {
|
|
407
|
+
return /* @__PURE__ */ L(X, {
|
|
419
408
|
"data-slot": "hover-card-trigger",
|
|
420
409
|
...e
|
|
421
410
|
});
|
|
422
411
|
}
|
|
423
|
-
function
|
|
424
|
-
return /* @__PURE__ */ L(
|
|
412
|
+
function we({ className: e, side: t = "bottom", sideOffset: n = 4, align: r = "center", alignOffset: i = 4, ...a }) {
|
|
413
|
+
return /* @__PURE__ */ L(Y, {
|
|
425
414
|
"data-slot": "hover-card-portal",
|
|
426
415
|
children: /* @__PURE__ */ L(Q, {
|
|
427
416
|
align: r,
|
|
@@ -430,7 +419,7 @@ function Ee({ className: e, side: t = "bottom", sideOffset: n = 4, align: r = "c
|
|
|
430
419
|
side: t,
|
|
431
420
|
sideOffset: n,
|
|
432
421
|
children: /* @__PURE__ */ L($, {
|
|
433
|
-
className:
|
|
422
|
+
className: f("data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 z-50 w-64 origin-(--transform-origin) rounded-lg bg-popover p-4 text-popover-foreground text-sm shadow-md outline-hidden ring-1 ring-foreground/10 duration-100 data-closed:animate-out data-open:animate-in", e),
|
|
434
423
|
"data-slot": "hover-card-content",
|
|
435
424
|
...a
|
|
436
425
|
})
|
|
@@ -438,4 +427,4 @@ function Ee({ className: e, side: t = "bottom", sideOffset: n = 4, align: r = "c
|
|
|
438
427
|
});
|
|
439
428
|
}
|
|
440
429
|
//#endregion
|
|
441
|
-
export {
|
|
430
|
+
export { we as n, Ce as r, Se as t };
|