@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
package/dist/tooltip-34vRSwJG.js
DELETED
|
@@ -1,669 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-CKOv1bV_.js";
|
|
3
|
-
import { r as t, t as n, u as r } from "./useRenderElement-CmuWsiNa.js";
|
|
4
|
-
import { t as i } from "./useStableCallback-CqEVb76s.js";
|
|
5
|
-
import { S as a, a as o, g as s, l as c, t as l, x as u } from "./createBaseUIEventDetails-ChcQXp54.js";
|
|
6
|
-
import { t as d } from "./useBaseUiId-DOm5ACje.js";
|
|
7
|
-
import { a as f, t as p } from "./useOpenChangeComplete-DjMFUwhi.js";
|
|
8
|
-
import { d as m, l as h } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
9
|
-
import { n as g, r as _ } from "./shadowDom-C-4Ejp9R.js";
|
|
10
|
-
import { C as v, L as y, S as b, V as x, a as S, c as C, d as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, u as ee, v as M, w as te, x as N } from "./popupStateMapping-PdIQcWEz.js";
|
|
11
|
-
import { n as ne } from "./event-DWcDp5kt.js";
|
|
12
|
-
import { t as P } from "./addEventListener-B4Gs94GY.js";
|
|
13
|
-
import { t as re } from "./useValueAsRef-CCU3eUYq.js";
|
|
14
|
-
import { cn as ie } from "./lib/utils.js";
|
|
15
|
-
import { n as ae, t as F } from "./useTimeout-B1x6NSZb.js";
|
|
16
|
-
import { a as I, i as oe, n as se, r as L, t as ce } from "./safePolygon-CscU2iWL.js";
|
|
17
|
-
import { i as le, n as R, r as z, t as B } from "./usePositioner-D65mUNMo.js";
|
|
18
|
-
import { n as V, r as H, t as U } from "./store-Bdrhndby.js";
|
|
19
|
-
import { t as ue } from "./useFocus-DzHCrvH6.js";
|
|
20
|
-
import { t as W } from "./FloatingPortalLite-B1JyBlt0.js";
|
|
21
|
-
import * as G from "react";
|
|
22
|
-
import { jsx as K, jsxs as q } from "react/jsx-runtime";
|
|
23
|
-
import * as de from "react-dom";
|
|
24
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingDelayGroup.js
|
|
25
|
-
var J = /*#__PURE__*/ G.createContext({
|
|
26
|
-
hasProvider: !1,
|
|
27
|
-
timeoutMs: 0,
|
|
28
|
-
delayRef: { current: 0 },
|
|
29
|
-
initialDelayRef: { current: 0 },
|
|
30
|
-
timeout: new F(),
|
|
31
|
-
currentIdRef: { current: null },
|
|
32
|
-
currentContextRef: { current: null }
|
|
33
|
-
});
|
|
34
|
-
process.env.NODE_ENV !== "production" && (J.displayName = "FloatingDelayGroupContext");
|
|
35
|
-
function fe(e) {
|
|
36
|
-
let { children: t, delay: n, timeoutMs: r = 0 } = e, i = G.useRef(n), a = G.useRef(n), o = G.useRef(null), s = G.useRef(null), c = ae();
|
|
37
|
-
return /*#__PURE__*/ K(J.Provider, {
|
|
38
|
-
value: G.useMemo(() => ({
|
|
39
|
-
hasProvider: !0,
|
|
40
|
-
delayRef: i,
|
|
41
|
-
initialDelayRef: a,
|
|
42
|
-
currentIdRef: o,
|
|
43
|
-
timeoutMs: r,
|
|
44
|
-
currentContextRef: s,
|
|
45
|
-
timeout: c
|
|
46
|
-
}), [r, c]),
|
|
47
|
-
children: t
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function pe(t, n = { open: !1 }) {
|
|
51
|
-
let { open: r } = n, i = "rootStore" in t ? t.rootStore : t, a = i.useState("floatingId"), { currentIdRef: o, delayRef: c, timeoutMs: u, initialDelayRef: d, currentContextRef: f, hasProvider: p, timeout: m } = G.useContext(J), [h, g] = G.useState(!1);
|
|
52
|
-
return e(() => {
|
|
53
|
-
function e() {
|
|
54
|
-
g(!1), f.current?.setIsInstantPhase(!1), o.current = null, f.current = null, c.current = d.current;
|
|
55
|
-
}
|
|
56
|
-
if (o.current && !r && o.current === a) {
|
|
57
|
-
if (g(!1), u) {
|
|
58
|
-
let t = a;
|
|
59
|
-
return m.start(u, () => {
|
|
60
|
-
i.select("open") || o.current && o.current !== t || e();
|
|
61
|
-
}), () => {
|
|
62
|
-
m.clear();
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
e();
|
|
66
|
-
}
|
|
67
|
-
}, [
|
|
68
|
-
r,
|
|
69
|
-
a,
|
|
70
|
-
o,
|
|
71
|
-
c,
|
|
72
|
-
u,
|
|
73
|
-
d,
|
|
74
|
-
f,
|
|
75
|
-
m,
|
|
76
|
-
i
|
|
77
|
-
]), e(() => {
|
|
78
|
-
if (!r) return;
|
|
79
|
-
let e = f.current, t = o.current;
|
|
80
|
-
m.clear(), f.current = {
|
|
81
|
-
onOpenChange: i.setOpen,
|
|
82
|
-
setIsInstantPhase: g
|
|
83
|
-
}, o.current = a, c.current = {
|
|
84
|
-
open: 0,
|
|
85
|
-
close: I(d.current, "close")
|
|
86
|
-
}, t !== null && t !== a ? (g(!0), e?.setIsInstantPhase(!0), e?.onOpenChange(!1, l(s))) : (g(!1), e?.setIsInstantPhase(!1));
|
|
87
|
-
}, [
|
|
88
|
-
r,
|
|
89
|
-
a,
|
|
90
|
-
i,
|
|
91
|
-
o,
|
|
92
|
-
c,
|
|
93
|
-
d,
|
|
94
|
-
f,
|
|
95
|
-
m
|
|
96
|
-
]), e(() => () => {
|
|
97
|
-
f.current = null;
|
|
98
|
-
}, [f]), G.useMemo(() => ({
|
|
99
|
-
hasProvider: p,
|
|
100
|
-
delayRef: c,
|
|
101
|
-
isInstantPhase: h
|
|
102
|
-
}), [
|
|
103
|
-
p,
|
|
104
|
-
c,
|
|
105
|
-
h
|
|
106
|
-
]);
|
|
107
|
-
}
|
|
108
|
-
//#endregion
|
|
109
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useClientPoint.js
|
|
110
|
-
function me(e, t) {
|
|
111
|
-
let n = null, r = null, i = !1;
|
|
112
|
-
return {
|
|
113
|
-
contextElement: e || void 0,
|
|
114
|
-
getBoundingClientRect() {
|
|
115
|
-
let a = e?.getBoundingClientRect() || {
|
|
116
|
-
width: 0,
|
|
117
|
-
height: 0,
|
|
118
|
-
x: 0,
|
|
119
|
-
y: 0
|
|
120
|
-
}, o = t.axis === "x" || t.axis === "both", s = t.axis === "y" || t.axis === "both", c = ["mouseenter", "mousemove"].includes(t.dataRef.current.openEvent?.type || "") && t.pointerType !== "touch", l = a.width, u = a.height, d = a.x, f = a.y;
|
|
121
|
-
return n == null && t.x && o && (n = a.x - t.x), r == null && t.y && s && (r = a.y - t.y), d -= n || 0, f -= r || 0, l = 0, u = 0, !i || c ? (l = t.axis === "y" ? a.width : 0, u = t.axis === "x" ? a.height : 0, d = o && t.x != null ? t.x : d, f = s && t.y != null ? t.y : f) : i && !c && (u = t.axis === "x" ? a.height : u, l = t.axis === "y" ? a.width : l), i = !0, {
|
|
122
|
-
width: l,
|
|
123
|
-
height: u,
|
|
124
|
-
x: d,
|
|
125
|
-
y: f,
|
|
126
|
-
top: f,
|
|
127
|
-
right: d + l,
|
|
128
|
-
bottom: f + u,
|
|
129
|
-
left: d
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function he(e) {
|
|
135
|
-
return e != null && e.clientX != null;
|
|
136
|
-
}
|
|
137
|
-
function ge(e, t = {}) {
|
|
138
|
-
let { enabled: n = !0, axis: r = "both" } = t, a = "rootStore" in e ? e.rootStore : e, o = a.useState("open"), s = a.useState("floatingElement"), c = a.useState("domReferenceElement"), l = a.context.dataRef, u = G.useRef(!1), d = G.useRef(null), [f, p] = G.useState(), [m, v] = G.useState([]), y = i((e) => {
|
|
139
|
-
a.set("positionReference", e);
|
|
140
|
-
}), b = i((e, t, n) => {
|
|
141
|
-
u.current || l.current.openEvent && !he(l.current.openEvent) || a.set("positionReference", me(n ?? c, {
|
|
142
|
-
x: e,
|
|
143
|
-
y: t,
|
|
144
|
-
axis: r,
|
|
145
|
-
dataRef: l,
|
|
146
|
-
pointerType: f
|
|
147
|
-
}));
|
|
148
|
-
}), x = i((e) => {
|
|
149
|
-
o ? d.current || (b(e.clientX, e.clientY, e.currentTarget), v([])) : b(e.clientX, e.clientY, e.currentTarget);
|
|
150
|
-
}), S = ne(f) ? s : o;
|
|
151
|
-
G.useEffect(() => {
|
|
152
|
-
if (!n) {
|
|
153
|
-
y(c);
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
if (!S) return;
|
|
157
|
-
function e() {
|
|
158
|
-
d.current?.(), d.current = null;
|
|
159
|
-
}
|
|
160
|
-
let t = h(s);
|
|
161
|
-
function r(t) {
|
|
162
|
-
g(s, _(t)) ? e() : b(t.clientX, t.clientY);
|
|
163
|
-
}
|
|
164
|
-
return !l.current.openEvent || he(l.current.openEvent) ? d.current = P(t, "mousemove", r) : y(c), e;
|
|
165
|
-
}, [
|
|
166
|
-
S,
|
|
167
|
-
n,
|
|
168
|
-
s,
|
|
169
|
-
l,
|
|
170
|
-
c,
|
|
171
|
-
a,
|
|
172
|
-
b,
|
|
173
|
-
y,
|
|
174
|
-
m
|
|
175
|
-
]), G.useEffect(() => () => {
|
|
176
|
-
a.set("positionReference", null);
|
|
177
|
-
}, [a]), G.useEffect(() => {
|
|
178
|
-
n && !s && (u.current = !1);
|
|
179
|
-
}, [n, s]), G.useEffect(() => {
|
|
180
|
-
!n && o && (u.current = !0);
|
|
181
|
-
}, [n, o]);
|
|
182
|
-
let C = G.useMemo(() => {
|
|
183
|
-
function e(e) {
|
|
184
|
-
p(e.pointerType);
|
|
185
|
-
}
|
|
186
|
-
return {
|
|
187
|
-
onPointerDown: e,
|
|
188
|
-
onPointerEnter: e,
|
|
189
|
-
onMouseMove: x,
|
|
190
|
-
onMouseEnter: x
|
|
191
|
-
};
|
|
192
|
-
}, [x]);
|
|
193
|
-
return G.useMemo(() => n ? {
|
|
194
|
-
reference: C,
|
|
195
|
-
trigger: C
|
|
196
|
-
} : {}, [n, C]);
|
|
197
|
-
}
|
|
198
|
-
//#endregion
|
|
199
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/root/TooltipRootContext.js
|
|
200
|
-
var Y = /*#__PURE__*/ G.createContext(void 0);
|
|
201
|
-
process.env.NODE_ENV !== "production" && (Y.displayName = "TooltipRootContext");
|
|
202
|
-
function X(e) {
|
|
203
|
-
let t = G.useContext(Y);
|
|
204
|
-
if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? r(72) : "Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.");
|
|
205
|
-
return t;
|
|
206
|
-
}
|
|
207
|
-
//#endregion
|
|
208
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/store/TooltipStore.js
|
|
209
|
-
var _e = {
|
|
210
|
-
...H,
|
|
211
|
-
disabled: v((e) => e.disabled),
|
|
212
|
-
instantType: v((e) => e.instantType),
|
|
213
|
-
isInstantPhase: v((e) => e.isInstantPhase),
|
|
214
|
-
trackCursorAxis: v((e) => e.trackCursorAxis),
|
|
215
|
-
disableHoverablePopup: v((e) => e.disableHoverablePopup),
|
|
216
|
-
lastOpenChangeReason: v((e) => e.openChangeReason),
|
|
217
|
-
closeOnClick: v((e) => e.closeOnClick),
|
|
218
|
-
closeDelay: v((e) => e.closeDelay),
|
|
219
|
-
hasViewport: v((e) => e.hasViewport)
|
|
220
|
-
}, ve = class e extends M {
|
|
221
|
-
constructor(e, t, n = !1) {
|
|
222
|
-
let r = new O(), i = {
|
|
223
|
-
...ye(),
|
|
224
|
-
...e
|
|
225
|
-
};
|
|
226
|
-
i.floatingRootContext = V(r, t, n), super(i, {
|
|
227
|
-
popupRef: /*#__PURE__*/ G.createRef(),
|
|
228
|
-
onOpenChange: void 0,
|
|
229
|
-
onOpenChangeComplete: void 0,
|
|
230
|
-
triggerElements: r
|
|
231
|
-
}, _e);
|
|
232
|
-
}
|
|
233
|
-
setOpen = (e, t) => {
|
|
234
|
-
let n = t.reason, r = n === u, i = e && n === "trigger-focus", a = !e && (n === "trigger-press" || n === "escape-key");
|
|
235
|
-
if (t.preventUnmountOnClose = () => {
|
|
236
|
-
this.set("preventUnmountingOnClose", !0);
|
|
237
|
-
}, this.context.onOpenChange?.(e, t), t.isCanceled) return;
|
|
238
|
-
this.state.floatingRootContext.dispatchOpenChange(e, t);
|
|
239
|
-
let o = () => {
|
|
240
|
-
let r = {
|
|
241
|
-
open: e,
|
|
242
|
-
openChangeReason: n
|
|
243
|
-
};
|
|
244
|
-
i ? r.instantType = "focus" : a ? r.instantType = "dismiss" : n === "trigger-hover" && (r.instantType = void 0), C(r, e, t.trigger), this.update(r);
|
|
245
|
-
};
|
|
246
|
-
r ? de.flushSync(o) : o();
|
|
247
|
-
};
|
|
248
|
-
cancelPendingOpen(e) {
|
|
249
|
-
this.state.floatingRootContext.dispatchOpenChange(!1, l(a, e));
|
|
250
|
-
}
|
|
251
|
-
static useStore(t, n) {
|
|
252
|
-
return k(t, (t, r) => new e(n, t, r)).store;
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
function ye() {
|
|
256
|
-
return {
|
|
257
|
-
...U(),
|
|
258
|
-
disabled: !1,
|
|
259
|
-
instantType: void 0,
|
|
260
|
-
isInstantPhase: !1,
|
|
261
|
-
trackCursorAxis: "none",
|
|
262
|
-
disableHoverablePopup: !1,
|
|
263
|
-
openChangeReason: null,
|
|
264
|
-
closeOnClick: !0,
|
|
265
|
-
closeDelay: 0,
|
|
266
|
-
hasViewport: !1
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
//#endregion
|
|
270
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/root/TooltipRoot.js
|
|
271
|
-
var be = N(function(t) {
|
|
272
|
-
let { disabled: n = !1, defaultOpen: r = !1, open: i, disableHoverablePopup: a = !1, trackCursorAxis: s = "none", actionsRef: u, onOpenChange: d, onOpenChangeComplete: f, handle: p, triggerId: m, defaultTriggerId: h = null, children: g } = t, _ = ve.useStore(p?.store, {
|
|
273
|
-
open: r,
|
|
274
|
-
openProp: i,
|
|
275
|
-
activeTriggerId: h,
|
|
276
|
-
triggerIdProp: m
|
|
277
|
-
});
|
|
278
|
-
x(() => {
|
|
279
|
-
i === void 0 && _.state.open === !1 && r === !0 && _.update({
|
|
280
|
-
open: !0,
|
|
281
|
-
activeTriggerId: h
|
|
282
|
-
});
|
|
283
|
-
}), _.useControlledProp("openProp", i), _.useControlledProp("triggerIdProp", m), _.useContextCallback("onOpenChange", d), _.useContextCallback("onOpenChangeComplete", f);
|
|
284
|
-
let v = _.useState("open"), y = !n && v, b = _.useState("activeTriggerId"), S = _.useState("mounted"), C = _.useState("payload");
|
|
285
|
-
_.useSyncedValues({
|
|
286
|
-
trackCursorAxis: s,
|
|
287
|
-
disableHoverablePopup: a
|
|
288
|
-
}), _.useSyncedValue("disabled", n), T(_);
|
|
289
|
-
let { forceUnmount: w, transitionStatus: E } = ee(y, _), D = _.useState("isInstantPhase"), O = _.useState("instantType"), k = _.useState("lastOpenChangeReason"), A = G.useRef(null);
|
|
290
|
-
e(() => {
|
|
291
|
-
v && n && _.setOpen(!1, l(o));
|
|
292
|
-
}, [
|
|
293
|
-
v,
|
|
294
|
-
n,
|
|
295
|
-
_
|
|
296
|
-
]), e(() => {
|
|
297
|
-
E === "ending" && k === "none" || E !== "ending" && D ? (O !== "delay" && (A.current = O), _.set("instantType", "delay")) : A.current !== null && (_.set("instantType", A.current), A.current = null);
|
|
298
|
-
}, [
|
|
299
|
-
E,
|
|
300
|
-
D,
|
|
301
|
-
k,
|
|
302
|
-
O,
|
|
303
|
-
_
|
|
304
|
-
]), e(() => {
|
|
305
|
-
y && (b ?? _.set("payload", void 0));
|
|
306
|
-
}, [
|
|
307
|
-
_,
|
|
308
|
-
b,
|
|
309
|
-
y
|
|
310
|
-
]);
|
|
311
|
-
let j = G.useCallback(() => {
|
|
312
|
-
_.setOpen(!1, l(c));
|
|
313
|
-
}, [_]);
|
|
314
|
-
G.useImperativeHandle(u, () => ({
|
|
315
|
-
unmount: w,
|
|
316
|
-
close: j
|
|
317
|
-
}), [w, j]);
|
|
318
|
-
let M = y || S || !n && s !== "none";
|
|
319
|
-
return /*#__PURE__*/ q(Y.Provider, {
|
|
320
|
-
value: _,
|
|
321
|
-
children: [M && /*#__PURE__*/ K(xe, {
|
|
322
|
-
store: _,
|
|
323
|
-
disabled: n,
|
|
324
|
-
trackCursorAxis: s
|
|
325
|
-
}), typeof g == "function" ? g({ payload: C }) : g]
|
|
326
|
-
});
|
|
327
|
-
});
|
|
328
|
-
process.env.NODE_ENV !== "production" && (be.displayName = "TooltipRoot");
|
|
329
|
-
function xe({ store: e, disabled: n, trackCursorAxis: r }) {
|
|
330
|
-
let i = e.useState("floatingRootContext"), a = te(i, {
|
|
331
|
-
enabled: !n,
|
|
332
|
-
referencePress: () => e.select("closeOnClick")
|
|
333
|
-
}), o = ge(i, {
|
|
334
|
-
enabled: !n && r !== "none",
|
|
335
|
-
axis: r === "none" ? void 0 : r
|
|
336
|
-
});
|
|
337
|
-
return w(e, {
|
|
338
|
-
activeTriggerProps: G.useMemo(() => t(o.reference, a.reference), [o.reference, a.reference]),
|
|
339
|
-
inactiveTriggerProps: G.useMemo(() => t(o.trigger, a.trigger), [o.trigger, a.trigger]),
|
|
340
|
-
popupProps: G.useMemo(() => t(j, o.floating, a.floating), [o.floating, a.floating])
|
|
341
|
-
}), null;
|
|
342
|
-
}
|
|
343
|
-
//#endregion
|
|
344
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/provider/TooltipProviderContext.js
|
|
345
|
-
var Z = /*#__PURE__*/ G.createContext(void 0);
|
|
346
|
-
process.env.NODE_ENV !== "production" && (Z.displayName = "TooltipProviderContext");
|
|
347
|
-
function Se() {
|
|
348
|
-
return G.useContext(Z);
|
|
349
|
-
}
|
|
350
|
-
//#endregion
|
|
351
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/trigger/TooltipTriggerDataAttributes.js
|
|
352
|
-
var Ce = function(e) {
|
|
353
|
-
return e[e.popupOpen = D.popupOpen] = "popupOpen", e.triggerDisabled = "data-trigger-disabled", e;
|
|
354
|
-
}({}), we = "data-base-ui-tooltip-trigger";
|
|
355
|
-
function Te(e) {
|
|
356
|
-
if ("composedPath" in e) {
|
|
357
|
-
let t = e.composedPath();
|
|
358
|
-
for (let e = 0; e < t.length; e += 1) {
|
|
359
|
-
let n = t[e];
|
|
360
|
-
if (m(n)) return n;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
let t = e.target;
|
|
364
|
-
return m(t) ? t : null;
|
|
365
|
-
}
|
|
366
|
-
function Ee(e) {
|
|
367
|
-
let t = e;
|
|
368
|
-
for (; t;) {
|
|
369
|
-
if (t.hasAttribute(we)) return t;
|
|
370
|
-
let e = t.parentElement;
|
|
371
|
-
if (e) {
|
|
372
|
-
t = e;
|
|
373
|
-
continue;
|
|
374
|
-
}
|
|
375
|
-
let n = t.getRootNode();
|
|
376
|
-
t = "host" in n && m(n.host) ? n.host : null;
|
|
377
|
-
}
|
|
378
|
-
return null;
|
|
379
|
-
}
|
|
380
|
-
var De = b(function(e, t) {
|
|
381
|
-
let { render: i, className: a, style: o, handle: s, payload: c, disabled: f, delay: p, closeOnClick: m = !0, closeDelay: h, id: _, ...v } = e, y = X(!0), b = s?.store ?? y;
|
|
382
|
-
if (!b) throw Error(process.env.NODE_ENV === "production" ? r(82) : "Base UI: <Tooltip.Trigger> must be either used within a <Tooltip.Root> component or provided with a handle.");
|
|
383
|
-
let x = d(_), C = b.useState("isTriggerActive", x), w = b.useState("isOpenedByTrigger", x), T = b.useState("floatingRootContext"), D = G.useRef(null), O = p ?? 600, k = h ?? 0, { registerTrigger: A, isMountedByThisTrigger: j } = E(x, D, b, {
|
|
384
|
-
payload: c,
|
|
385
|
-
closeOnClick: m,
|
|
386
|
-
closeDelay: k
|
|
387
|
-
}), ee = Se(), { delayRef: M, isInstantPhase: te, hasProvider: N } = pe(T, { open: w }), P = oe(T);
|
|
388
|
-
b.useSyncedValue("isInstantPhase", te);
|
|
389
|
-
let ie = b.useState("disabled"), F = f ?? ie, I = re(F), L = b.useState("trackCursorAxis"), le = b.useState("disableHoverablePopup"), R = G.useRef(!1), z = ae(), B = G.useRef(void 0);
|
|
390
|
-
function V() {
|
|
391
|
-
let e = ee?.delay, t = typeof M.current == "object" ? M.current.open : void 0, n = O;
|
|
392
|
-
return N && (n = t === 0 ? 0 : p ?? e ?? O), n;
|
|
393
|
-
}
|
|
394
|
-
function H(e) {
|
|
395
|
-
let t = D.current;
|
|
396
|
-
if (!t || !e) return !1;
|
|
397
|
-
let n = Ee(e);
|
|
398
|
-
return n !== null && n !== t && g(t, n);
|
|
399
|
-
}
|
|
400
|
-
function U(e) {
|
|
401
|
-
let t = H(e);
|
|
402
|
-
return R.current = t, t && (P.openChangeTimeout.clear(), P.restTimeout.clear(), P.restTimeoutPending = !1, z.clear()), t;
|
|
403
|
-
}
|
|
404
|
-
let W = se(T, {
|
|
405
|
-
enabled: !F,
|
|
406
|
-
mouseOnly: !0,
|
|
407
|
-
move: !1,
|
|
408
|
-
handleClose: !le && L !== "both" ? ce() : null,
|
|
409
|
-
restMs: V,
|
|
410
|
-
delay() {
|
|
411
|
-
let e = typeof M.current == "object" ? M.current.close : void 0, t = k;
|
|
412
|
-
return h == null && N && (t = e), { close: t };
|
|
413
|
-
},
|
|
414
|
-
triggerElementRef: D,
|
|
415
|
-
isActiveTrigger: C,
|
|
416
|
-
isClosing: () => b.select("transitionStatus") === "ending",
|
|
417
|
-
shouldOpen() {
|
|
418
|
-
return !R.current;
|
|
419
|
-
}
|
|
420
|
-
}), K = ue(T, { enabled: !F }).reference, q = (e) => {
|
|
421
|
-
let t = R.current, n = Te(e), r = U(n), i = D.current, a = i && n && g(i, n);
|
|
422
|
-
if (r && b.select("open") && b.select("lastOpenChangeReason") === "trigger-hover") {
|
|
423
|
-
b.setOpen(!1, l(u, e));
|
|
424
|
-
return;
|
|
425
|
-
}
|
|
426
|
-
if (t && !r && a && !I.current && !b.select("open") && i && ne(B.current)) {
|
|
427
|
-
let t = () => {
|
|
428
|
-
!R.current && !I.current && !b.select("open") && b.setOpen(!0, l(u, e, i));
|
|
429
|
-
}, n = V();
|
|
430
|
-
n === 0 ? (z.clear(), t()) : z.start(n, t);
|
|
431
|
-
}
|
|
432
|
-
}, de = b.useState("triggerProps", j);
|
|
433
|
-
return n("button", e, {
|
|
434
|
-
state: { open: w },
|
|
435
|
-
ref: [
|
|
436
|
-
t,
|
|
437
|
-
A,
|
|
438
|
-
D
|
|
439
|
-
],
|
|
440
|
-
props: [
|
|
441
|
-
W,
|
|
442
|
-
K,
|
|
443
|
-
j || L !== "none" ? de : void 0,
|
|
444
|
-
{
|
|
445
|
-
onMouseOver(e) {
|
|
446
|
-
q(e.nativeEvent);
|
|
447
|
-
},
|
|
448
|
-
onFocus(e) {
|
|
449
|
-
H(Te(e.nativeEvent)) && e.preventBaseUIHandler();
|
|
450
|
-
},
|
|
451
|
-
onMouseLeave() {
|
|
452
|
-
R.current = !1, z.clear(), B.current = void 0;
|
|
453
|
-
},
|
|
454
|
-
onPointerEnter(e) {
|
|
455
|
-
B.current = e.pointerType;
|
|
456
|
-
},
|
|
457
|
-
onPointerDown(e) {
|
|
458
|
-
B.current = e.pointerType, b.set("closeOnClick", m), m && !b.select("open") && b.cancelPendingOpen(e.nativeEvent);
|
|
459
|
-
},
|
|
460
|
-
onClick(e) {
|
|
461
|
-
m && !b.select("open") && b.cancelPendingOpen(e.nativeEvent);
|
|
462
|
-
},
|
|
463
|
-
id: x,
|
|
464
|
-
[Ce.triggerDisabled]: F ? "" : void 0,
|
|
465
|
-
[we]: F ? void 0 : ""
|
|
466
|
-
},
|
|
467
|
-
v
|
|
468
|
-
],
|
|
469
|
-
stateAttributesMapping: S
|
|
470
|
-
});
|
|
471
|
-
});
|
|
472
|
-
process.env.NODE_ENV !== "production" && (De.displayName = "TooltipTrigger");
|
|
473
|
-
//#endregion
|
|
474
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/portal/TooltipPortalContext.js
|
|
475
|
-
var Q = /*#__PURE__*/ G.createContext(void 0);
|
|
476
|
-
process.env.NODE_ENV !== "production" && (Q.displayName = "TooltipPortalContext");
|
|
477
|
-
function Oe() {
|
|
478
|
-
let e = G.useContext(Q);
|
|
479
|
-
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? r(70) : "Base UI: <Tooltip.Portal> is missing.");
|
|
480
|
-
return e;
|
|
481
|
-
}
|
|
482
|
-
//#endregion
|
|
483
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/portal/TooltipPortal.js
|
|
484
|
-
var ke = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
485
|
-
let { keepMounted: n = !1, ...r } = e;
|
|
486
|
-
return X().useState("mounted") || n ? /*#__PURE__*/ K(Q.Provider, {
|
|
487
|
-
value: n,
|
|
488
|
-
children: /*#__PURE__*/ K(W, {
|
|
489
|
-
ref: t,
|
|
490
|
-
...r
|
|
491
|
-
})
|
|
492
|
-
}) : null;
|
|
493
|
-
});
|
|
494
|
-
process.env.NODE_ENV !== "production" && (ke.displayName = "TooltipPortal");
|
|
495
|
-
//#endregion
|
|
496
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/positioner/TooltipPositionerContext.js
|
|
497
|
-
var $ = /*#__PURE__*/ G.createContext(void 0);
|
|
498
|
-
process.env.NODE_ENV !== "production" && ($.displayName = "TooltipPositionerContext");
|
|
499
|
-
function Ae() {
|
|
500
|
-
let e = G.useContext($);
|
|
501
|
-
if (e === void 0) throw Error(process.env.NODE_ENV === "production" ? r(71) : "Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.");
|
|
502
|
-
return e;
|
|
503
|
-
}
|
|
504
|
-
//#endregion
|
|
505
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/positioner/TooltipPositioner.js
|
|
506
|
-
var je = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
507
|
-
let { render: n, className: r, anchor: i, positionMethod: a = "absolute", side: o = "top", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d = 5, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m = !1, collisionAvoidance: h = y, style: g, ..._ } = e, v = X(), b = Oe(), x = v.useState("open"), S = v.useState("mounted"), C = v.useState("trackCursorAxis"), w = v.useState("disableHoverablePopup"), T = v.useState("floatingRootContext"), E = v.useState("instantType"), D = v.useState("transitionStatus"), O = z({
|
|
508
|
-
anchor: i,
|
|
509
|
-
positionMethod: a,
|
|
510
|
-
floatingRootContext: T,
|
|
511
|
-
mounted: S,
|
|
512
|
-
side: o,
|
|
513
|
-
sideOffset: c,
|
|
514
|
-
align: s,
|
|
515
|
-
alignOffset: l,
|
|
516
|
-
collisionBoundary: u,
|
|
517
|
-
collisionPadding: d,
|
|
518
|
-
sticky: p,
|
|
519
|
-
arrowPadding: f,
|
|
520
|
-
disableAnchorTracking: m,
|
|
521
|
-
keepMounted: b,
|
|
522
|
-
collisionAvoidance: h,
|
|
523
|
-
adaptiveOrigin: v.useState("hasViewport") ? le : void 0
|
|
524
|
-
}), k = B(e, G.useMemo(() => ({
|
|
525
|
-
open: x,
|
|
526
|
-
side: O.side,
|
|
527
|
-
align: O.align,
|
|
528
|
-
anchorHidden: O.anchorHidden,
|
|
529
|
-
instant: C === "none" ? E : "tracking-cursor"
|
|
530
|
-
}), [
|
|
531
|
-
x,
|
|
532
|
-
O.side,
|
|
533
|
-
O.align,
|
|
534
|
-
O.anchorHidden,
|
|
535
|
-
C,
|
|
536
|
-
E
|
|
537
|
-
]), {
|
|
538
|
-
styles: O.positionerStyles,
|
|
539
|
-
transitionStatus: D,
|
|
540
|
-
props: _,
|
|
541
|
-
refs: [t, v.useStateSetter("positionerElement")],
|
|
542
|
-
hidden: !S,
|
|
543
|
-
inert: !x || C === "both" || w
|
|
544
|
-
});
|
|
545
|
-
return /*#__PURE__*/ K($.Provider, {
|
|
546
|
-
value: O,
|
|
547
|
-
children: k
|
|
548
|
-
});
|
|
549
|
-
});
|
|
550
|
-
process.env.NODE_ENV !== "production" && (je.displayName = "TooltipPositioner");
|
|
551
|
-
//#endregion
|
|
552
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/popup/TooltipPopup.js
|
|
553
|
-
var Me = {
|
|
554
|
-
...A,
|
|
555
|
-
...f
|
|
556
|
-
}, Ne = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
557
|
-
let { render: r, className: i, style: a, ...o } = e, s = X(), { side: c, align: l } = Ae(), u = s.useState("open"), d = s.useState("instantType"), f = s.useState("transitionStatus"), m = s.useState("popupProps"), h = s.useState("floatingRootContext"), g = s.useState("disabled"), _ = s.useState("closeDelay");
|
|
558
|
-
p({
|
|
559
|
-
open: u,
|
|
560
|
-
ref: s.context.popupRef,
|
|
561
|
-
onComplete() {
|
|
562
|
-
u && s.context.onOpenChangeComplete?.(!0);
|
|
563
|
-
}
|
|
564
|
-
}), L(h, {
|
|
565
|
-
enabled: !g,
|
|
566
|
-
closeDelay: _
|
|
567
|
-
});
|
|
568
|
-
let v = s.useStateSetter("popupElement");
|
|
569
|
-
return n("div", e, {
|
|
570
|
-
state: {
|
|
571
|
-
open: u,
|
|
572
|
-
side: c,
|
|
573
|
-
align: l,
|
|
574
|
-
instant: d,
|
|
575
|
-
transitionStatus: f
|
|
576
|
-
},
|
|
577
|
-
ref: [
|
|
578
|
-
t,
|
|
579
|
-
s.context.popupRef,
|
|
580
|
-
v
|
|
581
|
-
],
|
|
582
|
-
props: [
|
|
583
|
-
m,
|
|
584
|
-
R(f),
|
|
585
|
-
o
|
|
586
|
-
],
|
|
587
|
-
stateAttributesMapping: Me
|
|
588
|
-
});
|
|
589
|
-
});
|
|
590
|
-
process.env.NODE_ENV !== "production" && (Ne.displayName = "TooltipPopup");
|
|
591
|
-
//#endregion
|
|
592
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/arrow/TooltipArrow.js
|
|
593
|
-
var Pe = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
594
|
-
let { render: r, className: i, style: a, ...o } = e, s = X(), { arrowRef: c, side: l, align: u, arrowUncentered: d, arrowStyles: f } = Ae();
|
|
595
|
-
return n("div", e, {
|
|
596
|
-
state: {
|
|
597
|
-
open: s.useState("open"),
|
|
598
|
-
side: l,
|
|
599
|
-
align: u,
|
|
600
|
-
uncentered: d,
|
|
601
|
-
instant: s.useState("instantType")
|
|
602
|
-
},
|
|
603
|
-
ref: [t, c],
|
|
604
|
-
props: [{
|
|
605
|
-
style: f,
|
|
606
|
-
"aria-hidden": !0
|
|
607
|
-
}, o],
|
|
608
|
-
stateAttributesMapping: A
|
|
609
|
-
});
|
|
610
|
-
});
|
|
611
|
-
process.env.NODE_ENV !== "production" && (Pe.displayName = "TooltipArrow");
|
|
612
|
-
//#endregion
|
|
613
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/tooltip/provider/TooltipProvider.js
|
|
614
|
-
var Fe = function(e) {
|
|
615
|
-
let { delay: t, closeDelay: n, timeout: r = 400 } = e, i = G.useMemo(() => ({
|
|
616
|
-
delay: t,
|
|
617
|
-
closeDelay: n
|
|
618
|
-
}), [t, n]), a = G.useMemo(() => ({
|
|
619
|
-
open: t,
|
|
620
|
-
close: n
|
|
621
|
-
}), [t, n]);
|
|
622
|
-
return /*#__PURE__*/ K(Z.Provider, {
|
|
623
|
-
value: i,
|
|
624
|
-
children: /*#__PURE__*/ K(fe, {
|
|
625
|
-
delay: a,
|
|
626
|
-
timeoutMs: r,
|
|
627
|
-
children: e.children
|
|
628
|
-
})
|
|
629
|
-
});
|
|
630
|
-
};
|
|
631
|
-
process.env.NODE_ENV !== "production" && (Fe.displayName = "TooltipProvider");
|
|
632
|
-
//#endregion
|
|
633
|
-
//#region lib/components/ui/atoms/tooltip.tsx
|
|
634
|
-
function Ie({ delay: e = 0, ...t }) {
|
|
635
|
-
return /* @__PURE__ */ K(Fe, {
|
|
636
|
-
"data-slot": "tooltip-provider",
|
|
637
|
-
delay: e,
|
|
638
|
-
...t
|
|
639
|
-
});
|
|
640
|
-
}
|
|
641
|
-
function Le({ ...e }) {
|
|
642
|
-
return /* @__PURE__ */ K(be, {
|
|
643
|
-
"data-slot": "tooltip",
|
|
644
|
-
...e
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
function Re({ ...e }) {
|
|
648
|
-
return /* @__PURE__ */ K(De, {
|
|
649
|
-
"data-slot": "tooltip-trigger",
|
|
650
|
-
...e
|
|
651
|
-
});
|
|
652
|
-
}
|
|
653
|
-
function ze({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: a, ...o }) {
|
|
654
|
-
return /* @__PURE__ */ K(ke, { children: /* @__PURE__ */ K(je, {
|
|
655
|
-
align: r,
|
|
656
|
-
alignOffset: i,
|
|
657
|
-
className: "isolate z-50",
|
|
658
|
-
side: t,
|
|
659
|
-
sideOffset: n,
|
|
660
|
-
children: /* @__PURE__ */ q(Ne, {
|
|
661
|
-
className: ie("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-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 overflow-visible rounded-md border border-foreground/10 bg-background px-3 py-1.5 text-foreground text-xs shadow-md has-data-[slot=kbd]:pr-1.5 data-[state=delayed-open]:animate-in data-closed:animate-out data-open:animate-in **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm dark:border-border", e),
|
|
662
|
-
"data-slot": "tooltip-content",
|
|
663
|
-
...o,
|
|
664
|
-
children: [a, /* @__PURE__ */ K(Pe, { className: "z-50 size-2.5 translate-y-[calc(-50%-1px)] rotate-45 rounded-[2px] border-foreground/10 bg-background fill-background data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-start]:top-1/2! data-[side=left]:top-1/2! data-[side=right]:top-1/2! data-[side=inline-start]:-right-1 data-[side=left]:-right-1 data-[side=top]:-bottom-2.5 data-[side=inline-end]:-left-1 data-[side=right]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:-translate-y-1/2 data-[side=right]:-translate-y-1/2 data-[side=bottom]:border-t data-[side=left]:border-t data-[side=left]:border-r data-[side=top]:border-r data-[side=right]:border-b data-[side=top]:border-b data-[side=bottom]:border-l data-[side=right]:border-l dark:border-border dark:bg-background dark:fill-background" })]
|
|
665
|
-
})
|
|
666
|
-
}) });
|
|
667
|
-
}
|
|
668
|
-
//#endregion
|
|
669
|
-
export { Re as i, ze as n, Ie as r, Le as t };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { n as e } from "./useIsoLayoutEffect-CKOv1bV_.js";
|
|
3
|
-
import * as t from "react";
|
|
4
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.2.9+f7941a290aa3d619/node_modules/@base-ui/utils/esm/useId.js
|
|
5
|
-
var n = 0;
|
|
6
|
-
function r(e, r = "mui") {
|
|
7
|
-
let [i, a] = t.useState(e), o = e || i;
|
|
8
|
-
return t.useEffect(() => {
|
|
9
|
-
i ?? (n += 1, a(`${r}-${n}`));
|
|
10
|
-
}, [i, r]), o;
|
|
11
|
-
}
|
|
12
|
-
var i = e.useId;
|
|
13
|
-
function a(e, t) {
|
|
14
|
-
if (i !== void 0) {
|
|
15
|
-
let n = i();
|
|
16
|
-
return e ?? (t ? `${t}-${n}` : n);
|
|
17
|
-
}
|
|
18
|
-
return r(e, t);
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/internals/useBaseUiId.js
|
|
22
|
-
function o(e) {
|
|
23
|
-
return a(e, "base-ui");
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { a as n, o as t };
|