@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
package/dist/{useAnchoredPopupScrollLock-C8wRjuy0.js → useAnchoredPopupScrollLock-a2b_Frjv.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
3
|
-
import { t } from "./owner-
|
|
4
|
-
import { s as n } from "./useOpenInteractionType-
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
|
+
import { t } from "./owner-CyZnQOKt.js";
|
|
4
|
+
import { s as n } from "./useOpenInteractionType-DQhvPqO3.js";
|
|
5
5
|
import * as r from "react";
|
|
6
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
6
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/useAnchoredPopupScrollLock.mjs
|
|
7
7
|
var i = 20;
|
|
8
8
|
function a(a, o, s, c) {
|
|
9
9
|
let [l, u] = r.useState(!1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { f as e } from "./useRenderElement-
|
|
3
|
-
import { t } from "./useOnMount-
|
|
4
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.
|
|
2
|
+
import { f as e } from "./useRenderElement-BToElZ97.js";
|
|
3
|
+
import { t } from "./useOnMount-Chlmm7JB.js";
|
|
4
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/useAnimationFrame.mjs
|
|
5
5
|
var n = null, r = globalThis.requestAnimationFrame, i = new class {
|
|
6
6
|
callbacks = [];
|
|
7
7
|
callbacksCount = 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
3
|
-
import { t } from "./useBaseUiId-
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
|
+
import { t } from "./useBaseUiId-voePHgyX.js";
|
|
4
4
|
import * as n from "react";
|
|
5
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
5
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/labelable-provider/useAriaLabelledBy.mjs
|
|
6
6
|
function r(r, a, o, s = !0, c) {
|
|
7
7
|
let [l, u] = n.useState(), d = t(c ? `${c}-label` : void 0), f = r ?? a ?? l;
|
|
8
8
|
return e(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as e } from "./useIsoLayoutEffect-
|
|
2
|
+
import { n as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
3
|
import * as t from "react";
|
|
4
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.
|
|
4
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/useId.mjs
|
|
5
5
|
var n = 0;
|
|
6
6
|
function r(e, r = "mui") {
|
|
7
7
|
let [i, a] = t.useState(e), o = e || i;
|
|
@@ -18,7 +18,7 @@ function a(e, t) {
|
|
|
18
18
|
return r(e, t);
|
|
19
19
|
}
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
21
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/useBaseUiId.mjs
|
|
22
22
|
function o(e) {
|
|
23
23
|
return a(e, "base-ui");
|
|
24
24
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./error-
|
|
3
|
-
import { n as t, t as n } from "./useIsoLayoutEffect-
|
|
4
|
-
import { n as r, r as i, u as a } from "./useRenderElement-
|
|
5
|
-
import { t as o } from "./useStableCallback-
|
|
2
|
+
import { t as e } from "./error-C8bGkT0l.js";
|
|
3
|
+
import { n as t, t as n } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
4
|
+
import { n as r, r as i, u as a } from "./useRenderElement-BToElZ97.js";
|
|
5
|
+
import { t as o } from "./useStableCallback-CrM0Nb2q.js";
|
|
6
6
|
import { f as s } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
7
7
|
import * as c from "react";
|
|
8
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
8
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/composite/root/CompositeRootContext.mjs
|
|
9
9
|
var l = /*#__PURE__*/ c.createContext(void 0);
|
|
10
10
|
process.env.NODE_ENV !== "production" && (l.displayName = "CompositeRootContext");
|
|
11
11
|
function u(e = !1) {
|
|
@@ -14,7 +14,7 @@ function u(e = !1) {
|
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
17
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/useFocusableWhenDisabled.mjs
|
|
18
18
|
function d(e) {
|
|
19
19
|
let { focusableWhenDisabled: t, disabled: n, composite: r = !1, tabIndex: i = 0, isNativeButton: a } = e, o = r && t !== !1, s = r && t === !1;
|
|
20
20
|
return { props: c.useMemo(() => {
|
|
@@ -33,7 +33,7 @@ function d(e) {
|
|
|
33
33
|
]) };
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
36
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/use-button/useButton.mjs
|
|
37
37
|
function f(a = {}) {
|
|
38
38
|
let { disabled: s = !1, focusableWhenDisabled: l, tabIndex: f = 0, native: h = !0, composite: g } = a, _ = c.useRef(null), v = u(!0), y = g ?? v !== void 0, { props: b } = d({
|
|
39
39
|
focusableWhenDisabled: l,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useControlled-
|
|
3
|
-
import { t } from "./useIsoLayoutEffect-
|
|
4
|
-
import { d as n, l as r, u as i } from "./useRenderElement-
|
|
5
|
-
import { t as a } from "./useStableCallback-
|
|
6
|
-
import {
|
|
7
|
-
import { t as l } from "./
|
|
8
|
-
import { t as u } from "./useAnimationFrame-
|
|
9
|
-
import { i as d, n as f, o as p, t as m } from "./useOpenChangeComplete-
|
|
2
|
+
import { t as e } from "./useControlled-Bu1mahWG.js";
|
|
3
|
+
import { t } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
4
|
+
import { d as n, l as r, u as i } from "./useRenderElement-BToElZ97.js";
|
|
5
|
+
import { t as a } from "./useStableCallback-CrM0Nb2q.js";
|
|
6
|
+
import { t as o } from "./useBaseUiId-voePHgyX.js";
|
|
7
|
+
import { S as s, g as c, t as l } from "./createBaseUIEventDetails-C_dwdqj4.js";
|
|
8
|
+
import { t as u } from "./useAnimationFrame-jkCXMP_8.js";
|
|
9
|
+
import { i as d, n as f, o as p, t as m } from "./useOpenChangeComplete-Bs6gnxd9.js";
|
|
10
10
|
import { l as h } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
11
|
-
import { t as g } from "./addEventListener-
|
|
12
|
-
import { t as _ } from "./useValueAsRef-
|
|
11
|
+
import { t as g } from "./addEventListener-BlQH_qk1.js";
|
|
12
|
+
import { t as _ } from "./useValueAsRef-CfO5zn2c.js";
|
|
13
13
|
import * as v from "react";
|
|
14
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
14
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/collapsible/root/useCollapsibleRoot.mjs
|
|
15
15
|
function y(t) {
|
|
16
|
-
let { open: n, defaultOpen: r, onOpenChange: i, disabled:
|
|
16
|
+
let { open: n, defaultOpen: r, onOpenChange: i, disabled: c } = t, [u, d] = e({
|
|
17
17
|
controlled: n,
|
|
18
18
|
default: r,
|
|
19
19
|
name: "Collapsible",
|
|
20
20
|
state: "open"
|
|
21
|
-
}), { mounted: f, setMounted: m, transitionStatus: h } = p(u, !0, !0), g =
|
|
22
|
-
let t = !u, n =
|
|
21
|
+
}), { mounted: f, setMounted: m, transitionStatus: h } = p(u, !0, !0), g = o(), [_, y] = v.useState(), b = _ ?? g, x = a((e) => {
|
|
22
|
+
let t = !u, n = l(s, e.nativeEvent);
|
|
23
23
|
i(t, n), !n.isCanceled && d(t);
|
|
24
24
|
});
|
|
25
25
|
return v.useMemo(() => ({
|
|
26
|
-
disabled:
|
|
26
|
+
disabled: c,
|
|
27
27
|
handleTrigger: x,
|
|
28
28
|
mounted: f,
|
|
29
29
|
open: u,
|
|
@@ -33,7 +33,7 @@ function y(t) {
|
|
|
33
33
|
setPanelIdState: y,
|
|
34
34
|
transitionStatus: h
|
|
35
35
|
}), [
|
|
36
|
-
|
|
36
|
+
c,
|
|
37
37
|
x,
|
|
38
38
|
f,
|
|
39
39
|
u,
|
|
@@ -45,7 +45,7 @@ function y(t) {
|
|
|
45
45
|
]);
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
48
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/collapsible/root/CollapsibleRootContext.mjs
|
|
49
49
|
var b = /*#__PURE__*/ v.createContext(void 0);
|
|
50
50
|
process.env.NODE_ENV !== "production" && (b.displayName = "CollapsibleRootContext");
|
|
51
51
|
function x() {
|
|
@@ -54,7 +54,7 @@ function x() {
|
|
|
54
54
|
return e;
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
57
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
57
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/collapsible/panel/CollapsiblePanelDataAttributes.mjs
|
|
58
58
|
var S = function(e) {
|
|
59
59
|
return e.open = "data-open", e.closed = "data-closed", e[e.startingStyle = d.startingStyle] = "startingStyle", e[e.endingStyle = d.endingStyle] = "endingStyle", e;
|
|
60
60
|
}({}), C = /*#__PURE__*/ function(e) {
|
|
@@ -68,7 +68,7 @@ var S = function(e) {
|
|
|
68
68
|
width: void 0
|
|
69
69
|
};
|
|
70
70
|
function k(e) {
|
|
71
|
-
let { externalRef: n, hiddenUntilFound: i, id: o, keepMounted:
|
|
71
|
+
let { externalRef: n, hiddenUntilFound: i, id: o, keepMounted: s, mounted: d, onOpenChange: p, open: h, setMounted: y, setOpen: b, transitionStatus: x } = e, C = v.useRef(null), w = v.useRef(null), [T, E] = v.useState(O), D = v.useRef(O), k = v.useRef(!1), M = v.useRef(h), F = v.useRef(!1), [I, L] = v.useState(!1), R = v.useRef(null), z = r(n, C), B = _({
|
|
72
72
|
mounted: d,
|
|
73
73
|
open: h
|
|
74
74
|
}), V = f(C, !1, !1), H = !h && !d, U = I ? "idle" : x, W = h && (M.current || F.current), G = !h && d && w.current === "css-animation" && T.height === void 0 && T.width === void 0 ? D.current : T, K = i && H && w.current !== "css-animation", q = a((e, t = !0) => {
|
|
@@ -103,7 +103,9 @@ function k(e) {
|
|
|
103
103
|
}
|
|
104
104
|
if (t === "css-transition") {
|
|
105
105
|
let t = P(e);
|
|
106
|
-
|
|
106
|
+
if (q(A(e)), !n) return t;
|
|
107
|
+
let r = N(e, "transition-duration", "0s");
|
|
108
|
+
return Y(r), L(!0), t;
|
|
107
109
|
}
|
|
108
110
|
if (t === "css-animation") {
|
|
109
111
|
if (q(A(e)), !n) {
|
|
@@ -116,11 +118,11 @@ function k(e) {
|
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
if (!h && d && (x === "idle" || x === "starting")) {
|
|
119
|
-
if (t === "none") {
|
|
121
|
+
if (M.current = !1, F.current = !1, t === "none") {
|
|
120
122
|
q(O, !1), y(!1);
|
|
121
123
|
return;
|
|
122
124
|
}
|
|
123
|
-
|
|
125
|
+
q(A(e));
|
|
124
126
|
return;
|
|
125
127
|
}
|
|
126
128
|
if (x !== "ending") return;
|
|
@@ -176,11 +178,12 @@ function k(e) {
|
|
|
176
178
|
let e = C.current;
|
|
177
179
|
if (!e) return;
|
|
178
180
|
function t(e) {
|
|
179
|
-
|
|
181
|
+
let t = l(c, e);
|
|
182
|
+
p(!0, t), !t.isCanceled && (k.current = !0, b(!0));
|
|
180
183
|
}
|
|
181
184
|
return g(e, "beforematch", t);
|
|
182
185
|
}, [p, b]);
|
|
183
|
-
let Z =
|
|
186
|
+
let Z = s || i || d || h;
|
|
184
187
|
return {
|
|
185
188
|
height: G.height,
|
|
186
189
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { l as e } from "./useRenderElement-
|
|
3
|
-
import { n as t } from "./useCompositeListItem-
|
|
4
|
-
import { r as n } from "./useButton-
|
|
2
|
+
import { l as e } from "./useRenderElement-BToElZ97.js";
|
|
3
|
+
import { n as t } from "./useCompositeListItem-C8B8UyMD.js";
|
|
4
|
+
import { r as n } from "./useButton-DjF6Owsn.js";
|
|
5
5
|
import * as r from "react";
|
|
6
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
6
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/composite/item/useCompositeItem.mjs
|
|
7
7
|
function i(i = {}) {
|
|
8
8
|
let { highlightItemOnHover: a, highlightedIndex: o, onHighlightedIndexChange: s } = n(), { ref: c, index: l } = t(i), u = o === l, d = r.useRef(null), f = e(c, d);
|
|
9
9
|
return {
|
|
10
|
-
compositeProps:
|
|
10
|
+
compositeProps: {
|
|
11
11
|
tabIndex: u ? 0 : -1,
|
|
12
12
|
onFocus() {
|
|
13
13
|
s(l);
|
|
@@ -18,12 +18,7 @@ function i(i = {}) {
|
|
|
18
18
|
let t = e.hasAttribute("disabled") || e.ariaDisabled === "true";
|
|
19
19
|
!u && !t && e.focus();
|
|
20
20
|
}
|
|
21
|
-
}
|
|
22
|
-
u,
|
|
23
|
-
s,
|
|
24
|
-
l,
|
|
25
|
-
a
|
|
26
|
-
]),
|
|
21
|
+
},
|
|
27
22
|
compositeRef: f,
|
|
28
23
|
index: l
|
|
29
24
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
3
|
import * as t from "react";
|
|
4
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
4
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/composite/list/CompositeListContext.mjs
|
|
5
5
|
var n = /*#__PURE__*/ t.createContext({
|
|
6
6
|
register: () => {},
|
|
7
7
|
unregister: () => {},
|
|
@@ -14,7 +14,7 @@ function r() {
|
|
|
14
14
|
return t.useContext(n);
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
17
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/composite/list/useCompositeListItem.mjs
|
|
18
18
|
var i = /*#__PURE__*/ function(e) {
|
|
19
19
|
return e[e.None = 0] = "None", e[e.GuessFromOrder = 1] = "GuessFromOrder", e;
|
|
20
20
|
}({});
|
|
@@ -57,10 +57,10 @@ function a(n = {}) {
|
|
|
57
57
|
l,
|
|
58
58
|
f,
|
|
59
59
|
v
|
|
60
|
-
]),
|
|
60
|
+
]), {
|
|
61
61
|
ref: b,
|
|
62
62
|
index: _
|
|
63
|
-
}
|
|
63
|
+
};
|
|
64
64
|
}
|
|
65
65
|
//#endregion
|
|
66
66
|
export { a as n, n as r, i as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./error-
|
|
2
|
+
import { t as e } from "./error-C8bGkT0l.js";
|
|
3
3
|
import * as t from "react";
|
|
4
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.
|
|
4
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/useControlled.mjs
|
|
5
5
|
function n({ controlled: n, default: i, name: a, state: o = "value" }) {
|
|
6
6
|
let { current: s } = t.useRef(n !== void 0), [c, l] = t.useState(i), u = s ? n : c;
|
|
7
7
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { b as e, t } from "./createBaseUIEventDetails-C_dwdqj4.js";
|
|
3
|
+
import { d as n, f as r, l as i } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
4
|
+
import { t as a } from "./addEventListener-BlQH_qk1.js";
|
|
5
|
+
import { t as o } from "./owner-CyZnQOKt.js";
|
|
6
|
+
import { H as s, et as c } from "./popupStateMapping-C8W76brO.js";
|
|
7
|
+
import { F as l } from "./composite-B-tEa-Zg.js";
|
|
8
|
+
import { t as u } from "./engine-ChH4dTze.js";
|
|
9
|
+
import { n as d } from "./useTimeout-B0afjWAz.js";
|
|
10
|
+
import { n as f, r as p, t as m } from "./shadowDom-BACsbimN.js";
|
|
11
|
+
import { l as h, s as g, u as _ } from "./shim-BX-2V17R.js";
|
|
12
|
+
import * as v from "react";
|
|
13
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/hooks/useFocus.mjs
|
|
14
|
+
var y = l && u;
|
|
15
|
+
function b(l, u = {}) {
|
|
16
|
+
let { enabled: b = !0, delay: x } = u, S = "rootStore" in l ? l.rootStore : l, { events: C, dataRef: w } = S.context, T = v.useRef(!1), E = v.useRef(null), D = v.useRef(!0), O = d();
|
|
17
|
+
v.useEffect(() => {
|
|
18
|
+
let e = S.select("domReferenceElement");
|
|
19
|
+
if (!b) return;
|
|
20
|
+
let t = i(e);
|
|
21
|
+
function n() {
|
|
22
|
+
let e = S.select("domReferenceElement");
|
|
23
|
+
!S.select("open") && r(e) && e === m(o(e)) && (T.current = !0);
|
|
24
|
+
}
|
|
25
|
+
function s() {
|
|
26
|
+
D.current = !0;
|
|
27
|
+
}
|
|
28
|
+
function l() {
|
|
29
|
+
D.current = !1;
|
|
30
|
+
}
|
|
31
|
+
return c(a(t, "blur", n), y && a(t, "keydown", s, !0), y && a(t, "pointerdown", l, !0));
|
|
32
|
+
}, [S, b]), v.useEffect(() => {
|
|
33
|
+
if (!b) return;
|
|
34
|
+
function e(e) {
|
|
35
|
+
if (e.reason === "trigger-press" || e.reason === "escape-key") {
|
|
36
|
+
let e = S.select("domReferenceElement");
|
|
37
|
+
n(e) && (E.current = e, T.current = !0);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return C.on("openchange", e), () => {
|
|
41
|
+
C.off("openchange", e);
|
|
42
|
+
};
|
|
43
|
+
}, [
|
|
44
|
+
C,
|
|
45
|
+
b,
|
|
46
|
+
S
|
|
47
|
+
]);
|
|
48
|
+
let k = v.useMemo(() => {
|
|
49
|
+
function r() {
|
|
50
|
+
T.current = !1, E.current = null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
onMouseLeave() {
|
|
54
|
+
r();
|
|
55
|
+
},
|
|
56
|
+
onFocus(i) {
|
|
57
|
+
let a = i.currentTarget;
|
|
58
|
+
if (T.current) {
|
|
59
|
+
if (E.current === a) return;
|
|
60
|
+
r();
|
|
61
|
+
}
|
|
62
|
+
let o = p(i.nativeEvent);
|
|
63
|
+
if (n(o)) {
|
|
64
|
+
if (y && !i.relatedTarget) {
|
|
65
|
+
if (!D.current && !h(o)) return;
|
|
66
|
+
} else if (!_(o)) return;
|
|
67
|
+
}
|
|
68
|
+
let s = g(i.relatedTarget, S.context.triggerElements), { nativeEvent: c, currentTarget: l } = i, u = typeof x == "function" ? x() : x;
|
|
69
|
+
if (S.select("open") && s || u === 0 || u === void 0) {
|
|
70
|
+
S.setOpen(!0, t(e, c, l));
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
O.start(u, () => {
|
|
74
|
+
T.current || S.setOpen(!0, t(e, c, l));
|
|
75
|
+
});
|
|
76
|
+
},
|
|
77
|
+
onBlur(i) {
|
|
78
|
+
r();
|
|
79
|
+
let a = i.relatedTarget, c = i.nativeEvent, l = n(a) && a.hasAttribute(s("focus-guard")) && a.getAttribute("data-type") === "outside";
|
|
80
|
+
O.start(0, () => {
|
|
81
|
+
let n = S.select("domReferenceElement"), r = m(o(n));
|
|
82
|
+
!a && r === n || f(w.current.floatingContext?.refs.floating.current, r) || f(n, r) || l || g(a ?? r, S.context.triggerElements) || S.setOpen(!1, t(e, c));
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
}, [
|
|
87
|
+
w,
|
|
88
|
+
x,
|
|
89
|
+
S,
|
|
90
|
+
O
|
|
91
|
+
]);
|
|
92
|
+
return v.useMemo(() => b ? {
|
|
93
|
+
reference: k,
|
|
94
|
+
trigger: k
|
|
95
|
+
} : {}, [b, k]);
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
98
|
+
export { b as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.
|
|
3
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/safeReact.mjs
|
|
4
4
|
var t = { ...e }, n = typeof document < "u" ? e.useLayoutEffect : () => {};
|
|
5
5
|
//#endregion
|
|
6
6
|
export { t as n, n as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
3
|
-
import { f as t, s as n } from "./useRenderElement-
|
|
4
|
-
import { t as r } from "./useStableCallback-
|
|
5
|
-
import { t as i } from "./useBaseUiId-
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
|
+
import { f as t, s as n } from "./useRenderElement-BToElZ97.js";
|
|
4
|
+
import { t as r } from "./useStableCallback-CrM0Nb2q.js";
|
|
5
|
+
import { t as i } from "./useBaseUiId-voePHgyX.js";
|
|
6
6
|
import { d as a } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
7
|
-
import { t as o } from "./LabelableContext-
|
|
7
|
+
import { t as o } from "./LabelableContext-C6DIbcnY.js";
|
|
8
8
|
import * as s from "react";
|
|
9
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
9
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/labelable-provider/useLabelableId.mjs
|
|
10
10
|
function c(c = {}) {
|
|
11
11
|
let { id: l, implicit: u = !1, controlRef: d } = c, { controlId: f, registerControlId: p } = o(), m = i(l), h = u ? f : void 0, g = t(() => Symbol("labelable-control")), _ = s.useRef(!1), v = s.useRef(l != null), y = r(() => {
|
|
12
12
|
!_.current || p === n || (_.current = !1, p(g.current, void 0));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
//#region ../../node_modules/.bun/@base-ui+utils@0.
|
|
3
|
+
//#region ../../node_modules/.bun/@base-ui+utils@0.3.1+fce4ea6354698f9c/node_modules/@base-ui/utils/useOnMount.mjs
|
|
4
4
|
var t = [];
|
|
5
5
|
function n(n) {
|
|
6
6
|
e.useEffect(n, t);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
3
|
-
import { t } from "./useStableCallback-
|
|
4
|
-
import { n, t as r } from "./useAnimationFrame-
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
|
+
import { t } from "./useStableCallback-CrM0Nb2q.js";
|
|
4
|
+
import { n, t as r } from "./useAnimationFrame-jkCXMP_8.js";
|
|
5
5
|
import * as i from "react";
|
|
6
6
|
import * as a from "react-dom";
|
|
7
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
7
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/useTransitionStatus.mjs
|
|
8
8
|
function o(t, n = !1, a = !1) {
|
|
9
9
|
let [o, s] = i.useState(t && n ? "idle" : void 0), [c, l] = i.useState(t);
|
|
10
10
|
return t && !c && (l(!0), s("starting")), !t && c && o !== "ending" && !a && s("ending"), !t && !c && o === "ending" && s(void 0), e(() => {
|
|
@@ -50,19 +50,19 @@ function o(t, n = !1, a = !1) {
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
53
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/stateAttributesMapping.mjs
|
|
54
54
|
var s = /*#__PURE__*/ function(e) {
|
|
55
55
|
return e.startingStyle = "data-starting-style", e.endingStyle = "data-ending-style", e;
|
|
56
56
|
}({}), c = { [s.startingStyle]: "" }, l = { [s.endingStyle]: "" }, u = { transitionStatus(e) {
|
|
57
57
|
return e === "starting" ? c : e === "ending" ? l : null;
|
|
58
58
|
} };
|
|
59
59
|
//#endregion
|
|
60
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
60
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/utils/resolveRef.mjs
|
|
61
61
|
function d(e) {
|
|
62
62
|
return e == null ? e : "current" in e ? e.current : e;
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
65
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/useAnimationsFinished.mjs
|
|
66
66
|
function f(e, r = !1, i = !0) {
|
|
67
67
|
let o = n();
|
|
68
68
|
return t((t, n = null) => {
|
|
@@ -107,7 +107,7 @@ function f(e, r = !1, i = !0) {
|
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
//#endregion
|
|
110
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
110
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/internals/useOpenChangeComplete.mjs
|
|
111
111
|
function p(e) {
|
|
112
112
|
let { enabled: n = !0, open: r, ref: a, onComplete: o } = e, s = t(o), c = f(a, r, !1);
|
|
113
113
|
i.useEffect(() => {
|