@arcadeai/design-system 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-xodRxCJ6.js +9 -0
- package/dist/DialogTrigger-BRWKaMYv.js +370 -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-e0IaokaG.js} +2 -2
- package/dist/{LabelableContext-Q1Z-xUI9.js → LabelableContext-C6DIbcnY.js} +34 -18
- package/dist/{Separator-CgntgfMd.js → Separator-CJ3Gn6wf.js} +2 -2
- package/dist/{StickToBottom-CU0d65a_.js → StickToBottom-Bh9VDiPm.js} +3 -3
- package/dist/Toggle-waFXW8db.js +74 -0
- package/dist/{ToolbarRootContext-DVNA8Vkb.js → ToolbarRootContext-CDm74ob9.js} +2 -2
- package/dist/accordion-DimUia61.js +314 -0
- package/dist/{addEventListener-B4Gs94GY.js → addEventListener-BlQH_qk1.js} +1 -1
- package/dist/{alert-dialog-tBMDYzJ3.js → alert-dialog-BiDZwtP2.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 +1 -1
- 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-B-lhJ-Gz.js} +35 -36
- 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-CZViOGvt.js +273 -0
- package/dist/{clamp-DQAQAGkj.js → clamp-DV0oJUnl.js} +2 -2
- 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-DlF1q_cg.js} +14 -14
- package/dist/{command-ChimIUHM.js → command-DC-ESQ0C.js} +25 -25
- package/dist/components/index.js +147 -146
- 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.js +1 -1
- 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/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.js +104 -103
- 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/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 +4 -4
- package/dist/components/ui/index.js +147 -146
- package/dist/components/ui/molecules/chat-history-item.js +1 -1
- 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/index.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.js +4 -4
- package/dist/components/ui/molecules/mcp-server-picker/category-filter.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.js +2 -2
- 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.js +2 -2
- 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-search-band.js +1 -1
- 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/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/user-nav.js +3 -3
- package/dist/components/ui/organisms/mcp-selection-summary-bar.js +1 -1
- 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-dsg43mOw.js → dropdown-menu-CWWN1cXs.js} +515 -520
- 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-D_dlkPnQ.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-GELKDadU.js} +145 -157
- 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-DZfZK6b1.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 +153 -152
- 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.map +1 -1
- 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-Cne_hQUh.js +489 -0
- package/dist/{popupStateMapping-PdIQcWEz.js → popupStateMapping-C8W76brO.js} +461 -419
- package/dist/{progress-TdXkokPe.js → progress-D71iUjvg.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-CTqA-p0w.js +333 -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-os2F06tc.js} +109 -105
- package/dist/{sas-DtHo0e4p.js → sas-DUv_h98D.js} +1 -1
- package/dist/scroll-area-C0KbhRES.js +588 -0
- package/dist/{scrollEdges-VoRBF4DB.js → scrollEdges-CHZpP0us.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-RvAj5g6e.js +1360 -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-Bhn1ogwZ.js +827 -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-Bdrhndby.js → store-C-KXBzZ0.js} +9 -9
- 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-D8M0xvzp.js} +65 -65
- package/dist/{tabs-C7JA8G0W.js → tabs-ttkDuwww.js} +181 -181
- 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-CL_MBwuU.js +96 -0
- package/dist/{tooltip-34vRSwJG.js → tooltip-ZIywOFGf.js} +210 -196
- 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-CttBuHXi.js} +2 -2
- package/dist/{useAnchoredPopupScrollLock-C8wRjuy0.js → useAnchoredPopupScrollLock-a2b_Frjv.js} +4 -4
- package/dist/{useAnimationFrame-xwbX87TY.js → useAnimationFrame-jkCXMP_8.js} +3 -3
- package/dist/{useAriaLabelledBy-DKl6aNOD.js → useAriaLabelledBy-WyUZP7Yf.js} +3 -3
- package/dist/{useBaseUiId-DOm5ACje.js → useBaseUiId-voePHgyX.js} +3 -3
- package/dist/{useButton-AXffhTAZ.js → useButton-DjF6Owsn.js} +7 -7
- package/dist/{useCollapsiblePanel-B7ERXY1c.js → useCollapsiblePanel-B6XZh6zH.js} +27 -24
- 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-DwJfNYN6.js +98 -0
- package/dist/{useIsoLayoutEffect-CKOv1bV_.js → useIsoLayoutEffect-4LGv3HzC.js} +1 -1
- package/dist/{useLabelableId-Dgoo7-Ly.js → useLabelableId-CC2YaILf.js} +6 -6
- package/dist/{useOnMount-Dirf6DNj.js → useOnMount-Chlmm7JB.js} +1 -1
- package/dist/{useOpenChangeComplete-DjMFUwhi.js → useOpenChangeComplete-Bs6gnxd9.js} +8 -8
- package/dist/useOpenInteractionType-DQhvPqO3.js +611 -0
- package/dist/{usePositioner-D65mUNMo.js → usePositioner-DkeyI5Le.js} +152 -152
- 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/useTriggerFocusGuards-Qi8iK-AK.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/composite-HOje5ugx.js +0 -276
- package/dist/constants-VB9bsA8p.js +0 -4
- package/dist/detectBrowser-FBYSu3xM.js +0 -32
- 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/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/toggle-group-CDYMBO0F.js +0 -87
- package/dist/useFocus-DzHCrvH6.js +0 -97
- 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/{chunk-Dqa2HsxW.js → rolldown-runtime-Dqa2HsxW.js} +0 -0
|
@@ -1,65 +1,85 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
3
|
-
import { r as t, t as n, u as r } from "./useRenderElement-
|
|
4
|
-
import { t as i } from "./useStableCallback-
|
|
5
|
-
import {
|
|
6
|
-
import { t as d } from "./
|
|
7
|
-
import { a as f, t as p } from "./useOpenChangeComplete-
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
|
+
import { r as t, t as n, u as r } from "./useRenderElement-BToElZ97.js";
|
|
4
|
+
import { t as i } from "./useStableCallback-CrM0Nb2q.js";
|
|
5
|
+
import { t as a } from "./useBaseUiId-voePHgyX.js";
|
|
6
|
+
import { S as o, a as s, g as c, l, t as u, x as d } from "./createBaseUIEventDetails-C_dwdqj4.js";
|
|
7
|
+
import { a as f, t as p } from "./useOpenChangeComplete-Bs6gnxd9.js";
|
|
8
8
|
import { d as m, l as h } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import { a as
|
|
17
|
-
import { i as
|
|
18
|
-
import { n as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
9
|
+
import { t as g } from "./addEventListener-BlQH_qk1.js";
|
|
10
|
+
import { t as _ } from "./useValueAsRef-CfO5zn2c.js";
|
|
11
|
+
import { cn as v } from "./lib/utils.js";
|
|
12
|
+
import { D as y, E as b, O as x, S, T as C, V as w, _ as T, a as E, c as D, f as O, h as k, m as A, n as j, o as M, p as ee, r as N, s as P, v as te } from "./popupStateMapping-C8W76brO.js";
|
|
13
|
+
import { O as ne } from "./composite-B-tEa-Zg.js";
|
|
14
|
+
import { n as re, t as ie } from "./useTimeout-B0afjWAz.js";
|
|
15
|
+
import { n as F, r as I } from "./shadowDom-BACsbimN.js";
|
|
16
|
+
import { a as L, i as ae, n as oe, r as R, t as se } from "./safePolygon-os2F06tc.js";
|
|
17
|
+
import { i as z, n as B, r as V, t as H } from "./usePositioner-DkeyI5Le.js";
|
|
18
|
+
import { n as U, r as W, t as ce } from "./store-C-KXBzZ0.js";
|
|
19
|
+
import { t as le } from "./useFocus-DwJfNYN6.js";
|
|
20
|
+
import { t as ue } from "./FloatingPortalLite-e0IaokaG.js";
|
|
21
21
|
import * as G from "react";
|
|
22
22
|
import { jsx as K, jsxs as q } from "react/jsx-runtime";
|
|
23
|
-
|
|
24
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingDelayGroup.js
|
|
23
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/components/FloatingDelayGroup.mjs
|
|
25
24
|
var J = /*#__PURE__*/ G.createContext({
|
|
26
25
|
hasProvider: !1,
|
|
27
26
|
timeoutMs: 0,
|
|
28
27
|
delayRef: { current: 0 },
|
|
29
28
|
initialDelayRef: { current: 0 },
|
|
30
|
-
timeout: new
|
|
29
|
+
timeout: new ie(),
|
|
31
30
|
currentIdRef: { current: null },
|
|
32
31
|
currentContextRef: { current: null }
|
|
33
32
|
});
|
|
34
33
|
process.env.NODE_ENV !== "production" && (J.displayName = "FloatingDelayGroupContext");
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
function de(e, t) {
|
|
35
|
+
e.current = t.current;
|
|
36
|
+
}
|
|
37
|
+
function fe(t) {
|
|
38
|
+
let { children: n, delay: r, timeoutMs: i = 0 } = t, a = G.useRef(r), o = G.useRef(r), s = G.useRef(null), c = G.useRef(null), l = re();
|
|
39
|
+
return e(() => {
|
|
40
|
+
if (o.current = r, !s.current) {
|
|
41
|
+
a.current = r;
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
a.current = {
|
|
45
|
+
open: L(a.current, "open"),
|
|
46
|
+
close: L(r, "close")
|
|
47
|
+
};
|
|
48
|
+
}, [
|
|
49
|
+
r,
|
|
50
|
+
s,
|
|
51
|
+
a,
|
|
52
|
+
o
|
|
53
|
+
]), /*#__PURE__*/ K(J.Provider, {
|
|
38
54
|
value: G.useMemo(() => ({
|
|
39
55
|
hasProvider: !0,
|
|
40
|
-
delayRef:
|
|
41
|
-
initialDelayRef:
|
|
42
|
-
currentIdRef:
|
|
43
|
-
timeoutMs:
|
|
44
|
-
currentContextRef:
|
|
45
|
-
timeout:
|
|
46
|
-
}), [
|
|
47
|
-
children:
|
|
56
|
+
delayRef: a,
|
|
57
|
+
initialDelayRef: o,
|
|
58
|
+
currentIdRef: s,
|
|
59
|
+
timeoutMs: i,
|
|
60
|
+
currentContextRef: c,
|
|
61
|
+
timeout: l
|
|
62
|
+
}), [i, l]),
|
|
63
|
+
children: n
|
|
48
64
|
});
|
|
49
65
|
}
|
|
50
66
|
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:
|
|
67
|
+
let { open: r } = n, i = "rootStore" in t ? t.rootStore : t, a = i.useState("floatingId"), { currentIdRef: o, delayRef: s, timeoutMs: l, initialDelayRef: d, currentContextRef: f, hasProvider: p, timeout: m } = G.useContext(J), [h, g] = G.useState(!1), _ = G.useRef(r), v = G.useRef(!1);
|
|
52
68
|
return e(() => {
|
|
69
|
+
_.current = r;
|
|
70
|
+
}, [r]), e(() => () => {
|
|
71
|
+
v.current = !0;
|
|
72
|
+
}, []), e(() => {
|
|
53
73
|
function e() {
|
|
54
|
-
g(!1), f.current?.setIsInstantPhase(!1), o.current = null, f.current = null,
|
|
74
|
+
v.current || g(!1), f.current?.setIsInstantPhase(!1), o.current = null, f.current = null, s.current = d.current, m.clear();
|
|
55
75
|
}
|
|
56
76
|
if (o.current && !r && o.current === a) {
|
|
57
|
-
if (g(!1),
|
|
77
|
+
if (g(!1), l) {
|
|
58
78
|
let t = a;
|
|
59
|
-
return m.start(
|
|
79
|
+
return m.start(l, () => {
|
|
60
80
|
i.select("open") || o.current && o.current !== t || e();
|
|
61
81
|
}), () => {
|
|
62
|
-
m.clear();
|
|
82
|
+
(_.current || o.current !== t) && m.clear();
|
|
63
83
|
};
|
|
64
84
|
}
|
|
65
85
|
e();
|
|
@@ -68,8 +88,8 @@ function pe(t, n = { open: !1 }) {
|
|
|
68
88
|
r,
|
|
69
89
|
a,
|
|
70
90
|
o,
|
|
71
|
-
|
|
72
|
-
|
|
91
|
+
s,
|
|
92
|
+
l,
|
|
73
93
|
d,
|
|
74
94
|
f,
|
|
75
95
|
m,
|
|
@@ -80,33 +100,43 @@ function pe(t, n = { open: !1 }) {
|
|
|
80
100
|
m.clear(), f.current = {
|
|
81
101
|
onOpenChange: i.setOpen,
|
|
82
102
|
setIsInstantPhase: g
|
|
83
|
-
}, o.current = a,
|
|
103
|
+
}, o.current = a, s.current = {
|
|
84
104
|
open: 0,
|
|
85
|
-
close:
|
|
86
|
-
}, t !== null && t !== a ? (g(!0), e?.setIsInstantPhase(!0), e?.onOpenChange(!1,
|
|
105
|
+
close: L(d.current, "close")
|
|
106
|
+
}, t !== null && t !== a ? (g(!0), e?.setIsInstantPhase(!0), e?.onOpenChange(!1, u(c))) : (g(!1), e?.setIsInstantPhase(!1));
|
|
87
107
|
}, [
|
|
88
108
|
r,
|
|
89
109
|
a,
|
|
90
110
|
i,
|
|
91
111
|
o,
|
|
92
|
-
|
|
112
|
+
s,
|
|
93
113
|
d,
|
|
94
114
|
f,
|
|
95
115
|
m
|
|
96
116
|
]), e(() => () => {
|
|
97
|
-
|
|
98
|
-
|
|
117
|
+
if (o.current === a) {
|
|
118
|
+
if (f.current = null, !_.current) return;
|
|
119
|
+
o.current = null, de(s, d), m.clear();
|
|
120
|
+
}
|
|
121
|
+
}, [
|
|
122
|
+
f,
|
|
123
|
+
o,
|
|
124
|
+
s,
|
|
125
|
+
a,
|
|
126
|
+
d,
|
|
127
|
+
m
|
|
128
|
+
]), G.useMemo(() => ({
|
|
99
129
|
hasProvider: p,
|
|
100
|
-
delayRef:
|
|
130
|
+
delayRef: s,
|
|
101
131
|
isInstantPhase: h
|
|
102
132
|
}), [
|
|
103
133
|
p,
|
|
104
|
-
|
|
134
|
+
s,
|
|
105
135
|
h
|
|
106
136
|
]);
|
|
107
137
|
}
|
|
108
138
|
//#endregion
|
|
109
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
139
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/hooks/useClientPoint.mjs
|
|
110
140
|
function me(e, t) {
|
|
111
141
|
let n = null, r = null, i = !1;
|
|
112
142
|
return {
|
|
@@ -135,9 +165,9 @@ function he(e) {
|
|
|
135
165
|
return e != null && e.clientX != null;
|
|
136
166
|
}
|
|
137
167
|
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,
|
|
168
|
+
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, _] = G.useState([]), v = i((e) => {
|
|
139
169
|
a.set("positionReference", e);
|
|
140
|
-
}),
|
|
170
|
+
}), y = i((e, t, n) => {
|
|
141
171
|
u.current || l.current.openEvent && !he(l.current.openEvent) || a.set("positionReference", me(n ?? c, {
|
|
142
172
|
x: e,
|
|
143
173
|
y: t,
|
|
@@ -145,32 +175,33 @@ function ge(e, t = {}) {
|
|
|
145
175
|
dataRef: l,
|
|
146
176
|
pointerType: f
|
|
147
177
|
}));
|
|
148
|
-
}),
|
|
149
|
-
o ? d.current || (
|
|
150
|
-
}),
|
|
178
|
+
}), b = i((e) => {
|
|
179
|
+
o ? d.current || (y(e.clientX, e.clientY, e.currentTarget), _([])) : y(e.clientX, e.clientY, e.currentTarget);
|
|
180
|
+
}), x = ne(f) ? s : o;
|
|
151
181
|
G.useEffect(() => {
|
|
152
182
|
if (!n) {
|
|
153
|
-
|
|
183
|
+
v(c);
|
|
154
184
|
return;
|
|
155
185
|
}
|
|
156
|
-
if (!
|
|
186
|
+
if (!x) return;
|
|
157
187
|
function e() {
|
|
158
188
|
d.current?.(), d.current = null;
|
|
159
189
|
}
|
|
160
190
|
let t = h(s);
|
|
161
191
|
function r(t) {
|
|
162
|
-
|
|
192
|
+
let n = I(t);
|
|
193
|
+
F(s, n) ? e() : y(t.clientX, t.clientY);
|
|
163
194
|
}
|
|
164
|
-
return !l.current.openEvent || he(l.current.openEvent) ? d.current =
|
|
195
|
+
return !l.current.openEvent || he(l.current.openEvent) ? d.current = g(t, "mousemove", r) : v(c), e;
|
|
165
196
|
}, [
|
|
166
|
-
|
|
197
|
+
x,
|
|
167
198
|
n,
|
|
168
199
|
s,
|
|
169
200
|
l,
|
|
170
201
|
c,
|
|
171
202
|
a,
|
|
172
|
-
b,
|
|
173
203
|
y,
|
|
204
|
+
v,
|
|
174
205
|
m
|
|
175
206
|
]), G.useEffect(() => () => {
|
|
176
207
|
a.set("positionReference", null);
|
|
@@ -179,24 +210,24 @@ function ge(e, t = {}) {
|
|
|
179
210
|
}, [n, s]), G.useEffect(() => {
|
|
180
211
|
!n && o && (u.current = !0);
|
|
181
212
|
}, [n, o]);
|
|
182
|
-
let
|
|
213
|
+
let S = G.useMemo(() => {
|
|
183
214
|
function e(e) {
|
|
184
215
|
p(e.pointerType);
|
|
185
216
|
}
|
|
186
217
|
return {
|
|
187
218
|
onPointerDown: e,
|
|
188
219
|
onPointerEnter: e,
|
|
189
|
-
onMouseMove:
|
|
190
|
-
onMouseEnter:
|
|
220
|
+
onMouseMove: b,
|
|
221
|
+
onMouseEnter: b
|
|
191
222
|
};
|
|
192
|
-
}, [
|
|
223
|
+
}, [b]);
|
|
193
224
|
return G.useMemo(() => n ? {
|
|
194
|
-
reference:
|
|
195
|
-
trigger:
|
|
196
|
-
} : {}, [n,
|
|
225
|
+
reference: S,
|
|
226
|
+
trigger: S
|
|
227
|
+
} : {}, [n, S]);
|
|
197
228
|
}
|
|
198
229
|
//#endregion
|
|
199
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
230
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/root/TooltipRootContext.mjs
|
|
200
231
|
var Y = /*#__PURE__*/ G.createContext(void 0);
|
|
201
232
|
process.env.NODE_ENV !== "production" && (Y.displayName = "TooltipRootContext");
|
|
202
233
|
function X(e) {
|
|
@@ -205,25 +236,25 @@ function X(e) {
|
|
|
205
236
|
return t;
|
|
206
237
|
}
|
|
207
238
|
//#endregion
|
|
208
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
239
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/store/TooltipStore.mjs
|
|
209
240
|
var _e = {
|
|
210
|
-
...
|
|
211
|
-
disabled:
|
|
212
|
-
instantType:
|
|
213
|
-
isInstantPhase:
|
|
214
|
-
trackCursorAxis:
|
|
215
|
-
disableHoverablePopup:
|
|
216
|
-
lastOpenChangeReason:
|
|
217
|
-
closeOnClick:
|
|
218
|
-
closeDelay:
|
|
219
|
-
hasViewport:
|
|
220
|
-
}, ve = class e extends
|
|
241
|
+
...W,
|
|
242
|
+
disabled: y((e) => e.disabled),
|
|
243
|
+
instantType: y((e) => e.instantType),
|
|
244
|
+
isInstantPhase: y((e) => e.isInstantPhase),
|
|
245
|
+
trackCursorAxis: y((e) => e.trackCursorAxis),
|
|
246
|
+
disableHoverablePopup: y((e) => e.disableHoverablePopup),
|
|
247
|
+
lastOpenChangeReason: y((e) => e.openChangeReason),
|
|
248
|
+
closeOnClick: y((e) => e.closeOnClick),
|
|
249
|
+
closeDelay: y((e) => e.closeDelay),
|
|
250
|
+
hasViewport: y((e) => e.hasViewport)
|
|
251
|
+
}, ve = class e extends S {
|
|
221
252
|
constructor(e, t, n = !1) {
|
|
222
|
-
let r = new
|
|
253
|
+
let r = new M(), i = {
|
|
223
254
|
...ye(),
|
|
224
255
|
...e
|
|
225
256
|
};
|
|
226
|
-
i.floatingRootContext =
|
|
257
|
+
i.floatingRootContext = U(r, t, n), super(i, {
|
|
227
258
|
popupRef: /*#__PURE__*/ G.createRef(),
|
|
228
259
|
onOpenChange: void 0,
|
|
229
260
|
onOpenChangeComplete: void 0,
|
|
@@ -231,30 +262,18 @@ var _e = {
|
|
|
231
262
|
}, _e);
|
|
232
263
|
}
|
|
233
264
|
setOpen = (e, t) => {
|
|
234
|
-
|
|
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();
|
|
265
|
+
D(this, e, t, { extraState: { openChangeReason: t.reason } });
|
|
247
266
|
};
|
|
248
267
|
cancelPendingOpen(e) {
|
|
249
|
-
this.state.floatingRootContext.dispatchOpenChange(!1,
|
|
268
|
+
this.state.floatingRootContext.dispatchOpenChange(!1, u(o, e));
|
|
250
269
|
}
|
|
251
270
|
static useStore(t, n) {
|
|
252
|
-
return
|
|
271
|
+
return T(t, (t, r) => new e(n, t, r)).store;
|
|
253
272
|
}
|
|
254
273
|
};
|
|
255
274
|
function ye() {
|
|
256
275
|
return {
|
|
257
|
-
...
|
|
276
|
+
...ce(),
|
|
258
277
|
disabled: !1,
|
|
259
278
|
instantType: void 0,
|
|
260
279
|
isInstantPhase: !1,
|
|
@@ -267,39 +286,34 @@ function ye() {
|
|
|
267
286
|
};
|
|
268
287
|
}
|
|
269
288
|
//#endregion
|
|
270
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
271
|
-
var be =
|
|
272
|
-
let { disabled: n = !1, defaultOpen: r = !1, open: i, disableHoverablePopup: a = !1, trackCursorAxis:
|
|
289
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/root/TooltipRoot.mjs
|
|
290
|
+
var be = C(function(t) {
|
|
291
|
+
let { disabled: n = !1, defaultOpen: r = !1, open: i, disableHoverablePopup: a = !1, trackCursorAxis: o = "none", actionsRef: c, onOpenChange: d, onOpenChangeComplete: f, handle: p, triggerId: m, defaultTriggerId: h = null, children: g } = t, _ = ve.useStore(p?.store, {
|
|
273
292
|
open: r,
|
|
274
293
|
openProp: i,
|
|
275
294
|
activeTriggerId: h,
|
|
276
295
|
triggerIdProp: m
|
|
277
296
|
});
|
|
278
|
-
|
|
279
|
-
|
|
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");
|
|
297
|
+
ee(_, i, r, h), _.useControlledProp("openProp", i), _.useControlledProp("triggerIdProp", m), _.useContextCallback("onOpenChange", d), _.useContextCallback("onOpenChangeComplete", f);
|
|
298
|
+
let v = _.useState("open"), y = !n && v, b = _.useState("activeTriggerId"), x = _.useState("mounted"), S = _.useState("payload");
|
|
285
299
|
_.useSyncedValues({
|
|
286
|
-
trackCursorAxis:
|
|
300
|
+
trackCursorAxis: o,
|
|
287
301
|
disableHoverablePopup: a
|
|
288
|
-
}), _.useSyncedValue("disabled", n),
|
|
289
|
-
let { forceUnmount:
|
|
302
|
+
}), _.useSyncedValue("disabled", n), O(_, { closeOnActiveTriggerUnmount: !0 });
|
|
303
|
+
let { forceUnmount: C, transitionStatus: w } = A(y, _), T = _.useState("isInstantPhase"), E = _.useState("instantType"), D = _.useState("lastOpenChangeReason"), k = G.useRef(null);
|
|
290
304
|
e(() => {
|
|
291
|
-
v && n && _.setOpen(!1,
|
|
305
|
+
v && n && _.setOpen(!1, u(s));
|
|
292
306
|
}, [
|
|
293
307
|
v,
|
|
294
308
|
n,
|
|
295
309
|
_
|
|
296
310
|
]), e(() => {
|
|
297
|
-
|
|
311
|
+
w === "ending" && D === "none" || w !== "ending" && T ? (E !== "delay" && (k.current = E), _.set("instantType", "delay")) : k.current !== null && (_.set("instantType", k.current), k.current = null);
|
|
298
312
|
}, [
|
|
299
|
-
|
|
313
|
+
w,
|
|
314
|
+
T,
|
|
300
315
|
D,
|
|
301
|
-
|
|
302
|
-
O,
|
|
316
|
+
E,
|
|
303
317
|
_
|
|
304
318
|
]), e(() => {
|
|
305
319
|
y && (b ?? _.set("payload", void 0));
|
|
@@ -309,48 +323,48 @@ var be = N(function(t) {
|
|
|
309
323
|
y
|
|
310
324
|
]);
|
|
311
325
|
let j = G.useCallback(() => {
|
|
312
|
-
_.setOpen(!1, l
|
|
326
|
+
_.setOpen(!1, u(l));
|
|
313
327
|
}, [_]);
|
|
314
|
-
G.useImperativeHandle(
|
|
315
|
-
unmount:
|
|
328
|
+
G.useImperativeHandle(c, () => ({
|
|
329
|
+
unmount: C,
|
|
316
330
|
close: j
|
|
317
|
-
}), [
|
|
318
|
-
let M = y ||
|
|
331
|
+
}), [C, j]);
|
|
332
|
+
let M = y || x || !n && o !== "none";
|
|
319
333
|
return /*#__PURE__*/ q(Y.Provider, {
|
|
320
334
|
value: _,
|
|
321
335
|
children: [M && /*#__PURE__*/ K(xe, {
|
|
322
336
|
store: _,
|
|
323
337
|
disabled: n,
|
|
324
|
-
trackCursorAxis:
|
|
325
|
-
}), typeof g == "function" ? g({ payload:
|
|
338
|
+
trackCursorAxis: o
|
|
339
|
+
}), typeof g == "function" ? g({ payload: S }) : g]
|
|
326
340
|
});
|
|
327
341
|
});
|
|
328
342
|
process.env.NODE_ENV !== "production" && (be.displayName = "TooltipRoot");
|
|
329
343
|
function xe({ store: e, disabled: n, trackCursorAxis: r }) {
|
|
330
|
-
let i = e.useState("floatingRootContext"), a =
|
|
344
|
+
let i = e.useState("floatingRootContext"), a = x(i, {
|
|
331
345
|
enabled: !n,
|
|
332
346
|
referencePress: () => e.select("closeOnClick")
|
|
333
347
|
}), o = ge(i, {
|
|
334
348
|
enabled: !n && r !== "none",
|
|
335
349
|
axis: r === "none" ? void 0 : r
|
|
336
350
|
});
|
|
337
|
-
return
|
|
351
|
+
return k(e, {
|
|
338
352
|
activeTriggerProps: G.useMemo(() => t(o.reference, a.reference), [o.reference, a.reference]),
|
|
339
353
|
inactiveTriggerProps: G.useMemo(() => t(o.trigger, a.trigger), [o.trigger, a.trigger]),
|
|
340
|
-
popupProps: G.useMemo(() => t(
|
|
354
|
+
popupProps: G.useMemo(() => t(P, o.floating, a.floating), [o.floating, a.floating])
|
|
341
355
|
}), null;
|
|
342
356
|
}
|
|
343
357
|
//#endregion
|
|
344
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
358
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/provider/TooltipProviderContext.mjs
|
|
345
359
|
var Z = /*#__PURE__*/ G.createContext(void 0);
|
|
346
360
|
process.env.NODE_ENV !== "production" && (Z.displayName = "TooltipProviderContext");
|
|
347
361
|
function Se() {
|
|
348
362
|
return G.useContext(Z);
|
|
349
363
|
}
|
|
350
364
|
//#endregion
|
|
351
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
365
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/trigger/TooltipTriggerDataAttributes.mjs
|
|
352
366
|
var Ce = function(e) {
|
|
353
|
-
return e[e.popupOpen =
|
|
367
|
+
return e[e.popupOpen = j.popupOpen] = "popupOpen", e.triggerDisabled = "data-trigger-disabled", e;
|
|
354
368
|
}({}), we = "data-base-ui-tooltip-trigger";
|
|
355
369
|
function Te(e) {
|
|
356
370
|
if ("composedPath" in e) {
|
|
@@ -378,100 +392,100 @@ function Ee(e) {
|
|
|
378
392
|
return null;
|
|
379
393
|
}
|
|
380
394
|
var De = b(function(e, t) {
|
|
381
|
-
let { render: i, className:
|
|
395
|
+
let { render: i, className: o, style: s, handle: c, payload: l, disabled: f, delay: p, closeOnClick: m = !0, closeDelay: h, id: g, ...v } = e, y = X(!0), b = c?.store ?? y;
|
|
382
396
|
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 =
|
|
384
|
-
payload:
|
|
397
|
+
let x = a(g), S = b.useState("isTriggerActive", x), C = b.useState("isOpenedByTrigger", x), w = b.useState("floatingRootContext"), T = G.useRef(null), D = p ?? 600, O = h ?? 0, { registerTrigger: k, isMountedByThisTrigger: A } = te(x, T, b, {
|
|
398
|
+
payload: l,
|
|
385
399
|
closeOnClick: m,
|
|
386
|
-
closeDelay:
|
|
387
|
-
}),
|
|
388
|
-
b.useSyncedValue("isInstantPhase",
|
|
389
|
-
let ie = b.useState("disabled"),
|
|
390
|
-
function
|
|
391
|
-
let e =
|
|
392
|
-
return N && (n = t === 0 ? 0 : p ?? e ??
|
|
400
|
+
closeDelay: O
|
|
401
|
+
}), j = Se(), { delayRef: M, isInstantPhase: ee, hasProvider: N } = pe(w, { open: C }), P = ae(w);
|
|
402
|
+
b.useSyncedValue("isInstantPhase", ee);
|
|
403
|
+
let ie = b.useState("disabled"), I = f ?? ie, L = _(I), R = b.useState("trackCursorAxis"), z = b.useState("disableHoverablePopup"), B = G.useRef(!1), V = re(), H = G.useRef(void 0);
|
|
404
|
+
function U() {
|
|
405
|
+
let e = j?.delay, t = typeof M.current == "object" ? M.current.open : void 0, n = D;
|
|
406
|
+
return N && (n = t === 0 ? 0 : p ?? e ?? D), n;
|
|
393
407
|
}
|
|
394
|
-
function
|
|
395
|
-
let t =
|
|
408
|
+
function W(e) {
|
|
409
|
+
let t = T.current;
|
|
396
410
|
if (!t || !e) return !1;
|
|
397
411
|
let n = Ee(e);
|
|
398
|
-
return n !== null && n !== t &&
|
|
412
|
+
return n !== null && n !== t && F(t, n);
|
|
399
413
|
}
|
|
400
|
-
function
|
|
401
|
-
let t =
|
|
402
|
-
return
|
|
414
|
+
function ce(e) {
|
|
415
|
+
let t = W(e);
|
|
416
|
+
return B.current = t, t && (P.openChangeTimeout.clear(), P.restTimeout.clear(), P.restTimeoutPending = !1, V.clear()), t;
|
|
403
417
|
}
|
|
404
|
-
let
|
|
405
|
-
enabled: !
|
|
418
|
+
let ue = oe(w, {
|
|
419
|
+
enabled: !I,
|
|
406
420
|
mouseOnly: !0,
|
|
407
421
|
move: !1,
|
|
408
|
-
handleClose: !
|
|
409
|
-
restMs:
|
|
422
|
+
handleClose: !z && R !== "both" ? se() : null,
|
|
423
|
+
restMs: U,
|
|
410
424
|
delay() {
|
|
411
|
-
let e = typeof M.current == "object" ? M.current.close : void 0, t =
|
|
425
|
+
let e = typeof M.current == "object" ? M.current.close : void 0, t = O;
|
|
412
426
|
return h == null && N && (t = e), { close: t };
|
|
413
427
|
},
|
|
414
|
-
triggerElementRef:
|
|
415
|
-
isActiveTrigger:
|
|
428
|
+
triggerElementRef: T,
|
|
429
|
+
isActiveTrigger: S,
|
|
416
430
|
isClosing: () => b.select("transitionStatus") === "ending",
|
|
417
431
|
shouldOpen() {
|
|
418
|
-
return !
|
|
432
|
+
return !B.current;
|
|
419
433
|
}
|
|
420
|
-
}), K =
|
|
421
|
-
let t =
|
|
434
|
+
}), K = le(w, { enabled: !I }).reference, q = (e) => {
|
|
435
|
+
let t = B.current, n = Te(e), r = ce(n), i = T.current, a = i && n && F(i, n);
|
|
422
436
|
if (r && b.select("open") && b.select("lastOpenChangeReason") === "trigger-hover") {
|
|
423
|
-
b.setOpen(!1,
|
|
437
|
+
b.setOpen(!1, u(d, e));
|
|
424
438
|
return;
|
|
425
439
|
}
|
|
426
|
-
if (t && !r && a && !
|
|
440
|
+
if (t && !r && a && !L.current && !b.select("open") && i && ne(H.current)) {
|
|
427
441
|
let t = () => {
|
|
428
|
-
!
|
|
429
|
-
}, n =
|
|
430
|
-
n === 0 ? (
|
|
442
|
+
!B.current && !L.current && !b.select("open") && b.setOpen(!0, u(d, e, i));
|
|
443
|
+
}, n = U();
|
|
444
|
+
n === 0 ? (V.clear(), t()) : V.start(n, t);
|
|
431
445
|
}
|
|
432
|
-
},
|
|
446
|
+
}, J = b.useState("triggerProps", A);
|
|
433
447
|
return n("button", e, {
|
|
434
|
-
state: { open:
|
|
448
|
+
state: { open: C },
|
|
435
449
|
ref: [
|
|
436
450
|
t,
|
|
437
|
-
|
|
438
|
-
|
|
451
|
+
k,
|
|
452
|
+
T
|
|
439
453
|
],
|
|
440
454
|
props: [
|
|
441
|
-
|
|
455
|
+
ue,
|
|
442
456
|
K,
|
|
443
|
-
|
|
457
|
+
A || R !== "none" ? J : void 0,
|
|
444
458
|
{
|
|
445
459
|
onMouseOver(e) {
|
|
446
460
|
q(e.nativeEvent);
|
|
447
461
|
},
|
|
448
462
|
onFocus(e) {
|
|
449
|
-
|
|
463
|
+
W(Te(e.nativeEvent)) && e.preventBaseUIHandler();
|
|
450
464
|
},
|
|
451
465
|
onMouseLeave() {
|
|
452
|
-
|
|
466
|
+
B.current = !1, V.clear(), H.current = void 0;
|
|
453
467
|
},
|
|
454
468
|
onPointerEnter(e) {
|
|
455
|
-
|
|
469
|
+
H.current = e.pointerType;
|
|
456
470
|
},
|
|
457
471
|
onPointerDown(e) {
|
|
458
|
-
|
|
472
|
+
H.current = e.pointerType, b.set("closeOnClick", m), m && !b.select("open") && b.cancelPendingOpen(e.nativeEvent);
|
|
459
473
|
},
|
|
460
474
|
onClick(e) {
|
|
461
475
|
m && !b.select("open") && b.cancelPendingOpen(e.nativeEvent);
|
|
462
476
|
},
|
|
463
477
|
id: x,
|
|
464
|
-
[Ce.triggerDisabled]:
|
|
465
|
-
[we]:
|
|
478
|
+
[Ce.triggerDisabled]: I ? "" : void 0,
|
|
479
|
+
[we]: I ? void 0 : ""
|
|
466
480
|
},
|
|
467
481
|
v
|
|
468
482
|
],
|
|
469
|
-
stateAttributesMapping:
|
|
483
|
+
stateAttributesMapping: E
|
|
470
484
|
});
|
|
471
485
|
});
|
|
472
486
|
process.env.NODE_ENV !== "production" && (De.displayName = "TooltipTrigger");
|
|
473
487
|
//#endregion
|
|
474
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
488
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/portal/TooltipPortalContext.mjs
|
|
475
489
|
var Q = /*#__PURE__*/ G.createContext(void 0);
|
|
476
490
|
process.env.NODE_ENV !== "production" && (Q.displayName = "TooltipPortalContext");
|
|
477
491
|
function Oe() {
|
|
@@ -480,12 +494,12 @@ function Oe() {
|
|
|
480
494
|
return e;
|
|
481
495
|
}
|
|
482
496
|
//#endregion
|
|
483
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
497
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/portal/TooltipPortal.mjs
|
|
484
498
|
var ke = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
485
499
|
let { keepMounted: n = !1, ...r } = e;
|
|
486
500
|
return X().useState("mounted") || n ? /*#__PURE__*/ K(Q.Provider, {
|
|
487
501
|
value: n,
|
|
488
|
-
children: /*#__PURE__*/ K(
|
|
502
|
+
children: /*#__PURE__*/ K(ue, {
|
|
489
503
|
ref: t,
|
|
490
504
|
...r
|
|
491
505
|
})
|
|
@@ -493,7 +507,7 @@ var ke = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
|
493
507
|
});
|
|
494
508
|
process.env.NODE_ENV !== "production" && (ke.displayName = "TooltipPortal");
|
|
495
509
|
//#endregion
|
|
496
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
510
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/positioner/TooltipPositionerContext.mjs
|
|
497
511
|
var $ = /*#__PURE__*/ G.createContext(void 0);
|
|
498
512
|
process.env.NODE_ENV !== "production" && ($.displayName = "TooltipPositionerContext");
|
|
499
513
|
function Ae() {
|
|
@@ -502,13 +516,13 @@ function Ae() {
|
|
|
502
516
|
return e;
|
|
503
517
|
}
|
|
504
518
|
//#endregion
|
|
505
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
519
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/positioner/TooltipPositioner.mjs
|
|
506
520
|
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 =
|
|
521
|
+
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 = w, style: g, ..._ } = e, v = X(), y = Oe(), b = v.useState("open"), x = v.useState("mounted"), S = v.useState("trackCursorAxis"), C = v.useState("disableHoverablePopup"), T = v.useState("floatingRootContext"), E = v.useState("instantType"), D = v.useState("transitionStatus"), O = V({
|
|
508
522
|
anchor: i,
|
|
509
523
|
positionMethod: a,
|
|
510
524
|
floatingRootContext: T,
|
|
511
|
-
mounted:
|
|
525
|
+
mounted: x,
|
|
512
526
|
side: o,
|
|
513
527
|
sideOffset: c,
|
|
514
528
|
align: s,
|
|
@@ -518,29 +532,29 @@ var je = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
|
518
532
|
sticky: p,
|
|
519
533
|
arrowPadding: f,
|
|
520
534
|
disableAnchorTracking: m,
|
|
521
|
-
keepMounted:
|
|
535
|
+
keepMounted: y,
|
|
522
536
|
collisionAvoidance: h,
|
|
523
|
-
adaptiveOrigin: v.useState("hasViewport") ?
|
|
524
|
-
}), k =
|
|
525
|
-
open:
|
|
537
|
+
adaptiveOrigin: v.useState("hasViewport") ? z : void 0
|
|
538
|
+
}), k = H(e, G.useMemo(() => ({
|
|
539
|
+
open: b,
|
|
526
540
|
side: O.side,
|
|
527
541
|
align: O.align,
|
|
528
542
|
anchorHidden: O.anchorHidden,
|
|
529
|
-
instant:
|
|
543
|
+
instant: S === "none" ? E : "tracking-cursor"
|
|
530
544
|
}), [
|
|
531
|
-
|
|
545
|
+
b,
|
|
532
546
|
O.side,
|
|
533
547
|
O.align,
|
|
534
548
|
O.anchorHidden,
|
|
535
|
-
|
|
549
|
+
S,
|
|
536
550
|
E
|
|
537
551
|
]), {
|
|
538
552
|
styles: O.positionerStyles,
|
|
539
553
|
transitionStatus: D,
|
|
540
554
|
props: _,
|
|
541
555
|
refs: [t, v.useStateSetter("positionerElement")],
|
|
542
|
-
hidden: !
|
|
543
|
-
inert: !
|
|
556
|
+
hidden: !x,
|
|
557
|
+
inert: !b || S === "both" || C
|
|
544
558
|
});
|
|
545
559
|
return /*#__PURE__*/ K($.Provider, {
|
|
546
560
|
value: O,
|
|
@@ -549,9 +563,9 @@ var je = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
|
549
563
|
});
|
|
550
564
|
process.env.NODE_ENV !== "production" && (je.displayName = "TooltipPositioner");
|
|
551
565
|
//#endregion
|
|
552
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
566
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/popup/TooltipPopup.mjs
|
|
553
567
|
var Me = {
|
|
554
|
-
...
|
|
568
|
+
...N,
|
|
555
569
|
...f
|
|
556
570
|
}, Ne = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
557
571
|
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");
|
|
@@ -561,7 +575,7 @@ var Me = {
|
|
|
561
575
|
onComplete() {
|
|
562
576
|
u && s.context.onOpenChangeComplete?.(!0);
|
|
563
577
|
}
|
|
564
|
-
}),
|
|
578
|
+
}), R(h, {
|
|
565
579
|
enabled: !g,
|
|
566
580
|
closeDelay: _
|
|
567
581
|
});
|
|
@@ -581,7 +595,7 @@ var Me = {
|
|
|
581
595
|
],
|
|
582
596
|
props: [
|
|
583
597
|
m,
|
|
584
|
-
|
|
598
|
+
B(f),
|
|
585
599
|
o
|
|
586
600
|
],
|
|
587
601
|
stateAttributesMapping: Me
|
|
@@ -589,7 +603,7 @@ var Me = {
|
|
|
589
603
|
});
|
|
590
604
|
process.env.NODE_ENV !== "production" && (Ne.displayName = "TooltipPopup");
|
|
591
605
|
//#endregion
|
|
592
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
606
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/arrow/TooltipArrow.mjs
|
|
593
607
|
var Pe = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
594
608
|
let { render: r, className: i, style: a, ...o } = e, s = X(), { arrowRef: c, side: l, align: u, arrowUncentered: d, arrowStyles: f } = Ae();
|
|
595
609
|
return n("div", e, {
|
|
@@ -605,12 +619,12 @@ var Pe = /*#__PURE__*/ G.forwardRef(function(e, t) {
|
|
|
605
619
|
style: f,
|
|
606
620
|
"aria-hidden": !0
|
|
607
621
|
}, o],
|
|
608
|
-
stateAttributesMapping:
|
|
622
|
+
stateAttributesMapping: N
|
|
609
623
|
});
|
|
610
624
|
});
|
|
611
625
|
process.env.NODE_ENV !== "production" && (Pe.displayName = "TooltipArrow");
|
|
612
626
|
//#endregion
|
|
613
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
627
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tooltip/provider/TooltipProvider.mjs
|
|
614
628
|
var Fe = function(e) {
|
|
615
629
|
let { delay: t, closeDelay: n, timeout: r = 400 } = e, i = G.useMemo(() => ({
|
|
616
630
|
delay: t,
|
|
@@ -658,7 +672,7 @@ function ze({ className: e, side: t = "top", sideOffset: n = 4, align: r = "cent
|
|
|
658
672
|
side: t,
|
|
659
673
|
sideOffset: n,
|
|
660
674
|
children: /* @__PURE__ */ q(Ne, {
|
|
661
|
-
className:
|
|
675
|
+
className: v("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
676
|
"data-slot": "tooltip-content",
|
|
663
677
|
...o,
|
|
664
678
|
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" })]
|