@arcadeai/design-system 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CompositeItem-BWqRobLN.js → CompositeItem-RsjiqT-t.js} +3 -3
- package/dist/{CompositeList-DJUJLDbx.js → CompositeList-BUPONQmB.js} +5 -5
- package/dist/CompositeRoot-B_7HJZA1.js +166 -0
- package/dist/DialogRoot-xodRxCJ6.js +9 -0
- package/dist/DialogTrigger-BRWKaMYv.js +370 -0
- package/dist/{DirectionContext-B4CbbM--.js → DirectionContext-OzWG1tsQ.js} +1 -1
- package/dist/{FieldItemContext-4qBxodsW.js → FieldItemContext-C6kLzkCC.js} +1 -1
- package/dist/{FloatingPortalLite-B1JyBlt0.js → FloatingPortalLite-e0IaokaG.js} +2 -2
- package/dist/{LabelableContext-Q1Z-xUI9.js → LabelableContext-C6DIbcnY.js} +34 -18
- package/dist/{Separator-CgntgfMd.js → Separator-CJ3Gn6wf.js} +2 -2
- package/dist/{StickToBottom-CU0d65a_.js → StickToBottom-Bh9VDiPm.js} +3 -3
- package/dist/Toggle-waFXW8db.js +74 -0
- package/dist/{ToolbarRootContext-DVNA8Vkb.js → ToolbarRootContext-CDm74ob9.js} +2 -2
- package/dist/accordion-DimUia61.js +314 -0
- package/dist/{addEventListener-B4Gs94GY.js → addEventListener-BlQH_qk1.js} +1 -1
- package/dist/{alert-dialog-tBMDYzJ3.js → alert-dialog-BiDZwtP2.js} +4 -4
- package/dist/{angular-html-BDzibLIk.js → angular-html-CmQQGj3Q.js} +2 -2
- package/dist/{angular-html-D85fwMJh.js → angular-html-DkEUN79G.js} +2 -2
- package/dist/{angular-ts-D81F0-9A.js → angular-ts-4H9Tgcds.js} +2 -2
- package/dist/{angular-ts-C3bnauCX.js → angular-ts-wkihi9GZ.js} +2 -2
- package/dist/{apl-92oxg4m4.js → apl-C_-_9Ip6.js} +5 -5
- package/dist/assets/icons/microsoft-power-bi.js +88 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- package/dist/{astro-BmZ7vV4W.js → astro-DKp4HZqy.js} +5 -5
- package/dist/{astro-Up1TtKOj.js → astro-nonP8tBz.js} +4 -4
- package/dist/{avatar-BSYWkGGc.js → avatar-B-lhJ-Gz.js} +35 -36
- package/dist/{blade-CpVdu14g.js → blade-6azK5Bl7.js} +6 -6
- package/dist/{blade-CsxOO3tZ.js → blade-Bm1wiaIl.js} +7 -7
- package/dist/{button-BNOmhdpM.js → button-BdQxLUOB.js} +3 -3
- package/dist/{c-CoKjrVSd.js → c-BLhjukKD.js} +1 -1
- package/dist/{c-DtxJex1m.js → c-D23WKKVZ.js} +1 -1
- package/dist/{calendar-DizaWURn.js → calendar-Ctzadwv-.js} +98 -97
- package/dist/checkbox-CZViOGvt.js +273 -0
- package/dist/{clamp-DQAQAGkj.js → clamp-DV0oJUnl.js} +2 -2
- package/dist/{cobol-DW9I8MrZ.js → cobol-cEewS-ES.js} +2 -2
- package/dist/{coffee-IcWixSuh.js → coffee-BWa7CtjQ.js} +1 -1
- package/dist/{coffee-B9lToztK.js → coffee-QapU4XnI.js} +1 -1
- package/dist/{collapsible-Dt__KKUJ.js → collapsible-DlF1q_cg.js} +14 -14
- package/dist/{command-ChimIUHM.js → command-DC-ESQ0C.js} +25 -25
- package/dist/components/index.js +147 -146
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +1 -1
- package/dist/components/ui/atoms/avatar.js +1 -1
- package/dist/components/ui/atoms/badge.js +2 -2
- package/dist/components/ui/atoms/breadcrumb.js +2 -2
- package/dist/components/ui/atoms/button.js +1 -1
- package/dist/components/ui/atoms/calendar.js +1 -1
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.js +7 -7
- package/dist/components/ui/atoms/chat-container.js +1 -1
- package/dist/components/ui/atoms/checkbox.js +1 -1
- package/dist/components/ui/atoms/code-block.js +1 -1
- package/dist/components/ui/atoms/collapsible.js +1 -1
- package/dist/components/ui/atoms/command.js +1 -1
- package/dist/components/ui/atoms/compute-flow-paths.js +16 -16
- package/dist/components/ui/atoms/copy-button.js +1 -1
- package/dist/components/ui/atoms/dialog.js +3 -3
- package/dist/components/ui/atoms/dropdown-menu.js +1 -1
- package/dist/components/ui/atoms/form.d.ts +1 -1
- package/dist/components/ui/atoms/form.d.ts.map +1 -1
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/icons/index.d.ts +1 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +63 -62
- package/dist/components/ui/atoms/icons/microsoft-power-bi.d.ts +4 -0
- package/dist/components/ui/atoms/icons/microsoft-power-bi.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/microsoft-power-bi.js +82 -0
- package/dist/components/ui/atoms/index.js +104 -103
- package/dist/components/ui/atoms/input-group.js +2 -2
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/json-highlight.d.ts +2 -2
- package/dist/components/ui/atoms/json-highlight.d.ts.map +1 -1
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/mobile-tooltip.js +2 -2
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/progress.js +1 -1
- package/dist/components/ui/atoms/radio-group.js +1 -1
- package/dist/components/ui/atoms/resizable.js +1 -1
- package/dist/components/ui/atoms/scroll-area.js +1 -1
- package/dist/components/ui/atoms/scroll-button.js +3 -3
- package/dist/components/ui/atoms/select.js +1 -1
- package/dist/components/ui/atoms/separator.js +1 -1
- package/dist/components/ui/atoms/sheet.js +3 -3
- package/dist/components/ui/atoms/sidebar.d.ts.map +1 -1
- package/dist/components/ui/atoms/sidebar.js +5 -5
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/sparkle-burst.d.ts.map +1 -1
- package/dist/components/ui/atoms/switch.js +1 -1
- package/dist/components/ui/atoms/tabs.js +1 -1
- package/dist/components/ui/atoms/toggle-group.js +1 -1
- package/dist/components/ui/atoms/toggle.js +1 -1
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +1 -1
- package/dist/components/ui/atoms/virtualized-grid.js +1 -1
- package/dist/components/ui/blocks/demo.js +4 -4
- package/dist/components/ui/index.js +147 -146
- package/dist/components/ui/molecules/chat-history-item.js +1 -1
- package/dist/components/ui/molecules/client-secret-field.js +2 -2
- package/dist/components/ui/molecules/command-bar.js +1 -1
- package/dist/components/ui/molecules/confirm-popover.js +2 -2
- package/dist/components/ui/molecules/date-time-picker.js +4 -4
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.js +4 -4
- package/dist/components/ui/molecules/mcp-server-picker/category-filter.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.js +2 -2
- package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.js +2 -2
- package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.d.ts.map +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/section-nav-header.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.js +2 -2
- package/dist/components/ui/molecules/mcp-server-picker/server-card.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/tool-card.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.js +1 -1
- package/dist/components/ui/molecules/mcp-server-picker/unoptimized-match-card.js +1 -1
- package/dist/components/ui/molecules/message.d.ts.map +1 -1
- package/dist/components/ui/molecules/message.js +3 -3
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
- package/dist/components/ui/molecules/prompt-input.js +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +1 -1
- package/dist/components/ui/molecules/steps-progress.js +1 -1
- package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-call-accordion.js +2 -2
- package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-card.js +3 -3
- package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/molecules/user-nav.js +3 -3
- package/dist/components/ui/organisms/mcp-selection-summary-bar.js +1 -1
- package/dist/components/ui/pages/login-page.js +1 -1
- package/dist/composite-B-tEa-Zg.js +169 -0
- package/dist/{composite-BlDfbDkL.js → composite-COXvAbcT.js} +5 -5
- package/dist/constants-ouS7wtUt.js +5 -0
- package/dist/{cpp-BLc8IWxi.js → cpp-BBpqpcUG.js} +4 -4
- package/dist/{cpp-BEQCV3s5.js → cpp-CenmDznH.js} +3 -3
- package/dist/{createBaseUIEventDetails-ChcQXp54.js → createBaseUIEventDetails-C_dwdqj4.js} +3 -3
- package/dist/{crystal-Bpo57dB-.js → crystal-Cjt-cWZ3.js} +6 -6
- package/dist/{css-DSy_xl5Z.js → css-BT0UpMRG.js} +1 -1
- package/dist/{css-DcJEitGa.js → css-QsZubv6P.js} +1 -1
- package/dist/{dropdown-menu-dsg43mOw.js → dropdown-menu-CWWN1cXs.js} +515 -520
- package/dist/{edge-Crbn4Nhk.js → edge-nqxIbnup.js} +3 -3
- package/dist/{elixir-CIj8u1AY.js → elixir-IwV7soxp.js} +1 -1
- package/dist/{elm-CfYD1d_e.js → elm-Ogf1arfY.js} +1 -1
- package/dist/engine-ChH4dTze.js +6 -0
- package/dist/{erb-BJQo6_56.js → erb-BBpN-Ldx.js} +2 -2
- package/dist/{error-CAd3pM3X.js → error-C8bGkT0l.js} +1 -1
- package/dist/getPseudoElementBounds-D_dlkPnQ.js +345 -0
- package/dist/{git-rebase-DVA6p9-5.js → git-rebase-CqAmS_sI.js} +1 -1
- package/dist/{glimmer-js-DVJpm-CV.js → glimmer-js-C7DUODof.js} +4 -4
- package/dist/{glimmer-ts-kH8c2RJ9.js → glimmer-ts-DI4G9vW_.js} +4 -4
- package/dist/{glsl-Ckye8FrQ.js → glsl-CUfKtNbE.js} +2 -2
- package/dist/{glsl-7eSg02Gr.js → glsl-Cq85X97E.js} +2 -2
- package/dist/{graphql-CE7EXOgY.js → graphql-BCsR6dTa.js} +4 -4
- package/dist/{graphql-DEzE15R4.js → graphql-BsbTr8W_.js} +5 -5
- package/dist/{hack-o7fvIqt8.js → hack-bqdf8rRJ.js} +2 -2
- package/dist/{haml-BP5AnOwP.js → haml-BJXnS8Xp.js} +2 -2
- package/dist/{haml-C5GSorf3.js → haml-CWQgvV8s.js} +3 -3
- package/dist/{handlebars-Bhpj_d0s.js → handlebars-CKAb2CPX.js} +4 -4
- package/dist/{handlebars-BjC-t2fq.js → handlebars-DMloI5gH.js} +3 -3
- package/dist/{highlighted-body-OFNGDK62-BoSFtT5s.js → highlighted-body-OFNGDK62-BegvjYf8.js} +1 -1
- package/dist/{hover-card-z1GPavWa.js → hover-card-GELKDadU.js} +145 -157
- package/dist/{html-Ct25QrQu.js → html-CwG5RUst.js} +3 -3
- package/dist/{html-D4w9Dm28.js → html-DKmZbgBt.js} +3 -3
- package/dist/{html-derivative-Bj-VxhMx.js → html-derivative-B4jNkpq7.js} +1 -1
- package/dist/{html-derivative-DSKrIQn9.js → html-derivative-l83Yr46D.js} +1 -1
- package/dist/{http-BCk9QAjz.js → http-BFAjFcZG.js} +2 -2
- package/dist/{http-d-m0Mc7D.js → http-BhDBVFaP.js} +4 -4
- package/dist/{hurl-DWxVzahG.js → hurl-CjzrrhSW.js} +2 -2
- package/dist/{hurl-DfTnDfTu.js → hurl-DAdF3com.js} +2 -2
- package/dist/inertValue-BhczR0H5.js +7 -0
- package/dist/input-DZfZK6b1.js +91 -0
- package/dist/{isElementDisabled-Cibvw8mz.js → isElementDisabled-C1rd9-Ym.js} +1 -1
- package/dist/{java-CuIj5nvv.js → java-C_vVq3dw.js} +1 -1
- package/dist/{java-BKNJluE5.js → java-Ci5_G7qk.js} +1 -1
- package/dist/{javascript-C_3Wy_Gj.js → javascript-CV4d78q9.js} +1 -1
- package/dist/{javascript-Da2xmRTV.js → javascript-DIVSilR9.js} +1 -1
- package/dist/{jinja-DhkDj1Xi.js → jinja-Bs1LO7X2.js} +1 -1
- package/dist/{jinja-C8xQEEYN.js → jinja-Bwrf5aV2.js} +1 -1
- package/dist/{jison-CShmv6Fb.js → jison-C6eal2rW.js} +1 -1
- package/dist/{jison-CyKFq-6a.js → jison-Td0S7BdY.js} +1 -1
- package/dist/{json-Df3TJ3vS.js → json-BE9zjWXC.js} +1 -1
- package/dist/{jsx-CfQ2JFaq.js → jsx-Ba8CJaAV.js} +1 -1
- package/dist/{jsx-D0xGKDLn.js → jsx-DCFvZzWu.js} +1 -1
- package/dist/{julia-BMAFK3Gd.js → julia-Bm175Gof.js} +3 -3
- package/dist/{julia-BN-I8ZOK.js → julia-Bunkrw5e.js} +4 -4
- package/dist/{just-YBnaWXEe.js → just-1Pxadbli.js} +5 -5
- package/dist/{latex-C_OKc6Tr.js → latex-_x2UAXwa.js} +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/{lib-BeKETz9d.js → lib-_PLIHaUp.js} +623 -633
- package/dist/{liquid-BK9PRBL0.js → liquid-kYbXB26r.js} +4 -4
- package/dist/{lua-BLio8ECy.js → lua-CaVsjDyr.js} +2 -2
- package/dist/main.js +153 -152
- package/dist/{markdown-D3ExE6yF.js → markdown-BzQfFDNF.js} +2608 -2632
- package/dist/{marko-Fde_uU3F.js → marko-B5ZroO9K.js} +3 -3
- package/dist/{marko-DYmCev7q.js → marko-D0_WatvF.js} +3 -3
- package/dist/{mdc-wawAspAJ.js → mdc-Bv4e6tBf.js} +2 -2
- package/dist/{mdc-D7QSJBKx.js → mdc-Dh_sTTi8.js} +1 -1
- package/dist/mermaid-GHXKKRXX-B2aW3mwU.js +3 -0
- package/dist/metadata/oauth-providers.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/metadata/toolkit-icons.js +95 -93
- package/dist/metadata/toolkits.d.ts.map +1 -1
- package/dist/metadata/toolkits.js +13 -0
- package/dist/{nginx-WcmIS9lz.js → nginx-DKKP1Jsz.js} +1 -1
- package/dist/{nim-C_JBe3PW.js → nim-BeBji0Kd.js} +6 -6
- package/dist/owner-CyZnQOKt.js +6 -0
- package/dist/{perl-DxzDgnFP.js → perl-d6FT-kBo.js} +5 -5
- package/dist/{php-h4fQX9du.js → php-5ErYmDX1.js} +5 -5
- package/dist/{php-BslXz14x.js → php-DrB8vlsq.js} +6 -6
- package/dist/popover-Cne_hQUh.js +489 -0
- package/dist/{popupStateMapping-PdIQcWEz.js → popupStateMapping-C8W76brO.js} +461 -419
- package/dist/{progress-TdXkokPe.js → progress-D71iUjvg.js} +14 -14
- package/dist/{pug-yS-UC2lD.js → pug-DyZNXutA.js} +3 -3
- package/dist/{pug-CxpNRXGa.js → pug-pOLqHjih.js} +3 -3
- package/dist/{qml-tenACNq4.js → qml-Dox9P6il.js} +1 -1
- package/dist/{r-DdU4yNZO.js → r-CqHzjuOx.js} +1 -1
- package/dist/radio-group-CTqA-p0w.js +333 -0
- package/dist/{razor-D5yYWriQ.js → razor-BJnzh0vV.js} +1 -1
- package/dist/{regexp-Dnzoo8L8.js → regexp-BHMFwNmq.js} +1 -1
- package/dist/{regexp-BusfBBwF.js → regexp-Cr4z7tOG.js} +1 -1
- package/dist/{resizable-DkYW5Uwh.js → resizable-7RrCRLzm.js} +25 -22
- package/dist/resolveAriaLabelledBy-ChNE6KfK.js +15 -0
- package/dist/{rst-C-dkSMvp.js → rst-BBCY8q7E.js} +6 -6
- package/dist/{ruby-7kZgYYwi.js → ruby-B3ETTR3m.js} +12 -12
- package/dist/{safePolygon-CscU2iWL.js → safePolygon-os2F06tc.js} +109 -105
- package/dist/{sas-DtHo0e4p.js → sas-DUv_h98D.js} +1 -1
- package/dist/scroll-area-C0KbhRES.js +588 -0
- package/dist/{scrollEdges-VoRBF4DB.js → scrollEdges-CHZpP0us.js} +2 -2
- package/dist/{scss-bso_k44A.js → scss-CkVrpEfa.js} +2 -2
- package/dist/{scss-DaY16nmX.js → scss-CvRlGoAc.js} +2 -2
- package/dist/select-RvAj5g6e.js +1360 -0
- package/dist/{serializeValue-kHY7UUsW.js → serializeValue-CRwtWeFH.js} +1 -1
- package/dist/{shadowDom-C-4Ejp9R.js → shadowDom-BACsbimN.js} +1 -1
- package/dist/shared-q5mxNamF.js +24 -0
- package/dist/{shellscript-BWxNrzSf.js → shellscript-CxvlkwLY.js} +1 -1
- package/dist/{shellsession-IETTXW5g.js → shellsession-CgzvDd-J.js} +1 -1
- package/dist/{shim-ieZ_MRlN.js → shim-BX-2V17R.js} +6 -7
- package/dist/slider-Bhn1ogwZ.js +827 -0
- package/dist/{soy-33Xu8yiH.js → soy-BsfKKN9o.js} +1 -1
- package/dist/{sql-B432xaB7.js → sql-BHUsfCgB.js} +1 -1
- package/dist/{sql-8d8R_FnS.js → sql-DG63OdWS.js} +1 -1
- package/dist/{stata-B5wF29_Y.js → stata--mbf8UFb.js} +1 -1
- package/dist/{store-Bdrhndby.js → store-C-KXBzZ0.js} +9 -9
- package/dist/{surrealql-DYHeSEsk.js → surrealql-DhODgRt6.js} +1 -1
- package/dist/{svelte-BiN7hc1M.js → svelte-C7x6u-8L.js} +3 -3
- package/dist/{svelte-wsTs0hbr.js → svelte-DycOh1Oc.js} +3 -3
- package/dist/{switch-CP9j-8px.js → switch-D8M0xvzp.js} +65 -65
- package/dist/{tabs-C7JA8G0W.js → tabs-ttkDuwww.js} +181 -181
- package/dist/{templ-DEwqY_Qt.js → templ-MSt5oh4r.js} +2 -2
- package/dist/{tex-Bi7DoImG.js → tex-CVgVV9NK.js} +1 -1
- package/dist/toggle-group-CL_MBwuU.js +96 -0
- package/dist/{tooltip-34vRSwJG.js → tooltip-ZIywOFGf.js} +210 -196
- package/dist/{ts-tags-BK3ScQNp.js → ts-tags-Ck_QbMh4.js} +7 -7
- package/dist/{ts-tags-DOmIyh9G.js → ts-tags-DQKwVH4e.js} +7 -7
- package/dist/{tsx-D2IQdrsN.js → tsx-BfWxCQIa.js} +1 -1
- package/dist/{tsx-oo1y-gXD.js → tsx-DH8_xVXA.js} +1 -1
- package/dist/{twig-DxRYLs_L.js → twig-nd7fXiJI.js} +5 -5
- package/dist/{typescript-CWrXW5hv.js → typescript-Btp0Nz7Q.js} +1 -1
- package/dist/{typescript-C40nYMtR.js → typescript-CT-dRuB-.js} +1 -1
- package/dist/{ui-BaLLCKkd.js → ui-CttBuHXi.js} +2 -2
- package/dist/{useAnchoredPopupScrollLock-C8wRjuy0.js → useAnchoredPopupScrollLock-a2b_Frjv.js} +4 -4
- package/dist/{useAnimationFrame-xwbX87TY.js → useAnimationFrame-jkCXMP_8.js} +3 -3
- package/dist/{useAriaLabelledBy-DKl6aNOD.js → useAriaLabelledBy-WyUZP7Yf.js} +3 -3
- package/dist/{useBaseUiId-DOm5ACje.js → useBaseUiId-voePHgyX.js} +3 -3
- package/dist/{useButton-AXffhTAZ.js → useButton-DjF6Owsn.js} +7 -7
- package/dist/{useCollapsiblePanel-B7ERXY1c.js → useCollapsiblePanel-B6XZh6zH.js} +27 -24
- package/dist/{useCompositeItem-DA_RDTEI.js → useCompositeItem-JoGwOIGJ.js} +6 -11
- package/dist/{useCompositeListItem-xM6vOR9-.js → useCompositeListItem-C8B8UyMD.js} +5 -5
- package/dist/{useControlled-ZBScq72P.js → useControlled-Bu1mahWG.js} +2 -2
- package/dist/useFocus-DwJfNYN6.js +98 -0
- package/dist/{useIsoLayoutEffect-CKOv1bV_.js → useIsoLayoutEffect-4LGv3HzC.js} +1 -1
- package/dist/{useLabelableId-Dgoo7-Ly.js → useLabelableId-CC2YaILf.js} +6 -6
- package/dist/{useOnMount-Dirf6DNj.js → useOnMount-Chlmm7JB.js} +1 -1
- package/dist/{useOpenChangeComplete-DjMFUwhi.js → useOpenChangeComplete-Bs6gnxd9.js} +8 -8
- package/dist/useOpenInteractionType-DQhvPqO3.js +611 -0
- package/dist/{usePositioner-D65mUNMo.js → usePositioner-DkeyI5Le.js} +152 -152
- package/dist/useRender-D_s7850Q.js +7 -0
- package/dist/{useRenderElement-CmuWsiNa.js → useRenderElement-BToElZ97.js} +13 -13
- package/dist/{useStableCallback-CqEVb76s.js → useStableCallback-CrM0Nb2q.js} +3 -3
- package/dist/{useTimeout-B1x6NSZb.js → useTimeout-B0afjWAz.js} +3 -3
- package/dist/useTriggerFocusGuards-Qi8iK-AK.js +37 -0
- package/dist/{useValueAsRef-CCU3eUYq.js → useValueAsRef-CfO5zn2c.js} +3 -3
- package/dist/useValueChanged-26zHg3aX.js +15 -0
- package/dist/valueToPercent-BBx6BqbS.js +29 -0
- package/dist/{virtualized-grid-BQNJg029.js → virtualized-grid-DLNjqTNm.js} +16 -7
- package/dist/{visuallyHidden-CEAV1xeA.js → visuallyHidden-Cq5CW65k.js} +1 -1
- package/dist/{vue-COUaRKLt.js → vue-BMjk7Gaz.js} +5 -5
- package/dist/{vue-BEPn_TF_.js → vue-BoZyu9mR.js} +6 -6
- package/dist/{vue-html-CEiB3REn.js → vue-html-Dyr-sgcn.js} +1 -1
- package/dist/{vue-html-DjKFzwWo.js → vue-html-Fc3KYSrO.js} +1 -1
- package/dist/{vue-vine-D0Lpd94a.js → vue-vine-B-mxBKB2.js} +3 -3
- package/dist/{vue-vine-D6cSZo1M.js → vue-vine-BDclOuCR.js} +3 -3
- package/dist/{web-DF40pCMx.js → web-CqfgwsJY.js} +43 -43
- package/dist/{xml-DRTU1nx4.js → xml-CSo_-m7_.js} +2 -2
- package/dist/{xml-DL5p3-50.js → xml-tkp62giI.js} +2 -2
- package/dist/{xsl-3eu75y43.js → xsl-Dmc5gKQo.js} +1 -1
- package/dist/{yaml-6pzV2NiB.js → yaml-9hw4TgNw.js} +1 -1
- package/package.json +30 -30
- package/dist/CompositeRoot-BIh8l7ys.js +0 -179
- package/dist/DialogRoot-eVsH835b.js +0 -9
- package/dist/DialogTrigger-BuKadcdL.js +0 -379
- package/dist/FormContext-4NSsO4w6.js +0 -17
- package/dist/Toggle-CyMSF-Z7.js +0 -70
- package/dist/accordion-D-o5VBR2.js +0 -374
- package/dist/checkbox-CfF6tabe.js +0 -270
- package/dist/composite-HOje5ugx.js +0 -276
- package/dist/constants-VB9bsA8p.js +0 -4
- package/dist/detectBrowser-FBYSu3xM.js +0 -32
- package/dist/event-DWcDp5kt.js +0 -24
- package/dist/getPseudoElementBounds-DarjR4tH.js +0 -355
- package/dist/inertValue-C36grUTu.js +0 -7
- package/dist/input-CSc-AfAa.js +0 -91
- package/dist/mermaid-GHXKKRXX-B8Qglwis.js +0 -3
- package/dist/owner-BrzQrszh.js +0 -6
- package/dist/popover-CXSOUeVQ.js +0 -501
- package/dist/radio-group-Cc5ftdVj.js +0 -333
- package/dist/resolveAriaLabelledBy-DR9UHvi-.js +0 -10
- package/dist/scroll-area-53KPfESS.js +0 -559
- package/dist/select-CPTT__cT.js +0 -1363
- package/dist/slider-CN3uEkeD.js +0 -822
- package/dist/toggle-group-CDYMBO0F.js +0 -87
- package/dist/useFocus-DzHCrvH6.js +0 -97
- package/dist/useOpenInteractionType-D-ymktmc.js +0 -612
- package/dist/useRender-B4Oazk_w.js +0 -7
- package/dist/useTriggerFocusGuards-D1QlFlDK.js +0 -37
- package/dist/useValueChanged-j5e75XB6.js +0 -15
- package/dist/valueToPercent-9aZaNeTG.js +0 -24
- /package/dist/{chunk-Dqa2HsxW.js → rolldown-runtime-Dqa2HsxW.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useControlled-
|
|
3
|
-
import { t } from "./useIsoLayoutEffect-
|
|
4
|
-
import { a as n, t as r, u as i } from "./useRenderElement-
|
|
5
|
-
import { t as a } from "./useStableCallback-
|
|
6
|
-
import { n as o } from "./useCompositeListItem-
|
|
7
|
-
import { t as s } from "./CompositeList-
|
|
8
|
-
import {
|
|
9
|
-
import { t as p } from "./
|
|
10
|
-
import { a as m, i as h, o as g, t as _ } from "./useOpenChangeComplete-
|
|
11
|
-
import { t as v } from "./useButton-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as C } from "./
|
|
16
|
-
import { t as w } from "./inertValue-
|
|
17
|
-
import { t as T } from "./useCompositeItem-
|
|
18
|
-
import { n as E, t as D } from "./CompositeRoot-
|
|
2
|
+
import { t as e } from "./useControlled-Bu1mahWG.js";
|
|
3
|
+
import { t } from "./useIsoLayoutEffect-4LGv3HzC.js";
|
|
4
|
+
import { a as n, t as r, u as i } from "./useRenderElement-BToElZ97.js";
|
|
5
|
+
import { t as a } from "./useStableCallback-CrM0Nb2q.js";
|
|
6
|
+
import { n as o } from "./useCompositeListItem-C8B8UyMD.js";
|
|
7
|
+
import { t as s } from "./CompositeList-BUPONQmB.js";
|
|
8
|
+
import { t as c } from "./useBaseUiId-voePHgyX.js";
|
|
9
|
+
import { a as l, g as u, h as d, t as f, u as p } from "./createBaseUIEventDetails-C_dwdqj4.js";
|
|
10
|
+
import { a as m, i as h, o as g, t as _ } from "./useOpenChangeComplete-Bs6gnxd9.js";
|
|
11
|
+
import { t as v } from "./useButton-DjF6Owsn.js";
|
|
12
|
+
import { t as y } from "./owner-CyZnQOKt.js";
|
|
13
|
+
import { cn as b } from "./lib/utils.js";
|
|
14
|
+
import { t as x } from "./dist-Ber_p4PA.js";
|
|
15
|
+
import { n as S, t as C } from "./shadowDom-BACsbimN.js";
|
|
16
|
+
import { t as w } from "./inertValue-BhczR0H5.js";
|
|
17
|
+
import { t as T } from "./useCompositeItem-JoGwOIGJ.js";
|
|
18
|
+
import { n as E, t as D } from "./CompositeRoot-B_7HJZA1.js";
|
|
19
19
|
import * as O from "react";
|
|
20
20
|
import { jsx as k } from "react/jsx-runtime";
|
|
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/tabs/root/TabsRootContext.mjs
|
|
22
22
|
var A = /*#__PURE__*/ O.createContext(void 0);
|
|
23
23
|
process.env.NODE_ENV !== "production" && (A.displayName = "TabsRootContext");
|
|
24
24
|
function j() {
|
|
@@ -27,132 +27,130 @@ function j() {
|
|
|
27
27
|
return e;
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
30
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/root/TabsRootDataAttributes.mjs
|
|
31
31
|
var M = /*#__PURE__*/ function(e) {
|
|
32
32
|
return e.activationDirection = "data-activation-direction", e.orientation = "data-orientation", e;
|
|
33
33
|
}({}), N = { tabActivationDirection: (e) => ({ [M.activationDirection]: e }) }, P = /*#__PURE__*/ O.forwardRef(function(n, i) {
|
|
34
|
-
let { className: o, defaultValue:
|
|
34
|
+
let { className: o, defaultValue: c = 0, onValueChange: u, orientation: m = "horizontal", render: h, value: g, style: _, ...v } = n, y = n.defaultValue !== void 0, b = O.useRef([]), [x, S] = O.useState(() => /* @__PURE__ */ new Map()), [C, w] = e({
|
|
35
35
|
controlled: g,
|
|
36
|
-
default:
|
|
36
|
+
default: c,
|
|
37
37
|
name: "Tabs",
|
|
38
38
|
state: "value"
|
|
39
|
-
}), T = g !== void 0, [E, D] = O.useState(() => /* @__PURE__ */ new Map()), j = O.useCallback((e) => {
|
|
39
|
+
}), T = g !== void 0, [E, D] = O.useState(() => /* @__PURE__ */ new Map()), j = O.useRef(void 0), M = O.useCallback((e) => {
|
|
40
40
|
if (e === void 0) return null;
|
|
41
41
|
for (let [t, n] of E.entries()) if (n != null && e === (n.value ?? n.index)) return t;
|
|
42
42
|
return null;
|
|
43
|
-
}, [E]), [
|
|
43
|
+
}, [E]), [P, I] = O.useState(() => ({
|
|
44
44
|
previousValue: C,
|
|
45
45
|
tabActivationDirection: "none"
|
|
46
|
-
})), { previousValue:
|
|
47
|
-
|
|
48
|
-
let
|
|
46
|
+
})), { previousValue: L, tabActivationDirection: R } = P, z = R, B = !1;
|
|
47
|
+
L !== C && (z = F(L, C, m, E), B = L != null && C != null && M(C) == null);
|
|
48
|
+
let V = B ? L : C, H = L !== V || R !== z;
|
|
49
49
|
t(() => {
|
|
50
|
-
|
|
51
|
-
previousValue:
|
|
52
|
-
tabActivationDirection:
|
|
50
|
+
H && I({
|
|
51
|
+
previousValue: V,
|
|
52
|
+
tabActivationDirection: z
|
|
53
53
|
});
|
|
54
54
|
}, [
|
|
55
|
-
B,
|
|
56
55
|
V,
|
|
57
|
-
|
|
56
|
+
H,
|
|
57
|
+
z
|
|
58
58
|
]);
|
|
59
|
-
let
|
|
60
|
-
t.activationDirection = F(C, e, m, E),
|
|
61
|
-
}), U = a((e, t) => {
|
|
62
|
-
p?.(e, d(t, void 0, void 0, { activationDirection: "none" }));
|
|
59
|
+
let U = a((e, t) => {
|
|
60
|
+
t.activationDirection = F(C, e, m, E), u?.(e, t), !t.isCanceled && w(e);
|
|
63
61
|
}), W = a((e, t) => {
|
|
62
|
+
u?.(e, f(t, void 0, void 0, { activationDirection: "none" }));
|
|
63
|
+
}), G = a((e, t) => {
|
|
64
64
|
S((n) => {
|
|
65
65
|
if (n.get(e) === t) return n;
|
|
66
66
|
let r = new Map(n);
|
|
67
67
|
return r.set(e, t), r;
|
|
68
68
|
});
|
|
69
|
-
}),
|
|
69
|
+
}), K = a((e, t) => {
|
|
70
70
|
S((n) => {
|
|
71
71
|
if (!n.has(e) || n.get(e) !== t) return n;
|
|
72
72
|
let r = new Map(n);
|
|
73
73
|
return r.delete(e), r;
|
|
74
74
|
});
|
|
75
|
-
}),
|
|
75
|
+
}), q = O.useCallback((e) => x.get(e), [x]), J = O.useCallback((e) => {
|
|
76
76
|
for (let t of E.values()) if (e === t?.value) return t?.id;
|
|
77
|
-
}, [E]),
|
|
78
|
-
getTabElementBySelectedValue:
|
|
79
|
-
getTabIdByPanelValue:
|
|
80
|
-
getTabPanelIdByValue:
|
|
81
|
-
onValueChange:
|
|
77
|
+
}, [E]), Y = O.useMemo(() => ({
|
|
78
|
+
getTabElementBySelectedValue: M,
|
|
79
|
+
getTabIdByPanelValue: J,
|
|
80
|
+
getTabPanelIdByValue: q,
|
|
81
|
+
onValueChange: U,
|
|
82
82
|
orientation: m,
|
|
83
|
-
registerMountedTabPanel:
|
|
83
|
+
registerMountedTabPanel: G,
|
|
84
84
|
setTabMap: D,
|
|
85
|
-
unregisterMountedTabPanel:
|
|
86
|
-
tabActivationDirection:
|
|
85
|
+
unregisterMountedTabPanel: K,
|
|
86
|
+
tabActivationDirection: z,
|
|
87
87
|
value: C
|
|
88
88
|
}), [
|
|
89
|
-
|
|
89
|
+
M,
|
|
90
|
+
J,
|
|
90
91
|
q,
|
|
91
|
-
|
|
92
|
-
H,
|
|
92
|
+
U,
|
|
93
93
|
m,
|
|
94
|
-
W,
|
|
95
|
-
D,
|
|
96
94
|
G,
|
|
97
|
-
|
|
95
|
+
D,
|
|
96
|
+
K,
|
|
97
|
+
z,
|
|
98
98
|
C
|
|
99
|
-
]),
|
|
99
|
+
]), X = O.useMemo(() => {
|
|
100
100
|
for (let e of E.values()) if (e != null && e.value === C) return e;
|
|
101
|
-
}, [E, C]),
|
|
101
|
+
}, [E, C]), Z = O.useMemo(() => {
|
|
102
102
|
for (let e of E.values()) if (e != null && !e.disabled) return e.value;
|
|
103
|
-
}, [E]),
|
|
103
|
+
}, [E]), Q = O.useRef(!y), $ = O.useRef(c), ee = O.useRef(y), te = O.useRef(!1);
|
|
104
104
|
t(() => {
|
|
105
105
|
if (T) return;
|
|
106
106
|
function e(e, t) {
|
|
107
|
-
w(e),
|
|
107
|
+
w(e), I((t) => t.previousValue === e && t.tabActivationDirection === "none" ? t : {
|
|
108
108
|
previousValue: e,
|
|
109
109
|
tabActivationDirection: "none"
|
|
110
|
-
}),
|
|
110
|
+
}), W(e, t), Q.current = !1;
|
|
111
111
|
}
|
|
112
112
|
if (E.size === 0) {
|
|
113
|
-
|
|
114
|
-
e(null, u);
|
|
113
|
+
te.current && C !== null && !j.current?.isConnected && e(null, d);
|
|
115
114
|
return;
|
|
116
115
|
}
|
|
117
|
-
|
|
118
|
-
let t =
|
|
119
|
-
if (!t && C ===
|
|
120
|
-
let r =
|
|
116
|
+
te.current = !0, j.current = E.keys().next().value;
|
|
117
|
+
let t = X?.disabled, n = X == null && C !== null;
|
|
118
|
+
if (!t && C === $.current && (ee.current = !1), ee.current && t && C === $.current) return;
|
|
119
|
+
let r = Q.current;
|
|
121
120
|
if (t || n) {
|
|
122
|
-
let n =
|
|
121
|
+
let n = Z ?? null;
|
|
123
122
|
if (C === n) {
|
|
124
|
-
|
|
123
|
+
Q.current = !1;
|
|
125
124
|
return;
|
|
126
125
|
}
|
|
127
|
-
let i =
|
|
128
|
-
r ? i =
|
|
126
|
+
let i = d;
|
|
127
|
+
r ? i = p : t && (i = l), e(n, i);
|
|
129
128
|
return;
|
|
130
129
|
}
|
|
131
|
-
r &&
|
|
130
|
+
r && X != null && (W(C, p), Q.current = !1);
|
|
132
131
|
}, [
|
|
133
|
-
|
|
134
|
-
X,
|
|
132
|
+
Z,
|
|
135
133
|
T,
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
W,
|
|
135
|
+
X,
|
|
138
136
|
w,
|
|
139
137
|
E,
|
|
140
138
|
C
|
|
141
139
|
]);
|
|
142
|
-
let
|
|
140
|
+
let ne = r("div", n, {
|
|
143
141
|
state: {
|
|
144
142
|
orientation: m,
|
|
145
|
-
tabActivationDirection:
|
|
143
|
+
tabActivationDirection: z
|
|
146
144
|
},
|
|
147
145
|
ref: i,
|
|
148
146
|
props: v,
|
|
149
147
|
stateAttributesMapping: N
|
|
150
148
|
});
|
|
151
149
|
return /*#__PURE__*/ k(A.Provider, {
|
|
152
|
-
value:
|
|
150
|
+
value: Y,
|
|
153
151
|
children: /*#__PURE__*/ k(s, {
|
|
154
152
|
elementsRef: b,
|
|
155
|
-
children:
|
|
153
|
+
children: ne
|
|
156
154
|
})
|
|
157
155
|
});
|
|
158
156
|
});
|
|
@@ -177,7 +175,7 @@ function F(e, t, n, r) {
|
|
|
177
175
|
return "none";
|
|
178
176
|
}
|
|
179
177
|
//#endregion
|
|
180
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
178
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/list/TabsListContext.mjs
|
|
181
179
|
var I = /*#__PURE__*/ O.createContext(void 0);
|
|
182
180
|
process.env.NODE_ENV !== "production" && (I.displayName = "TabsListContext");
|
|
183
181
|
function L() {
|
|
@@ -186,104 +184,106 @@ function L() {
|
|
|
186
184
|
return e;
|
|
187
185
|
}
|
|
188
186
|
//#endregion
|
|
189
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
187
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/tab/TabsTab.mjs
|
|
190
188
|
var R = /*#__PURE__*/ O.forwardRef(function(e, n) {
|
|
191
|
-
let { className: i, disabled: a = !1, render: o, value: s, id:
|
|
189
|
+
let { className: i, disabled: a = !1, render: o, value: s, id: l, nativeButton: d = !0, style: p, ...m } = e, { value: h, getTabPanelIdByValue: g, orientation: _, tabActivationDirection: b } = j(), { activateOnFocus: x, highlightedTabIndex: w, onTabActivation: D, registerTabResizeObserverElement: k, setHighlightedTabIndex: A, tabsListElement: M } = L(), P = c(l), { compositeProps: F, compositeRef: I, index: R } = T({ metadata: O.useMemo(() => ({
|
|
192
190
|
disabled: a,
|
|
193
|
-
id:
|
|
191
|
+
id: P,
|
|
194
192
|
value: s
|
|
195
193
|
}), [
|
|
196
194
|
a,
|
|
197
|
-
|
|
195
|
+
P,
|
|
198
196
|
s
|
|
199
|
-
]) }),
|
|
200
|
-
|
|
201
|
-
let e =
|
|
202
|
-
if (e) return
|
|
203
|
-
}, [
|
|
204
|
-
if (
|
|
205
|
-
|
|
197
|
+
]) }), z = s === h, B = O.useRef(!1), V = O.useRef(null);
|
|
198
|
+
t(() => {
|
|
199
|
+
let e = V.current;
|
|
200
|
+
if (e) return k(e);
|
|
201
|
+
}, [k]), t(() => {
|
|
202
|
+
if (B.current) {
|
|
203
|
+
B.current = !1;
|
|
206
204
|
return;
|
|
207
205
|
}
|
|
208
|
-
if (!(
|
|
209
|
-
let e =
|
|
206
|
+
if (!(z && R > -1 && w !== R)) return;
|
|
207
|
+
let e = M;
|
|
210
208
|
if (e != null) {
|
|
211
|
-
let t =
|
|
212
|
-
if (t &&
|
|
209
|
+
let t = C(y(e));
|
|
210
|
+
if (t && S(e, t)) return;
|
|
213
211
|
}
|
|
214
|
-
a ||
|
|
212
|
+
a || A(R);
|
|
215
213
|
}, [
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
214
|
+
z,
|
|
215
|
+
R,
|
|
216
|
+
w,
|
|
217
|
+
A,
|
|
220
218
|
a,
|
|
221
|
-
|
|
219
|
+
M
|
|
222
220
|
]);
|
|
223
|
-
let { getButtonProps:
|
|
221
|
+
let { getButtonProps: H, buttonRef: U } = v({
|
|
224
222
|
disabled: a,
|
|
225
|
-
native:
|
|
223
|
+
native: d,
|
|
226
224
|
focusableWhenDisabled: !0
|
|
227
|
-
}),
|
|
228
|
-
function
|
|
229
|
-
|
|
225
|
+
}), W = g(s), G = O.useRef(!1), K = O.useRef(!1);
|
|
226
|
+
function q(e) {
|
|
227
|
+
z || a || D(s, f(u, e.nativeEvent, void 0, { activationDirection: "none" }));
|
|
230
228
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
229
|
+
function J(e) {
|
|
230
|
+
z || (R > -1 && !a && A(R), !a && x && (!G.current || G.current && K.current) && D(s, f(u, e.nativeEvent, void 0, { activationDirection: "none" })));
|
|
233
231
|
}
|
|
234
|
-
function
|
|
235
|
-
if (
|
|
236
|
-
|
|
232
|
+
function Y(e) {
|
|
233
|
+
if (z || a) return;
|
|
234
|
+
G.current = !0;
|
|
237
235
|
function t() {
|
|
238
|
-
|
|
236
|
+
G.current = !1, K.current = !1;
|
|
239
237
|
}
|
|
240
|
-
(!e.button || e.button === 0) && (
|
|
238
|
+
(!e.button || e.button === 0) && (K.current = !0, y(e.currentTarget).addEventListener("pointerup", t, { once: !0 }));
|
|
241
239
|
}
|
|
242
240
|
return r("button", e, {
|
|
243
241
|
state: {
|
|
244
242
|
disabled: a,
|
|
245
|
-
active:
|
|
246
|
-
orientation: _
|
|
243
|
+
active: z,
|
|
244
|
+
orientation: _,
|
|
245
|
+
tabActivationDirection: b
|
|
247
246
|
},
|
|
248
247
|
ref: [
|
|
249
248
|
n,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
249
|
+
U,
|
|
250
|
+
I,
|
|
251
|
+
V
|
|
253
252
|
],
|
|
254
253
|
props: [
|
|
255
|
-
|
|
254
|
+
F,
|
|
256
255
|
{
|
|
257
256
|
role: "tab",
|
|
258
|
-
"aria-controls":
|
|
259
|
-
"aria-selected":
|
|
260
|
-
id:
|
|
261
|
-
onClick:
|
|
262
|
-
onFocus:
|
|
263
|
-
onPointerDown:
|
|
264
|
-
[E]:
|
|
257
|
+
"aria-controls": W,
|
|
258
|
+
"aria-selected": z,
|
|
259
|
+
id: P,
|
|
260
|
+
onClick: q,
|
|
261
|
+
onFocus: J,
|
|
262
|
+
onPointerDown: Y,
|
|
263
|
+
[E]: z ? "" : void 0,
|
|
265
264
|
onKeyDownCapture() {
|
|
266
|
-
|
|
265
|
+
B.current = !0;
|
|
267
266
|
}
|
|
268
267
|
},
|
|
269
268
|
m,
|
|
270
|
-
|
|
271
|
-
]
|
|
269
|
+
H
|
|
270
|
+
],
|
|
271
|
+
stateAttributesMapping: N
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
274
|
process.env.NODE_ENV !== "production" && (R.displayName = "TabsTab");
|
|
275
275
|
//#endregion
|
|
276
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
276
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/panel/TabsPanelDataAttributes.mjs
|
|
277
277
|
var z = function(e) {
|
|
278
278
|
return e.index = "data-index", e.activationDirection = "data-activation-direction", e.orientation = "data-orientation", e.hidden = "data-hidden", e[e.startingStyle = h.startingStyle] = "startingStyle", e[e.endingStyle = h.endingStyle] = "endingStyle", e;
|
|
279
279
|
}({}), B = {
|
|
280
280
|
...N,
|
|
281
281
|
...m
|
|
282
282
|
}, V = /*#__PURE__*/ O.forwardRef(function(e, n) {
|
|
283
|
-
let { className: i, value: a, render: s, keepMounted:
|
|
283
|
+
let { className: i, value: a, render: s, keepMounted: l = !1, style: u, ...d } = e, { value: f, getTabIdByPanelValue: p, orientation: m, tabActivationDirection: h, registerMountedTabPanel: v, unregisterMountedTabPanel: y } = j(), b = c(), { ref: x, index: S } = o({ metadata: O.useMemo(() => ({
|
|
284
284
|
id: b,
|
|
285
285
|
value: a
|
|
286
|
-
}), [b, a]) }), C = a ===
|
|
286
|
+
}), [b, a]) }), C = a === f, { mounted: T, transitionStatus: E, setMounted: D } = g(C), k = !T, A = p(a), M = {
|
|
287
287
|
hidden: k,
|
|
288
288
|
orientation: m,
|
|
289
289
|
tabActivationDirection: h,
|
|
@@ -303,7 +303,7 @@ var z = function(e) {
|
|
|
303
303
|
tabIndex: C ? 0 : -1,
|
|
304
304
|
inert: w(!C),
|
|
305
305
|
[z.index]: S
|
|
306
|
-
},
|
|
306
|
+
}, d],
|
|
307
307
|
stateAttributesMapping: B
|
|
308
308
|
});
|
|
309
309
|
return _({
|
|
@@ -313,81 +313,81 @@ var z = function(e) {
|
|
|
313
313
|
C || D(!1);
|
|
314
314
|
}
|
|
315
315
|
}), t(() => {
|
|
316
|
-
if (!(k && !
|
|
316
|
+
if (!(k && !l) && b != null) return v(a, b), () => {
|
|
317
317
|
y(a, b);
|
|
318
318
|
};
|
|
319
319
|
}, [
|
|
320
320
|
k,
|
|
321
|
-
|
|
321
|
+
l,
|
|
322
322
|
a,
|
|
323
323
|
b,
|
|
324
324
|
v,
|
|
325
325
|
y
|
|
326
|
-
]),
|
|
326
|
+
]), l || T ? P : null;
|
|
327
327
|
});
|
|
328
328
|
process.env.NODE_ENV !== "production" && (V.displayName = "TabsPanel");
|
|
329
329
|
//#endregion
|
|
330
|
-
//#region ../../node_modules/.bun/@base-ui+react@1.
|
|
331
|
-
var H = /*#__PURE__*/ O.forwardRef(function(e,
|
|
332
|
-
let { activateOnFocus:
|
|
333
|
-
|
|
330
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/tabs/list/TabsList.mjs
|
|
331
|
+
var H = /*#__PURE__*/ O.forwardRef(function(e, r) {
|
|
332
|
+
let { activateOnFocus: i = !1, className: o, loopFocus: s = !0, render: c, style: l, ...u } = e, { onValueChange: d, orientation: f, value: p, setTabMap: m, tabActivationDirection: h } = j(), [g, _] = O.useState(0), [v, y] = O.useState(null), b = O.useRef(/* @__PURE__ */ new Set()), x = O.useRef(/* @__PURE__ */ new Set()), S = O.useRef(null);
|
|
333
|
+
t(() => {
|
|
334
334
|
if (typeof ResizeObserver > "u") return;
|
|
335
335
|
let e = new ResizeObserver(() => {
|
|
336
|
-
|
|
336
|
+
b.current.forEach((e) => {
|
|
337
337
|
e();
|
|
338
338
|
});
|
|
339
339
|
});
|
|
340
|
-
return
|
|
340
|
+
return S.current = e, v && e.observe(v), x.current.forEach((t) => {
|
|
341
341
|
e.observe(t);
|
|
342
342
|
}), () => {
|
|
343
|
-
e.disconnect(),
|
|
343
|
+
e.disconnect(), S.current = null;
|
|
344
344
|
};
|
|
345
|
-
}, [
|
|
346
|
-
let
|
|
347
|
-
|
|
348
|
-
})),
|
|
349
|
-
|
|
350
|
-
})),
|
|
351
|
-
e !==
|
|
352
|
-
}),
|
|
353
|
-
orientation:
|
|
354
|
-
tabActivationDirection:
|
|
355
|
-
},
|
|
356
|
-
"aria-orientation":
|
|
345
|
+
}, [v]);
|
|
346
|
+
let C = a((e) => (b.current.add(e), () => {
|
|
347
|
+
b.current.delete(e);
|
|
348
|
+
})), w = a((e) => (x.current.add(e), S.current?.observe(e), () => {
|
|
349
|
+
x.current.delete(e), S.current?.unobserve(e);
|
|
350
|
+
})), T = a((e, t) => {
|
|
351
|
+
e !== p && d(e, t);
|
|
352
|
+
}), E = {
|
|
353
|
+
orientation: f,
|
|
354
|
+
tabActivationDirection: h
|
|
355
|
+
}, A = {
|
|
356
|
+
"aria-orientation": f === "vertical" ? "vertical" : void 0,
|
|
357
357
|
role: "tablist"
|
|
358
|
-
},
|
|
359
|
-
activateOnFocus:
|
|
360
|
-
highlightedTabIndex:
|
|
361
|
-
registerIndicatorUpdateListener:
|
|
362
|
-
registerTabResizeObserverElement:
|
|
363
|
-
onTabActivation:
|
|
364
|
-
setHighlightedTabIndex:
|
|
365
|
-
tabsListElement:
|
|
358
|
+
}, M = O.useMemo(() => ({
|
|
359
|
+
activateOnFocus: i,
|
|
360
|
+
highlightedTabIndex: g,
|
|
361
|
+
registerIndicatorUpdateListener: C,
|
|
362
|
+
registerTabResizeObserverElement: w,
|
|
363
|
+
onTabActivation: T,
|
|
364
|
+
setHighlightedTabIndex: _,
|
|
365
|
+
tabsListElement: v
|
|
366
366
|
}), [
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
S,
|
|
367
|
+
i,
|
|
368
|
+
g,
|
|
370
369
|
C,
|
|
371
370
|
w,
|
|
372
|
-
|
|
373
|
-
_
|
|
371
|
+
T,
|
|
372
|
+
_,
|
|
373
|
+
v
|
|
374
374
|
]);
|
|
375
375
|
return /*#__PURE__*/ k(I.Provider, {
|
|
376
|
-
value:
|
|
376
|
+
value: M,
|
|
377
377
|
children: /*#__PURE__*/ k(D, {
|
|
378
|
-
render:
|
|
379
|
-
className:
|
|
380
|
-
style:
|
|
381
|
-
state:
|
|
382
|
-
refs: [
|
|
383
|
-
props: [
|
|
378
|
+
render: c,
|
|
379
|
+
className: o,
|
|
380
|
+
style: l,
|
|
381
|
+
state: E,
|
|
382
|
+
refs: [r, y],
|
|
383
|
+
props: [A, u],
|
|
384
384
|
stateAttributesMapping: N,
|
|
385
|
-
highlightedIndex:
|
|
385
|
+
highlightedIndex: g,
|
|
386
386
|
enableHomeAndEndKeys: !0,
|
|
387
|
-
loopFocus:
|
|
388
|
-
orientation:
|
|
389
|
-
onHighlightedIndexChange:
|
|
390
|
-
onMapChange:
|
|
387
|
+
loopFocus: s,
|
|
388
|
+
orientation: f,
|
|
389
|
+
onHighlightedIndexChange: _,
|
|
390
|
+
onMapChange: m,
|
|
391
391
|
disabledIndices: n
|
|
392
392
|
})
|
|
393
393
|
});
|
|
@@ -397,13 +397,13 @@ process.env.NODE_ENV !== "production" && (H.displayName = "TabsList");
|
|
|
397
397
|
//#region lib/components/ui/atoms/tabs.tsx
|
|
398
398
|
function U({ className: e, orientation: t = "horizontal", ...n }) {
|
|
399
399
|
return /* @__PURE__ */ k(P, {
|
|
400
|
-
className:
|
|
400
|
+
className: b("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col", e),
|
|
401
401
|
"data-slot": "tabs",
|
|
402
402
|
orientation: t,
|
|
403
403
|
...n
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
|
-
var W =
|
|
406
|
+
var W = x("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground data-[variant=line]:rounded-none group-data-[orientation=horizontal]/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col", {
|
|
407
407
|
variants: { variant: {
|
|
408
408
|
default: "bg-muted",
|
|
409
409
|
line: "gap-1 bg-transparent"
|
|
@@ -412,7 +412,7 @@ var W = C("group/tabs-list inline-flex w-fit items-center justify-center rounded
|
|
|
412
412
|
});
|
|
413
413
|
function G({ className: e, variant: t = "default", ...n }) {
|
|
414
414
|
return /* @__PURE__ */ k(H, {
|
|
415
|
-
className:
|
|
415
|
+
className: b(W({ variant: t }), e),
|
|
416
416
|
"data-slot": "tabs-list",
|
|
417
417
|
"data-variant": t,
|
|
418
418
|
...n
|
|
@@ -420,14 +420,14 @@ function G({ className: e, variant: t = "default", ...n }) {
|
|
|
420
420
|
}
|
|
421
421
|
function K({ className: e, ...t }) {
|
|
422
422
|
return /* @__PURE__ */ k(R, {
|
|
423
|
-
className:
|
|
423
|
+
className: b("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-1.5 py-0.5 font-medium text-foreground/60 text-sm transition-all hover:text-foreground focus-visible:border-ring focus-visible:outline-1 focus-visible:outline-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
|
|
424
424
|
"data-slot": "tabs-trigger",
|
|
425
425
|
...t
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
function q({ className: e, ...t }) {
|
|
429
429
|
return /* @__PURE__ */ k(V, {
|
|
430
|
-
className:
|
|
430
|
+
className: b("flex-1 text-sm outline-none", e),
|
|
431
431
|
"data-slot": "tabs-content",
|
|
432
432
|
...t
|
|
433
433
|
});
|