@arcadeai/design-system 5.0.0 → 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.d.ts +5 -1
- package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts.map +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.js +26 -32
- 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.d.ts.map +1 -1
- package/dist/components/ui/organisms/mcp-selection-summary-bar.js +30 -29
- 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,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useIsoLayoutEffect-
|
|
3
|
-
import { f as t } from "./useRenderElement-
|
|
4
|
-
import { t as n } from "./useStableCallback-
|
|
5
|
-
import { t as r, x as i } from "./createBaseUIEventDetails-
|
|
6
|
-
import { t as a } from "./useOnMount-
|
|
2
|
+
import { t as e } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
3
|
+
import { f as t } from "./useRenderElement-BToElZ97.js";
|
|
4
|
+
import { t as n } from "./useStableCallback-CrM0Nb2q.js";
|
|
5
|
+
import { t as r, x as i } from "./createBaseUIEventDetails-C_dwdqj4.js";
|
|
6
|
+
import { t as a } from "./useOnMount-Chlmm7JB.js";
|
|
7
7
|
import { d as o } from "./floating-ui.utils.dom-5U5b4xPf.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
8
|
+
import { t as s } from "./addEventListener-BlQH_qk1.js";
|
|
9
|
+
import { t as c } from "./useValueAsRef-CfO5zn2c.js";
|
|
10
|
+
import { t as l } from "./owner-CyZnQOKt.js";
|
|
11
|
+
import { M as u, N as d, W as f, et as p } from "./popupStateMapping-C8W76brO.js";
|
|
12
|
+
import { O as m } from "./composite-B-tEa-Zg.js";
|
|
13
|
+
import { n as h, t as g } from "./useTimeout-B0afjWAz.js";
|
|
14
|
+
import { n as _, r as v } from "./shadowDom-BACsbimN.js";
|
|
15
|
+
import { a as y, s as b } from "./shim-BX-2V17R.js";
|
|
16
16
|
import * as x from "react";
|
|
17
17
|
import * as S from "react-dom";
|
|
18
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
18
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/hooks/useHoverShared.mjs
|
|
19
19
|
function C(e, t) {
|
|
20
|
-
return t != null && !
|
|
20
|
+
return t != null && !m(t) ? 0 : typeof e == "function" ? e() : e;
|
|
21
21
|
}
|
|
22
22
|
function w(e, t, n) {
|
|
23
23
|
let r = C(e, n);
|
|
@@ -33,10 +33,10 @@ function D(e) {
|
|
|
33
33
|
return e?.includes("mouse") && e !== "mousedown";
|
|
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/floating-ui-react/hooks/useHoverInteractionSharedState.mjs
|
|
37
37
|
var O = class e {
|
|
38
38
|
constructor() {
|
|
39
|
-
this.pointerType = void 0, this.interactedInside = !1, this.handler = void 0, this.blockMouseMove = !0, this.performedPointerEventsMutation = !1, this.pointerEventsScopeElement = null, this.pointerEventsReferenceElement = null, this.pointerEventsFloatingElement = null, this.restTimeoutPending = !1, this.openChangeTimeout = new
|
|
39
|
+
this.pointerType = void 0, this.interactedInside = !1, this.handler = void 0, this.blockMouseMove = !0, this.performedPointerEventsMutation = !1, this.pointerEventsScopeElement = null, this.pointerEventsReferenceElement = null, this.pointerEventsFloatingElement = null, this.restTimeoutPending = !1, this.openChangeTimeout = new g(), this.restTimeout = new g(), this.handleCloseOptions = void 0;
|
|
40
40
|
}
|
|
41
41
|
static create() {
|
|
42
42
|
return new e();
|
|
@@ -60,9 +60,9 @@ function M(e) {
|
|
|
60
60
|
return n.hoverInteractionState ||= r, a(n.hoverInteractionState.disposeEffect), n.hoverInteractionState;
|
|
61
61
|
}
|
|
62
62
|
//#endregion
|
|
63
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
63
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/hooks/useHoverFloatingInteraction.mjs
|
|
64
64
|
function N(t, a = {}) {
|
|
65
|
-
let { enabled:
|
|
65
|
+
let { enabled: c = !0, closeDelay: m = 0, nodeId: g } = a, S = "rootStore" in t ? t.rootStore : t, C = S.useState("open"), T = S.useState("floatingElement"), O = S.useState("domReferenceElement"), { dataRef: k } = S.context, N = d(), P = u(), F = M(S), I = h(), L = n(() => E(k.current.openEvent?.type, F.interactedInside)), R = n(() => D(k.current.openEvent?.type)), z = n(() => {
|
|
66
66
|
A(F);
|
|
67
67
|
});
|
|
68
68
|
e(() => {
|
|
@@ -72,12 +72,12 @@ function N(t, a = {}) {
|
|
|
72
72
|
F,
|
|
73
73
|
z
|
|
74
74
|
]), x.useEffect(() => z, [z]), e(() => {
|
|
75
|
-
if (
|
|
76
|
-
let e = O, t = T, n =
|
|
75
|
+
if (c && C && F.handleCloseOptions?.blockPointerEvents && R() && o(O) && T) {
|
|
76
|
+
let e = O, t = T, n = l(T), r = N?.nodesRef.current.find((e) => e.id === P)?.context?.elements.floating;
|
|
77
77
|
r && (r.style.pointerEvents = "");
|
|
78
|
-
let i = F.pointerEventsScopeElement === t ? null : F.pointerEventsScopeElement, a = r === t ? null : r;
|
|
78
|
+
let i = F.pointerEventsScopeElement === t ? null : F.pointerEventsScopeElement, a = r === t ? null : r, o = F.handleCloseOptions?.getScope?.() ?? i ?? a ?? e.closest("[data-rootownerid]") ?? n.body;
|
|
79
79
|
return j(F, {
|
|
80
|
-
scopeElement:
|
|
80
|
+
scopeElement: o,
|
|
81
81
|
referenceElement: e,
|
|
82
82
|
floatingElement: t
|
|
83
83
|
}), () => {
|
|
@@ -85,7 +85,7 @@ function N(t, a = {}) {
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
}, [
|
|
88
|
-
|
|
88
|
+
c,
|
|
89
89
|
C,
|
|
90
90
|
O,
|
|
91
91
|
T,
|
|
@@ -95,58 +95,59 @@ function N(t, a = {}) {
|
|
|
95
95
|
P,
|
|
96
96
|
z
|
|
97
97
|
]), x.useEffect(() => {
|
|
98
|
-
if (!
|
|
98
|
+
if (!c) return;
|
|
99
99
|
function e() {
|
|
100
|
-
return !!(N && P &&
|
|
100
|
+
return !!(N && P && f(N.nodesRef.current, P).length > 0);
|
|
101
101
|
}
|
|
102
102
|
function t(e) {
|
|
103
|
-
let t = w(
|
|
103
|
+
let t = w(m, "close", F.pointerType), n = () => {
|
|
104
104
|
S.setOpen(!1, r(i, e)), N?.events.emit("floating.closed", e);
|
|
105
105
|
};
|
|
106
106
|
t ? F.openChangeTimeout.start(t, n) : (F.openChangeTimeout.clear(), n());
|
|
107
107
|
}
|
|
108
108
|
function n(e) {
|
|
109
|
-
let t =
|
|
110
|
-
if (!
|
|
109
|
+
let t = v(e);
|
|
110
|
+
if (!y(t)) {
|
|
111
111
|
F.interactedInside = !1;
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
114
|
F.interactedInside = t?.closest("[aria-haspopup]") != null;
|
|
115
115
|
}
|
|
116
116
|
function a() {
|
|
117
|
-
F.openChangeTimeout.clear(), I.clear(), N?.events.off("floating.closed",
|
|
117
|
+
F.openChangeTimeout.clear(), I.clear(), N?.events.off("floating.closed", u), z();
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function l(n) {
|
|
120
120
|
if (e() && N) {
|
|
121
|
-
N.events.on("floating.closed",
|
|
121
|
+
N.events.on("floating.closed", u);
|
|
122
122
|
return;
|
|
123
123
|
}
|
|
124
|
-
if (
|
|
125
|
-
let r = k.current.floatingContext?.nodeId ??
|
|
126
|
-
if (!(N && r && o(i) &&
|
|
124
|
+
if (b(n.relatedTarget, S.context.triggerElements)) return;
|
|
125
|
+
let r = k.current.floatingContext?.nodeId ?? g, i = n.relatedTarget;
|
|
126
|
+
if (!(N && r && o(i) && f(N.nodesRef.current, r, !1).some((e) => _(e.context?.elements.floating, i)))) {
|
|
127
127
|
if (F.handler) {
|
|
128
128
|
F.handler(n);
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
|
-
z(), L()
|
|
131
|
+
z(), R() && !L() && t(n);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function u(t) {
|
|
135
135
|
!N || !P || e() || I.start(0, () => {
|
|
136
|
-
N.events.off("floating.closed",
|
|
136
|
+
N.events.off("floating.closed", u), S.setOpen(!1, r(i, t)), N.events.emit("floating.closed", t);
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
let
|
|
140
|
-
return d
|
|
141
|
-
N?.events.off("floating.closed",
|
|
139
|
+
let d = T;
|
|
140
|
+
return p(d && s(d, "mouseenter", a), d && s(d, "mouseleave", l), d && s(d, "pointerdown", n, !0), () => {
|
|
141
|
+
N?.events.off("floating.closed", u);
|
|
142
142
|
});
|
|
143
143
|
}, [
|
|
144
|
-
|
|
144
|
+
c,
|
|
145
145
|
T,
|
|
146
146
|
S,
|
|
147
147
|
k,
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
m,
|
|
149
|
+
g,
|
|
150
|
+
R,
|
|
150
151
|
L,
|
|
151
152
|
z,
|
|
152
153
|
F,
|
|
@@ -156,17 +157,17 @@ function N(t, a = {}) {
|
|
|
156
157
|
]);
|
|
157
158
|
}
|
|
158
159
|
//#endregion
|
|
159
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
160
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/hooks/useHoverReferenceInteraction.mjs
|
|
160
161
|
var P = { current: null };
|
|
161
162
|
function F(e, t = {}) {
|
|
162
|
-
let { enabled: a = !0, delay:
|
|
163
|
+
let { enabled: a = !0, delay: u = 0, handleClose: f = null, mouseOnly: h = !1, restMs: g = 0, move: y = !0, triggerElementRef: C = P, externalTree: D, isActiveTrigger: O = !0, getHandleCloseContext: k, isClosing: N, shouldOpen: F } = t, I = "rootStore" in e ? e.rootStore : e, { dataRef: L, events: R } = I.context, z = d(D), B = M(I), V = x.useRef(!1), H = c(f), U = c(u), W = c(g), G = c(a), K = c(F), q = c(N), J = n(() => E(L.current.openEvent?.type, B.interactedInside)), Y = n(() => K.current?.() !== !1), X = n((e, t, n) => {
|
|
163
164
|
let r = I.context.triggerElements;
|
|
164
|
-
if (r.hasElement(t)) return !e || !
|
|
165
|
+
if (r.hasElement(t)) return !e || !_(e, t);
|
|
165
166
|
if (!o(n)) return !1;
|
|
166
167
|
let i = n;
|
|
167
|
-
return r.hasMatchingElement((e) =>
|
|
168
|
+
return r.hasMatchingElement((e) => _(e, i)) && (!e || !_(e, i));
|
|
168
169
|
}), Z = n(() => {
|
|
169
|
-
B.handler &&= (
|
|
170
|
+
B.handler &&= (l(I.select("domReferenceElement")).removeEventListener("mousemove", B.handler), void 0);
|
|
170
171
|
}), Q = n(() => {
|
|
171
172
|
A(B);
|
|
172
173
|
});
|
|
@@ -194,34 +195,34 @@ function F(e, t = {}) {
|
|
|
194
195
|
let t = C.current ?? (O ? I.select("domReferenceElement") : null);
|
|
195
196
|
if (!o(t)) return;
|
|
196
197
|
function n(e) {
|
|
197
|
-
if (B.openChangeTimeout.clear(), B.blockMouseMove = !1,
|
|
198
|
-
let t = T(W.current), n = w(U.current, "open", B.pointerType), a =
|
|
198
|
+
if (B.openChangeTimeout.clear(), B.blockMouseMove = !1, h && !m(B.pointerType)) return;
|
|
199
|
+
let t = T(W.current), n = w(U.current, "open", B.pointerType), a = v(e), s = e.currentTarget ?? null, c = I.select("domReferenceElement"), l = s;
|
|
199
200
|
if (o(a) && !I.context.triggerElements.hasElement(a)) {
|
|
200
|
-
for (let e of I.context.triggerElements.elements()) if (
|
|
201
|
-
|
|
201
|
+
for (let e of I.context.triggerElements.elements()) if (_(e, a)) {
|
|
202
|
+
l = e;
|
|
202
203
|
break;
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
|
-
o(
|
|
206
|
-
let
|
|
206
|
+
o(s) && o(c) && !I.context.triggerElements.hasElement(s) && _(s, c) && (l = c);
|
|
207
|
+
let u = l == null ? !1 : X(c, l, a), d = I.select("open"), f = q.current?.() ?? I.select("transitionStatus") === "ending", p = !d && f && V.current, g = !u && o(l) && o(c) && _(c, l) && p, y = t > 0 && !n, b = u && (d || p) || g, x = !d || u;
|
|
207
208
|
if (b) {
|
|
208
|
-
Y() && I.setOpen(!0, r(i, e,
|
|
209
|
+
Y() && I.setOpen(!0, r(i, e, l));
|
|
209
210
|
return;
|
|
210
211
|
}
|
|
211
212
|
y || (n ? B.openChangeTimeout.start(n, () => {
|
|
212
|
-
x && Y() && I.setOpen(!0, r(i, e,
|
|
213
|
-
}) : x && Y() && I.setOpen(!0, r(i, e,
|
|
213
|
+
x && Y() && I.setOpen(!0, r(i, e, l));
|
|
214
|
+
}) : x && Y() && I.setOpen(!0, r(i, e, l)));
|
|
214
215
|
}
|
|
215
|
-
function
|
|
216
|
+
function c(t) {
|
|
216
217
|
if (J()) {
|
|
217
218
|
Q();
|
|
218
219
|
return;
|
|
219
220
|
}
|
|
220
221
|
Z();
|
|
221
|
-
let n =
|
|
222
|
+
let n = l(I.select("domReferenceElement"));
|
|
222
223
|
B.restTimeout.clear(), B.restTimeoutPending = !1;
|
|
223
224
|
let r = L.current.floatingContext ?? k?.();
|
|
224
|
-
if (!
|
|
225
|
+
if (!b(t.relatedTarget, I.context.triggerElements)) {
|
|
225
226
|
if (H.current && r) {
|
|
226
227
|
I.select("open") || B.openChangeTimeout.clear();
|
|
227
228
|
let i = C.current;
|
|
@@ -236,10 +237,10 @@ function F(e, t = {}) {
|
|
|
236
237
|
}), n.addEventListener("mousemove", B.handler), B.handler(t);
|
|
237
238
|
return;
|
|
238
239
|
}
|
|
239
|
-
(B.pointerType !== "touch" || !
|
|
240
|
+
(B.pointerType !== "touch" || !_(I.select("floatingElement"), t.relatedTarget)) && e(t);
|
|
240
241
|
}
|
|
241
242
|
}
|
|
242
|
-
return
|
|
243
|
+
return y ? p(s(t, "mousemove", n, { once: !0 }), s(t, "mouseenter", n), s(t, "mouseleave", c)) : p(s(t, "mouseenter", n), s(t, "mouseleave", c));
|
|
243
244
|
}, [
|
|
244
245
|
Z,
|
|
245
246
|
Q,
|
|
@@ -252,8 +253,8 @@ function F(e, t = {}) {
|
|
|
252
253
|
O,
|
|
253
254
|
X,
|
|
254
255
|
J,
|
|
255
|
-
|
|
256
|
-
|
|
256
|
+
h,
|
|
257
|
+
y,
|
|
257
258
|
W,
|
|
258
259
|
C,
|
|
259
260
|
z,
|
|
@@ -271,14 +272,17 @@ function F(e, t = {}) {
|
|
|
271
272
|
onPointerEnter: e,
|
|
272
273
|
onMouseMove(e) {
|
|
273
274
|
let { nativeEvent: t } = e, n = e.currentTarget, a = I.select("domReferenceElement"), o = I.select("open"), s = X(a, n, e.target);
|
|
274
|
-
if (
|
|
275
|
+
if (h && !m(B.pointerType)) return;
|
|
275
276
|
if (o && s && B.handleCloseOptions?.blockPointerEvents) {
|
|
276
277
|
let e = I.select("floatingElement");
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
278
|
+
if (e) {
|
|
279
|
+
let t = B.handleCloseOptions?.getScope?.() ?? n.ownerDocument.body;
|
|
280
|
+
j(B, {
|
|
281
|
+
scopeElement: t,
|
|
282
|
+
referenceElement: n,
|
|
283
|
+
floatingElement: e
|
|
284
|
+
});
|
|
285
|
+
}
|
|
282
286
|
}
|
|
283
287
|
let c = T(W.current);
|
|
284
288
|
if (o && !s || c === 0 || !s && B.restTimeoutPending && e.movementX ** 2 + e.movementY ** 2 < 2) return;
|
|
@@ -298,14 +302,14 @@ function F(e, t = {}) {
|
|
|
298
302
|
B,
|
|
299
303
|
J,
|
|
300
304
|
X,
|
|
301
|
-
|
|
305
|
+
h,
|
|
302
306
|
I,
|
|
303
307
|
W,
|
|
304
308
|
Y
|
|
305
309
|
]);
|
|
306
310
|
}
|
|
307
311
|
//#endregion
|
|
308
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
312
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/floating-ui-react/safePolygon.mjs
|
|
309
313
|
var I = .1, L = I * I, R = .5;
|
|
310
314
|
function z(e, t, n, r, i, a) {
|
|
311
315
|
return r >= t != a >= t && e <= (i - n) * (t - r) / (a - r) + n;
|
|
@@ -321,90 +325,90 @@ function H(e, t, n, r, i, a) {
|
|
|
321
325
|
return e >= Math.min(n, i) && e <= Math.max(n, i) && t >= Math.min(r, a) && t <= Math.max(r, a);
|
|
322
326
|
}
|
|
323
327
|
function U(e = {}) {
|
|
324
|
-
let { blockPointerEvents: t = !1 } = e, n = new
|
|
325
|
-
let
|
|
326
|
-
function
|
|
327
|
-
let n = performance.now(), r = n -
|
|
328
|
-
if (
|
|
329
|
-
let i = e -
|
|
330
|
-
return
|
|
328
|
+
let { blockPointerEvents: t = !1 } = e, n = new g(), r = ({ x: e, y: t, placement: r, elements: i, onClose: a, nodeId: s, tree: c }) => {
|
|
329
|
+
let l = r?.split("-")[0], u = !1, d = null, p = null, m = typeof performance < "u" ? performance.now() : 0;
|
|
330
|
+
function h(e, t) {
|
|
331
|
+
let n = performance.now(), r = n - m;
|
|
332
|
+
if (d === null || p === null || r === 0) return d = e, p = t, m = n, !1;
|
|
333
|
+
let i = e - d, a = t - p, o = i * i + a * a, s = r * r * L;
|
|
334
|
+
return d = e, p = t, m = n, o < s;
|
|
331
335
|
}
|
|
332
|
-
function
|
|
336
|
+
function g() {
|
|
333
337
|
n.clear(), a();
|
|
334
338
|
}
|
|
335
339
|
return function(r) {
|
|
336
340
|
n.clear();
|
|
337
|
-
let a = i.domReference,
|
|
338
|
-
if (!a || !
|
|
339
|
-
let { clientX:
|
|
340
|
-
if (x && (
|
|
341
|
-
if (S && (
|
|
342
|
-
|
|
341
|
+
let a = i.domReference, d = i.floating;
|
|
342
|
+
if (!a || !d || l == null || e == null || t == null) return;
|
|
343
|
+
let { clientX: p, clientY: m } = r, y = v(r), b = r.type === "mouseleave", x = _(d, y), S = _(a, y);
|
|
344
|
+
if (x && (u = !0, !b)) return;
|
|
345
|
+
if (S && (u = !1, !b)) {
|
|
346
|
+
u = !0;
|
|
343
347
|
return;
|
|
344
348
|
}
|
|
345
|
-
if (b && o(r.relatedTarget) &&
|
|
349
|
+
if (b && o(r.relatedTarget) && _(d, r.relatedTarget)) return;
|
|
346
350
|
function C() {
|
|
347
|
-
return !!(
|
|
351
|
+
return !!(c && f(c.nodesRef.current, s).length > 0);
|
|
348
352
|
}
|
|
349
353
|
function w() {
|
|
350
|
-
C() ||
|
|
354
|
+
C() || g();
|
|
351
355
|
}
|
|
352
356
|
if (C()) return;
|
|
353
|
-
let T = a.getBoundingClientRect(), E =
|
|
354
|
-
if (
|
|
357
|
+
let T = a.getBoundingClientRect(), E = d.getBoundingClientRect(), D = e > E.right - E.width / 2, O = t > E.bottom - E.height / 2, k = E.width > T.width, A = E.height > T.height, j = (k ? T : E).left, M = (k ? T : E).right, N = (A ? T : E).top, P = (A ? T : E).bottom;
|
|
358
|
+
if (l === "top" && t >= T.bottom - 1 || l === "bottom" && t <= T.top + 1 || l === "left" && e >= T.right - 1 || l === "right" && e <= T.left + 1) {
|
|
355
359
|
w();
|
|
356
360
|
return;
|
|
357
361
|
}
|
|
358
362
|
let F = !1;
|
|
359
|
-
switch (
|
|
363
|
+
switch (l) {
|
|
360
364
|
case "top":
|
|
361
|
-
F = H(
|
|
365
|
+
F = H(p, m, j, T.top + 1, M, E.bottom - 1);
|
|
362
366
|
break;
|
|
363
367
|
case "bottom":
|
|
364
|
-
F = H(
|
|
368
|
+
F = H(p, m, j, E.top + 1, M, T.bottom - 1);
|
|
365
369
|
break;
|
|
366
370
|
case "left":
|
|
367
|
-
F = H(
|
|
371
|
+
F = H(p, m, E.right - 1, P, T.left + 1, N);
|
|
368
372
|
break;
|
|
369
373
|
case "right":
|
|
370
|
-
F = H(
|
|
374
|
+
F = H(p, m, T.right - 1, P, E.left + 1, N);
|
|
371
375
|
break;
|
|
372
376
|
default:
|
|
373
377
|
}
|
|
374
378
|
if (F) return;
|
|
375
|
-
if (
|
|
379
|
+
if (u && !V(p, m, T)) {
|
|
376
380
|
w();
|
|
377
381
|
return;
|
|
378
382
|
}
|
|
379
|
-
if (!b &&
|
|
383
|
+
if (!b && h(p, m)) {
|
|
380
384
|
w();
|
|
381
385
|
return;
|
|
382
386
|
}
|
|
383
387
|
let I = !1;
|
|
384
|
-
switch (
|
|
388
|
+
switch (l) {
|
|
385
389
|
case "top": {
|
|
386
390
|
let n = k ? R / 2 : R * 4, r = k || D ? e + n : e - n, i = k ? e - n : D ? e + n : e - n, a = t + R + 1, o = D || k ? E.bottom - R : E.top, s = D ? k ? E.bottom - R : E.top : E.bottom - R;
|
|
387
|
-
I = B(
|
|
391
|
+
I = B(p, m, r, a, i, a, E.left, o, E.right, s);
|
|
388
392
|
break;
|
|
389
393
|
}
|
|
390
394
|
case "bottom": {
|
|
391
395
|
let n = k ? R / 2 : R * 4, r = k || D ? e + n : e - n, i = k ? e - n : D ? e + n : e - n, a = t - R, o = D || k ? E.top + R : E.bottom, s = D ? k ? E.top + R : E.bottom : E.top + R;
|
|
392
|
-
I = B(
|
|
396
|
+
I = B(p, m, r, a, i, a, E.left, o, E.right, s);
|
|
393
397
|
break;
|
|
394
398
|
}
|
|
395
399
|
case "left": {
|
|
396
400
|
let n = A ? R / 2 : R * 4, r = A || O ? t + n : t - n, i = A ? t - n : O ? t + n : t - n, a = e + R + 1, o = O || A ? E.right - R : E.left, s = O ? A ? E.right - R : E.left : E.right - R;
|
|
397
|
-
I = B(
|
|
401
|
+
I = B(p, m, o, E.top, s, E.bottom, a, r, a, i);
|
|
398
402
|
break;
|
|
399
403
|
}
|
|
400
404
|
case "right": {
|
|
401
405
|
let n = A ? R / 2 : R * 4, r = A || O ? t + n : t - n, i = A ? t - n : O ? t + n : t - n, a = e - R, o = O || A ? E.left + R : E.right, s = O ? A ? E.left + R : E.right : E.left + R;
|
|
402
|
-
I = B(
|
|
406
|
+
I = B(p, m, a, r, a, i, o, E.top, s, E.bottom);
|
|
403
407
|
break;
|
|
404
408
|
}
|
|
405
409
|
default:
|
|
406
410
|
}
|
|
407
|
-
I ?
|
|
411
|
+
I ? u || n.start(40, w) : w();
|
|
408
412
|
};
|
|
409
413
|
};
|
|
410
414
|
return r.__options = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./sql-
|
|
1
|
+
import { t as e } from "./sql-BHUsfCgB.js";
|
|
2
2
|
//#region ../../node_modules/.bun/@shikijs+langs@3.23.0/node_modules/@shikijs/langs/dist/sas.mjs
|
|
3
3
|
var t = Object.freeze(JSON.parse("{\"displayName\":\"SAS\",\"fileTypes\":[\"sas\"],\"foldingStartMarker\":\"(?i:(proc|data|%macro).*;$)\",\"foldingStopMarker\":\"(?i:(run|quit|%mend)\\\\s?);\",\"name\":\"sas\",\"patterns\":[{\"include\":\"#starComment\"},{\"include\":\"#blockComment\"},{\"include\":\"#macro\"},{\"include\":\"#constant\"},{\"include\":\"#quote\"},{\"include\":\"#operator\"},{\"begin\":\"\\\\b(?i:(data))\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.sas\"}},\"end\":\"(;)\",\"patterns\":[{\"include\":\"#blockComment\"},{\"include\":\"#dataSet\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.sas\"},\"2\":{\"name\":\"keyword.other.sas\"}},\"match\":\"(?i:(stack|pgm|view|source)\\\\s?=\\\\s?|(debug|nesting|nolist))\"}]},{\"begin\":\"\\\\b(?i:(set|update|modify|merge))\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"entity.name.class.sas\"},\"3\":{\"name\":\"entity.name.class.sas\"}},\"end\":\"(;)\",\"patterns\":[{\"include\":\"#blockComment\"},{\"include\":\"#dataSet\"}]},{\"match\":\"(?i:\\\\b(if|while|until|for|do|end|then|else|run|quit|cancel|options)\\\\b)\",\"name\":\"keyword.control.sas\"},{\"captures\":{\"1\":{\"name\":\"support.class.sas\"},\"3\":{\"name\":\"entity.name.function.sas\"}},\"match\":\"(?i:(%(bquote|do|else|end|eval|global|goto|if|inc|include|index|input|length|let|list|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qscan|qsysfunc|quote|run|scan|str|substr|syscall|sysevalf|sysexec|sysfunc|sysrc|then|to|unquote|upcase|until|while|window))\\\\b)\\\\s*(\\\\w*)\",\"name\":\"keyword.other.sas\"},{\"begin\":\"(?i:\\\\b(proc\\\\s*(sql))\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"support.class.sas\"}},\"end\":\"(?i:\\\\b(quit)\\\\s*;)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.sas\"}},\"name\":\"meta.sql.sas\",\"patterns\":[{\"include\":\"#starComment\"},{\"include\":\"#blockComment\"},{\"include\":\"source.sql\"}]},{\"match\":\"(?i:\\\\b(by|label|format)\\\\b)\",\"name\":\"keyword.datastep.sas\"},{\"captures\":{\"1\":{\"name\":\"support.function.sas\"},\"2\":{\"name\":\"support.class.sas\"}},\"match\":\"(?i:\\\\b(proc (\\\\w+))\\\\b)\",\"name\":\"meta.function-call.sas\"},{\"match\":\"(?i:\\\\b(_(?:n_|error_))\\\\b)\",\"name\":\"variable.language.sas\"},{\"captures\":{\"1\":{\"name\":\"support.class.sas\"}},\"match\":\"\\\\b(?i:(_all_|_character_|_cmd_|_freq_|_i_|_infile_|_last_|_msg_|_null_|_numeric_|_temporary_|_type_|abort|abs|addr|adjrsq|airy|alpha|alter|altlog|altprint|and|arcos|array|arsin|as|atan|attrc|attrib|attrn|authserver|autoexec|awscontrol|awsdef|awsmenu|awsmenumerge|awstitle|backward|band|base|betainv|between|blocksize|blshift|bnot|bor|brshift|bufno|bufsize|bxor|by|byerr|byline|byte|calculated|call|cards4??|case|catcache|cbufno|cdf|ceil|center|cexist|change|chisq|cinv|class|cleanup|close|cnonct|cntllev|coalesce|codegen|col|collate|collin|column|comamid|comaux1|comaux2|comdef|compbl|compound|compress|config|continue|convert|cosh??|cpuid|create|cross|crosstab|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|datalines4??|date|datejul|datepart|datetime|day|dbcslang|dbcstype|dclose|ddm|delete|delimiter|depdb|depdbsl|depsl|depsyd|deptab|dequote|descending|descript|design=|device|dflang|dhms|dif|digamma|dim|dinfo|display|distinct|dkricond|dkrocond|dlm|dnum|do|dopen|doptname|doptnum|dread|drop|dropnote|dsname|dsnferr|echo|else|emaildlg|emailid|emailpw|emailserver|emailsys|encrypt|end|endsas|engine|eof|eov|erfc??|error|errorcheck|errors|exist|exp|fappend|fclose|fcol|fdelete|feedback|fetch|fetchobs|fexist|fget|file|fileclose|fileexist|filefmt|filename|fileref|filevar|finfo|finv|fipnamel??|fipstate|first|firstobs|floor|fmterr|fmtsearch|fnonct|fnote|font|fontalias|footnote[1-9]?|fopen|foptname|foptnum|force|formatted|formchar|formdelim|formdlim|forward|fpoint|fpos|fput|fread|frewind|frlen|from|fsep|full|fullstimer|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|go|goto|group|gwindow|hbar|hbound|helpenv|helploc|hms|honorappearance|hosthelp|hostprint|hour|hpct|html|hvar|ibessel|ibr|id|if|indexc??|indexw|infile|informat|initcmd|initstmt|inner|inputc??|inputn|inr|insert|int|intck|intnx|into|intrr|invaliddata|irr|is|jbessel|join|juldate|keep|kentb|kurtosis|label|lag|last|lbound|leave|left|length|levels|lgamma|lib|libname|library|libref|line|linesize|link|list|log|log10|log2|logpdf|logpmf|logsdf|lostcard|lowcase|lrecl|ls|macro|macrogen|maps|mautosource|max|maxdec|maxr|mdy|mean|measures|median|memtype|merge|merror|min|minute|missing|missover|mlogic|mode??|model|modify|month|mopen|mort|mprint|mrecall|msglevel|msymtabmax|mvarsize|myy|n|nest|netpv|news??|nmiss|no|nobatch|nobs|nocaps|nocardimage|nocenter|nocharcode|nocmdmac|nocol|nocum|nodate|nodbcs|nodetails|nodmr|nodms|nodmsbatch|nodup|nodupkey|noduplicates|noechoauto|noequals|noerrorabend|noexitwindows|nofullstimer|noicon|noimplmac|noint|nolist|noloadlist|nomiss|nomlogic|nomprint|nomrecall|nomsgcase|nomstored|nomultenvappl|nonotes|nonumber|noobs|noovp|nopad|nopercent|noprint|noprintinit|normal|norow|norsasuser|nosetinit|nosource2??|nosplash|nosymbolgen|notes??|notitles??|notsorted|noverbose|noxsync|noxwait|npv|null|number|numkeys|nummousekeys|nway|obs|ods|on|open|option|order|ordinal|otherwise|out|outer|outp=|output|over|ovp|p([15]|10|25|50|75|90|95|99)|pad2??|page|pageno|pagesize|paired|parm|parmcards|path|pathdll|pathname|pdf|peekc??|pfkey|pmf|point|poisson|poke|position|printer|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probsig|probt|procleave|project|prt|propcase|prxmatch|prxparse|prxchange|prxposn|ps|putc??|putn|pw|pwreq|qtr|quote|r|ranbin|rancau|ranexp|rangam|range|ranks|rannor|ranpoi|rantbl|rantri|ranuni|read|recfm|register|regr|remote|remove|rename|repeat|replace|resolve|retain|return|reuse|reverse|rewind|right|round|rsquare|rtf|rtrace|rtraceloc|s2??|samploc|sasautos|sascontrol|sasfrscr|sashelp|sasmsg|sasmstore|sasscript|sasuser|saving|scan|sdf|second|select|selection|separated|seq|serror|set|setcomm|setot|sign|simple|sinh??|siteinfo|skewness|skip|sle|sls|sortedby|sortpgm|sortseq|sortsize|soundex|source2|spedis|splashlocation|split|spool|sqrt|start|std|stderr|stdin|stfips|stimer|stnamel??|stop|stopover|strip|subgroup|subpopn|substr|sum|sumwgt|symbol|symbolgen|symget|symput|sysget|sysin|sysleave|sysmsg|sysparm|sysprint|sysprintfont|sysprod|sysrc|system|t|tables??|tanh??|tapeclose|tbufsize|terminal|test|then|time|timepart|tinv|title[1-9]?|tnonct|to|today|tol|tooldef|totper|transformout|translate|trantab|tranwrd|trigamma|trimn??|trunc|truncover|type|unformatted|uniform|union|until|upcase|update|user|usericon|uss|validate|value|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varrayx??|vartype|verify|vformatd??|vformatdx|vformatnx??|vformatwx??|vformatx|vinarrayx??|vinformatd??|vinformatdx|vinformatnx??|vinformatwx??|vinformatx|vlabelx??|vlengthx??|vnamex??|vnferr|vtypex??|weekday|weight|when|where|while|wincharset|window|work|workinit|workterm|write|wsumx??|x|xsync|xwait|year|yearcutoff|yes|yyq|zipfips|zipnamel??|zipstate))\\\\b\",\"name\":\"support.function.sas\"}],\"repository\":{\"blockComment\":{\"patterns\":[{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.slashstar.sas\"}]},\"constant\":{\"patterns\":[{\"match\":\"(?<![\\\\&}])\\\\b[0-9]*\\\\.?[0-9]+([DEde][-+]?[0-9]+)?\\\\b\",\"name\":\"constant.numeric.sas\"},{\"match\":\"(')([^']+)(')(dt|[dt])\",\"name\":\"constant.numeric.quote.single.sas\"},{\"match\":\"(\\\")([^\\\"]+)(\\\")(dt|[dt])\",\"name\":\"constant.numeric.quote.double.sas\"}]},\"dataSet\":{\"patterns\":[{\"begin\":\"((\\\\w+)\\\\.)?(\\\\w+)\\\\s?\\\\(\",\"beginCaptures\":{\"2\":{\"name\":\"entity.name.class.libref.sas\"},\"3\":{\"name\":\"entity.name.class.dsname.sas\"}},\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#dataSetOptions\"},{\"include\":\"#blockComment\"},{\"include\":\"#macro\"},{\"include\":\"#constant\"},{\"include\":\"#quote\"},{\"include\":\"#operator\"}]},{\"captures\":{\"2\":{\"name\":\"entity.name.class.libref.sas\"},\"3\":{\"name\":\"entity.name.class.dsname.sas\"}},\"match\":\"\\\\b((\\\\w+)\\\\.)?(\\\\w+)\\\\b\"}]},\"dataSetOptions\":{\"patterns\":[{\"match\":\"(?<=[()\\\\s])(?i:ALTER|BUFNO|BUFSIZE|CNTLLEV|COMPRESS|DLDMGACTION|ENCRYPT|ENCRYPTKEY|EXTENDOBSCOUNTER|GENMAX|GENNUM|INDEX|LABEL|OBSBUF|OUTREP|PW|PWREQ|READ|REPEMPTY|REPLACE|REUSE|ROLE|SORTEDBY|SPILL|TOBSNO|TYPE|WRITE|FILECLOSE|FIRSTOBS|IN|OBS|POINTOBS|WHERE|WHEREUP|IDXNAME|IDXWHERE|DROP|KEEP|RENAME)\\\\s?=\",\"name\":\"keyword.other.sas\"}]},\"macro\":{\"patterns\":[{\"match\":\"(&+(?i:[_a-z]([0-9_a-z]+)?)(\\\\.+)?)\\\\b\",\"name\":\"variable.other.macro.sas\"}]},\"operator\":{\"patterns\":[{\"match\":\"([-*+/^])\",\"name\":\"keyword.operator.arithmetic.sas\"},{\"match\":\"\\\\b(?i:(eq|ne|gt|lt|ge|le|in|not|&|and|or|min|max))\\\\b\",\"name\":\"keyword.operator.comparison.sas\"},{\"match\":\"([<>^~¬]?=(:)?|[!<>|¦¬]|^|~|<>|><|\\\\|\\\\|)\",\"name\":\"keyword.operator.sas\"}]},\"quote\":{\"patterns\":[{\"begin\":\"(?<!%)(')\",\"end\":\"(')([bx])?\",\"name\":\"string.quoted.single.sas\"},{\"begin\":\"(\\\")\",\"end\":\"(\\\")([bx])?\",\"name\":\"string.quoted.double.sas\"}]},\"starComment\":{\"patterns\":[{\"include\":\"#blockcomment\"},{\"begin\":\"(?<=;)[%\\\\s]*\\\\*\",\"end\":\";\",\"name\":\"comment.line.inline.star.sas\"},{\"begin\":\"^[%\\\\s]*\\\\*\",\"end\":\";\",\"name\":\"comment.line.start.sas\"}]}},\"scopeName\":\"source.sas\",\"embeddedLangs\":[\"sql\"]}")), n = [...e, t];
|
|
4
4
|
//#endregion
|