@arcadeai/design-system 3.39.1 → 3.39.3
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-CniPsjzP.js +30 -0
- package/dist/CompositeList-yq5K_yj6.js +81 -0
- package/dist/CompositeRoot-Dy-5A-Je.js +206 -0
- package/dist/DialogRoot-DPdhw92q.js +57 -0
- package/dist/DialogTrigger-C5WbKc3Z.js +402 -0
- package/dist/DirectionContext-BSOheMwC.js +10 -0
- package/dist/FieldItemContext-CF2fRwBC.js +12 -0
- package/dist/FloatingPortalLite-BHsRx4XN.js +29 -0
- package/dist/InternalBackdrop-BVEfe6O1.js +610 -0
- package/dist/LabelableContext-Dzw1DWuj.js +171 -0
- package/dist/Separator-CswSYAXX.js +25 -0
- package/dist/ToolbarRootContext-D7EsmJ5f.js +10 -0
- package/dist/andromeeda-B-gfN00q.js +4 -0
- package/dist/angular-html-dA1qUKRV.js +32 -0
- package/dist/angular-ts-CXyBC0vY.js +21 -0
- package/dist/apl-CjNiDgad.js +3 -3
- package/dist/assets/images/arcade-grid.d.ts.map +1 -1
- package/dist/assets/images/arcade-grid.js +1 -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--3ZkKqYU.js +18 -0
- package/dist/astro-CFFExE8Q.js +5 -5
- package/dist/aurora-x-B56eICma.js +4 -0
- package/dist/ayu-dark-DJSOaKig.js +4 -0
- package/dist/ayu-light-BPfFt4v-.js +4 -0
- package/dist/ayu-mirage-DmPLRBj7.js +4 -0
- package/dist/blade-BoRuQEEj.js +20 -0
- package/dist/blade-D0HyNvCw.js +4 -4
- package/dist/c-C4SM8H98.js +6 -0
- package/dist/cairo-DM6WF2e3.js +1 -1
- package/dist/{calendar-DreAgQKY.js → calendar-CLEnvrbp.js} +483 -482
- package/dist/catppuccin-frappe-CA5k7W3u.js +4 -0
- package/dist/catppuccin-latte-CYfkUW5v.js +4 -0
- package/dist/catppuccin-macchiato-BOj_4I3g.js +4 -0
- package/dist/catppuccin-mocha-BXpUXme4.js +4 -0
- package/dist/clamp-BxE4ZAuA.js +17 -0
- package/dist/cobol-HihOMwht.js +1 -1
- package/dist/coffee-D8Swy5yR.js +8 -0
- package/dist/components/index.js +665 -646
- package/dist/components/ui/atoms/accordion.d.ts +9 -7
- package/dist/components/ui/atoms/accordion.d.ts.map +1 -1
- package/dist/components/ui/atoms/accordion.js +454 -243
- package/dist/components/ui/atoms/alert-dialog.d.ts +13 -9
- package/dist/components/ui/atoms/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +149 -183
- package/dist/components/ui/atoms/alert.d.ts +2 -1
- package/dist/components/ui/atoms/alert.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert.js +36 -25
- package/dist/components/ui/atoms/avatar.d.ts +10 -5
- package/dist/components/ui/atoms/avatar.d.ts.map +1 -1
- package/dist/components/ui/atoms/avatar.js +198 -205
- package/dist/components/ui/atoms/badge.d.ts +4 -5
- package/dist/components/ui/atoms/badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/badge.js +31 -22
- package/dist/components/ui/atoms/breadcrumb.d.ts +4 -5
- package/dist/components/ui/atoms/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/atoms/breadcrumb.js +46 -29
- package/dist/components/ui/atoms/button.d.ts +4 -6
- package/dist/components/ui/atoms/button.d.ts.map +1 -1
- package/dist/components/ui/atoms/button.js +59 -28
- package/dist/components/ui/atoms/byoc-badge.d.ts +2 -2
- package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/byoc-badge.js +14 -8
- package/dist/components/ui/atoms/calendar.d.ts +6 -16
- package/dist/components/ui/atoms/calendar.d.ts.map +1 -1
- package/dist/components/ui/atoms/calendar.js +1 -1
- package/dist/components/ui/atoms/card.d.ts +4 -2
- package/dist/components/ui/atoms/card.d.ts.map +1 -1
- package/dist/components/ui/atoms/card.js +46 -35
- package/dist/components/ui/atoms/chart.d.ts +24 -48
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.js +179 -148
- package/dist/components/ui/atoms/checkbox.d.ts +2 -3
- package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
- package/dist/components/ui/atoms/checkbox.js +269 -249
- package/dist/components/ui/atoms/code-block.js +1 -1
- package/dist/components/ui/atoms/collapsible.d.ts +5 -5
- package/dist/components/ui/atoms/collapsible.d.ts.map +1 -1
- package/dist/components/ui/atoms/collapsible.js +208 -23
- package/dist/components/ui/atoms/command.d.ts +4 -3
- package/dist/components/ui/atoms/command.d.ts.map +1 -1
- package/dist/components/ui/atoms/command.js +1655 -348
- package/dist/components/ui/atoms/dialog.d.ts +12 -10
- package/dist/components/ui/atoms/dialog.d.ts.map +1 -1
- package/dist/components/ui/atoms/dialog.js +91 -80
- package/dist/components/ui/atoms/dropdown-menu.d.ts +21 -17
- package/dist/components/ui/atoms/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/atoms/dropdown-menu.js +1507 -899
- package/dist/components/ui/atoms/form.d.ts +5 -3
- package/dist/components/ui/atoms/form.d.ts.map +1 -1
- package/dist/components/ui/atoms/form.js +36 -42
- package/dist/components/ui/atoms/hover-card.d.ts +5 -6
- package/dist/components/ui/atoms/hover-card.d.ts.map +1 -1
- package/dist/components/ui/atoms/hover-card.js +355 -193
- package/dist/components/ui/atoms/index.d.ts +1 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +566 -547
- package/dist/components/ui/atoms/input-group.d.ts +20 -0
- package/dist/components/ui/atoms/input-group.d.ts.map +1 -0
- package/dist/components/ui/atoms/input-group.js +136 -0
- package/dist/components/ui/atoms/input.d.ts.map +1 -1
- package/dist/components/ui/atoms/input.js +113 -13
- package/dist/components/ui/atoms/label.d.ts +1 -2
- package/dist/components/ui/atoms/label.d.ts.map +1 -1
- package/dist/components/ui/atoms/label.js +18 -31
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/mobile-tooltip.js +4 -3
- package/dist/components/ui/atoms/popover.d.ts +8 -6
- package/dist/components/ui/atoms/popover.d.ts.map +1 -1
- package/dist/components/ui/atoms/popover.js +617 -245
- package/dist/components/ui/atoms/pro-badge.js +1 -1
- package/dist/components/ui/atoms/progress.d.ts +7 -4
- package/dist/components/ui/atoms/progress.d.ts.map +1 -1
- package/dist/components/ui/atoms/progress.js +236 -92
- package/dist/components/ui/atoms/radio-group.d.ts +4 -4
- package/dist/components/ui/atoms/radio-group.d.ts.map +1 -1
- package/dist/components/ui/atoms/radio-group.js +355 -251
- package/dist/components/ui/atoms/resizable.d.ts +3 -4
- package/dist/components/ui/atoms/resizable.d.ts.map +1 -1
- package/dist/components/ui/atoms/resizable.js +25 -27
- package/dist/components/ui/atoms/scroll-area.d.ts +5 -5
- package/dist/components/ui/atoms/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/atoms/scroll-area.js +611 -526
- package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -1
- package/dist/components/ui/atoms/scroll-button.js +27 -22
- package/dist/components/ui/atoms/select.d.ts +11 -11
- package/dist/components/ui/atoms/select.d.ts.map +1 -1
- package/dist/components/ui/atoms/select.js +1525 -889
- package/dist/components/ui/atoms/separator.d.ts +2 -3
- package/dist/components/ui/atoms/separator.d.ts.map +1 -1
- package/dist/components/ui/atoms/separator.js +16 -35
- package/dist/components/ui/atoms/sheet.d.ts +9 -9
- package/dist/components/ui/atoms/sheet.d.ts.map +1 -1
- package/dist/components/ui/atoms/sheet.js +65 -64
- package/dist/components/ui/atoms/sidebar.d.ts +9 -15
- package/dist/components/ui/atoms/sidebar.d.ts.map +1 -1
- package/dist/components/ui/atoms/sidebar.js +288 -283
- package/dist/components/ui/atoms/skeleton.js +4 -4
- package/dist/components/ui/atoms/slider.d.ts +2 -3
- package/dist/components/ui/atoms/slider.d.ts.map +1 -1
- package/dist/components/ui/atoms/slider.js +886 -440
- package/dist/components/ui/atoms/switch.d.ts +4 -5
- package/dist/components/ui/atoms/switch.d.ts.map +1 -1
- package/dist/components/ui/atoms/switch.js +218 -151
- package/dist/components/ui/atoms/table.d.ts +2 -4
- package/dist/components/ui/atoms/table.d.ts.map +1 -1
- package/dist/components/ui/atoms/table.js +35 -36
- package/dist/components/ui/atoms/tabs.d.ts +11 -7
- package/dist/components/ui/atoms/tabs.d.ts.map +1 -1
- package/dist/components/ui/atoms/tabs.js +492 -186
- package/dist/components/ui/atoms/textarea.d.ts.map +1 -1
- package/dist/components/ui/atoms/textarea.js +7 -7
- package/dist/components/ui/atoms/toggle.d.ts +2 -3
- package/dist/components/ui/atoms/toggle.d.ts.map +1 -1
- package/dist/components/ui/atoms/toggle.js +92 -45
- package/dist/components/ui/atoms/tooltip.d.ts +6 -9
- package/dist/components/ui/atoms/tooltip.d.ts.map +1 -1
- package/dist/components/ui/atoms/tooltip.js +625 -343
- package/dist/components/ui/atoms/view-tools-control.js +16 -15
- package/dist/components/ui/atoms/virtualized-grid.d.ts +11 -4
- package/dist/components/ui/atoms/virtualized-grid.d.ts.map +1 -1
- package/dist/components/ui/atoms/virtualized-grid.js +365 -333
- package/dist/components/ui/index.js +665 -646
- package/dist/components/ui/molecules/chat-history-item.d.ts.map +1 -1
- package/dist/components/ui/molecules/chat-history-item.js +47 -40
- package/dist/components/ui/molecules/command-bar.js +1 -1
- package/dist/components/ui/molecules/confirm-popover.d.ts +2 -2
- package/dist/components/ui/molecules/confirm-popover.d.ts.map +1 -1
- package/dist/components/ui/molecules/confirm-popover.js +26 -24
- package/dist/components/ui/molecules/date-time-picker.d.ts.map +1 -1
- package/dist/components/ui/molecules/date-time-picker.js +17 -11
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/message.d.ts +2 -3
- package/dist/components/ui/molecules/message.d.ts.map +1 -1
- package/dist/components/ui/molecules/message.js +10 -16
- package/dist/components/ui/molecules/prompt-input.d.ts +1 -1
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
- package/dist/components/ui/molecules/prompt-input.js +21 -22
- package/dist/components/ui/molecules/requirement-badges.d.ts.map +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +3 -3
- package/dist/components/ui/molecules/steps-progress.js +1 -0
- package/dist/components/ui/molecules/tool-call-accordion.js +1 -0
- package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-card.js +60 -47
- 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.d.ts.map +1 -1
- package/dist/components/ui/molecules/user-nav.js +62 -57
- package/dist/components/ui/templates/auth-template.js +5 -5
- package/dist/composite-BASdnlNo.js +220 -0
- package/dist/composite-BSpUD7nI.js +66 -0
- package/dist/cpp-CA4iM_wM.js +18 -0
- package/dist/createBaseUIEventDetails-CqidROtw.js +55 -0
- package/dist/crystal-CRJyc4G-.js +4 -4
- package/dist/css-M7EaDHN_.js +6 -0
- package/dist/csv-B7yqA61e.js +6 -0
- package/dist/dark-plus-B4vfALTw.js +4 -0
- package/dist/detectBrowser-Dn2N72k1.js +42 -0
- package/dist/dracula-Cb59ZzY3.js +4 -0
- package/dist/dracula-soft-aaEmszbU.js +4 -0
- package/dist/edge-BYQkOzbF.js +1 -1
- package/dist/element-DSo91iOi.js +88 -0
- package/dist/elm-BtNbw_Cd.js +1 -1
- package/dist/erlang-DNcDT8Hi.js +1 -1
- package/dist/event-BCa0Un_3.js +30 -0
- package/dist/everforest-dark-CLp_21RJ.js +4 -0
- package/dist/everforest-light-CZ0NCAAv.js +4 -0
- package/dist/floating-ui.utils-48URp89E.js +126 -0
- package/dist/floating-ui.utils.dom-jr2suqy2.js +135 -0
- package/dist/fsharp-CYOiIVNx.js +1 -1
- package/dist/getDisabledMountTransitionStyles-fmnaQYVj.js +1539 -0
- package/dist/getPseudoElementBounds-B4_miSEJ.js +364 -0
- package/dist/git-rebase-ZWUFO_T4.js +1 -1
- package/dist/github-dark-BD3lImVS.js +4 -0
- package/dist/github-dark-default-ID_nBUwl.js +4 -0
- package/dist/github-dark-dimmed-Cw4rFgde.js +4 -0
- package/dist/github-dark-high-contrast-DSby9de8.js +4 -0
- package/dist/github-light-W396yAFe.js +4 -0
- package/dist/github-light-default-DCAQ2px1.js +4 -0
- package/dist/github-light-high-contrast-ChWJGEvx.js +4 -0
- package/dist/glimmer-js-DkxNrfPT.js +2 -2
- package/dist/glimmer-ts-D6YZEmK_.js +2 -2
- package/dist/glsl-CgdqkyFp.js +8 -0
- package/dist/graphql-Bv26LTzG.js +14 -0
- package/dist/gruvbox-dark-hard-BC1GRqFa.js +4 -0
- package/dist/gruvbox-dark-medium-COLy2cDY.js +4 -0
- package/dist/gruvbox-dark-soft-B8MALL4f.js +4 -0
- package/dist/gruvbox-light-hard-Bzxr_AnB.js +4 -0
- package/dist/gruvbox-light-medium-D2fqu3Kj.js +4 -0
- package/dist/gruvbox-light-soft-atzRH3-n.js +4 -0
- package/dist/hack-ItRNKiEb.js +1 -1
- package/dist/haml-B1t5q1Sv.js +10 -0
- package/dist/haml-NZLVzu_R.js +1 -1
- package/dist/handlebars-B2fb61mr.js +14 -0
- package/dist/handlebars-mxStpSE7.js +2 -2
- package/dist/highlighted-body-OFNGDK62-BiqCpm9-.js +20 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -1
- package/dist/hooks/use-mobile.js +11 -12
- package/dist/horizon-PFtq58ZB.js +4 -0
- package/dist/horizon-bright-2WzHy-Vo.js +4 -0
- package/dist/houston-BEqUWhHr.js +4 -0
- package/dist/html-B50bmoVb.js +1 -1
- package/dist/html-CPZ3oZQ7.js +10 -0
- package/dist/html-derivative-B2qv7eyt.js +8 -0
- package/dist/http-BQ2t9cn1.js +14 -0
- package/dist/hurl-RyCMCa80.js +12 -0
- package/dist/imba-DpB-wtPB.js +6 -0
- package/dist/index-3rscXtm3.js +4708 -0
- package/dist/inertValue-kpZZDBEy.js +7 -0
- package/dist/integrations/rhf/index.js +6 -5
- package/dist/isElementDisabled-Cbd8W9kH.js +6 -0
- package/dist/java-CbphP4lz.js +6 -0
- package/dist/javascript-CgYd5l7W.js +6 -0
- package/dist/jinja-DFCUirAg.js +11 -0
- package/dist/jison-CTEI_s6O.js +8 -0
- package/dist/json-B5-prx4F.js +6 -0
- package/dist/json5-CZ8R1oUY.js +6 -0
- package/dist/jsonc-DMboCKBJ.js +6 -0
- package/dist/jsonl-YgIUi4Dg.js +6 -0
- package/dist/jsx-D4q4E1UD.js +6 -0
- package/dist/julia-2ubi2n9a.js +16 -0
- package/dist/just-CEK2SJ_k.js +4 -4
- package/dist/kanagawa-dragon-DuYaOBBk.js +4 -0
- package/dist/kanagawa-lotus-CyjAihYC.js +4 -0
- package/dist/kanagawa-wave-BVdXUMj5.js +4 -0
- package/dist/laserwave-B_2VVKNJ.js +4 -0
- package/dist/less-MoGo8xoS.js +6 -0
- package/dist/light-plus-IB4fPeJj.js +4 -0
- package/dist/liquid-CHzkx3jT.js +2 -2
- package/dist/lua-Bp3IRv7I.js +1 -1
- package/dist/main.js +691 -672
- package/dist/markdown-B-zRtm0x.js +6 -0
- package/dist/{markdown-D0xxRbwP.js → markdown-Cv6uZPhi.js} +10357 -8139
- package/dist/marko-BlmC3dqW.js +14 -0
- package/dist/marko-CJBA24Ri.js +2 -2
- package/dist/material-theme-CjsSdYF2.js +4 -0
- package/dist/material-theme-darker-DEk0vgdS.js +4 -0
- package/dist/material-theme-lighter-DEVB_7K5.js +4 -0
- package/dist/material-theme-ocean-DK6jm24j.js +4 -0
- package/dist/material-theme-palenight-CNkXNpHv.js +4 -0
- package/dist/mdc-C9YSUwVC.js +2 -2
- package/dist/mdc-CLNk3q28.js +12 -0
- package/dist/mdx-CiUWpBB_.js +6 -0
- package/dist/mermaid-GHXKKRXX-4WUOeY7t.js +5 -0
- package/dist/min-dark-CJcHUHwu.js +4 -0
- package/dist/min-light-BAN2UR75.js +4 -0
- package/dist/monokai-BbXwpjKl.js +4 -0
- package/dist/night-owl-csViJ7u4.js +4 -0
- package/dist/night-owl-light-BC-NuMC3.js +4 -0
- package/dist/nim-QAjRdh9w.js +5 -5
- package/dist/nord-B8Sq-VQ0.js +4 -0
- package/dist/one-dark-pro-DTdrcl-J.js +4 -0
- package/dist/one-light-kPHTChCU.js +4 -0
- package/dist/owner-rKN292Q9.js +6 -0
- package/dist/perl-DkVrgJBg.js +3 -3
- package/dist/php-BIzsF_5x.js +4 -4
- package/dist/php-Kn-vgdBD.js +18 -0
- package/dist/plastic-DDweBgVs.js +4 -0
- package/dist/poimandres-Dqvs16BQ.js +4 -0
- package/dist/popupStateMapping-BT9Y_jIq.js +1849 -0
- package/dist/postcss-CwL8bLZI.js +6 -0
- package/dist/pug-CTOOvSEH.js +12 -0
- package/dist/pug-XOw9Q1Ho.js +1 -1
- package/dist/python-jjYlTiSH.js +6 -0
- package/dist/qml-rTNXsquU.js +1 -1
- package/dist/r-C8zl4zMO.js +6 -0
- package/dist/react-resizable-panels-BqIpIFl2.js +2017 -0
- package/dist/red-DBDwQkX-.js +4 -0
- package/dist/regexp-Dpy_RgoJ.js +6 -0
- package/dist/resolveAriaLabelledBy-B5vw-szP.js +11 -0
- package/dist/rose-pine-DGHrTu7e.js +4 -0
- package/dist/rose-pine-dawn-DfRVdapG.js +4 -0
- package/dist/rose-pine-moon-DFpJm5Rd.js +4 -0
- package/dist/rst-DM32Wy3O.js +5 -5
- package/dist/ruby-BeqCs27h.js +8 -8
- package/dist/safePolygon-CJcmMc0u.js +389 -0
- package/dist/safeReact-DKq-628G.js +7 -0
- package/dist/sas-fpEvgATw.js +1 -1
- package/dist/sass-BmupNt-w.js +6 -0
- package/dist/scss-BZYVIVaN.js +8 -0
- package/dist/serializeValue-BebmSzW3.js +14 -0
- package/dist/shellscript-fMxXshxv.js +6 -0
- package/dist/shellsession-DiDJNQdy.js +1 -1
- package/dist/slack-dark-noeC6QPl.js +4 -0
- package/dist/slack-ochin-3_2idqLR.js +4 -0
- package/dist/snazzy-light-B9cV359v.js +4 -0
- package/dist/solarized-dark-B6X0ILWr.js +4 -0
- package/dist/solarized-light-LxOemn3c.js +4 -0
- package/dist/sql-D30Zid36.js +6 -0
- package/dist/stata-B8c5fTjX.js +1 -1
- package/dist/styles-DU5BO7fS.js +16 -0
- package/dist/stylus-BoBcEBjx.js +6 -0
- package/dist/surrealql-CQi7GQN7.js +1 -1
- package/dist/svelte-b9PAcyUe.js +14 -0
- package/dist/svelte-rYri41WT.js +3 -3
- package/dist/synthwave-84-DzQeMpV0.js +4 -0
- package/dist/templ-Crs9Ui8q.js +1 -1
- package/dist/tex-AHxmLTL0.js +1 -1
- package/dist/tokyo-night-CLM-V_Re.js +4 -0
- package/dist/{toolkit-card-CB1oiaei.js → toolkit-card-Dc104Z9e.js} +56 -36
- package/dist/ts-tags-CP1b-4Z2.js +41 -0
- package/dist/ts-tags-ioVe2PKw.js +5 -5
- package/dist/tsx-QNpb2qLW.js +6 -0
- package/dist/twig-DwV2Fi4L.js +2 -2
- package/dist/typescript-AhniRyfZ.js +6 -0
- package/dist/useAnimationFrame-DIc6eFHa.js +69 -0
- package/dist/useAriaLabelledBy-VklrCmKp.js +34 -0
- package/dist/useBaseUiId-C8Dq0BQq.js +25 -0
- package/dist/useButton-JYPKQKj4.js +150 -0
- package/dist/useCollapsiblePanel-9pDlDh3R.js +257 -0
- package/dist/useCompositeItem-D00ALGkT.js +35 -0
- package/dist/useCompositeListItem-CYQrZg5-.js +74 -0
- package/dist/useControlled-Sx-_x7Sz.js +32 -0
- package/dist/useFocus-Aj9ShMQu.js +97 -0
- package/dist/useIsoLayoutEffect-DpJo20by.js +7 -0
- package/dist/useLabelableId-DF_d91GP.js +44 -0
- package/dist/useOnFirstRender-B4aruaIA.js +9 -0
- package/dist/useOnMount-JHtE6teb.js +9 -0
- package/dist/useOpenChangeComplete-DkeH9FGJ.js +130 -0
- package/dist/useRender-BNXBkp2o.js +7 -0
- package/dist/useRenderElement-DNB2vtF1.js +274 -0
- package/dist/useRole-BQ8R4yU3.js +76 -0
- package/dist/useStableCallback-CudqoENs.js +33 -0
- package/dist/useSyncedFloatingRootContext-Bc90zSTy.js +185 -0
- package/dist/useTimeout-DAqPwigF.js +33 -0
- package/dist/useValueAsRef-LhoZc6As.js +20 -0
- package/dist/useValueChanged-Bissqjjn.js +15 -0
- package/dist/valueToPercent-BBgE4D3L.js +27 -0
- package/dist/vesper-BmV7KiQ0.js +4 -0
- package/dist/visuallyHidden-PuyyGHVF.js +22 -0
- package/dist/vitesse-black-CxZz3C4s.js +4 -0
- package/dist/vitesse-dark-DVUJ0sy2.js +4 -0
- package/dist/vitesse-light-BDJohtUr.js +4 -0
- package/dist/vue-CY6W2ID0.js +31 -0
- package/dist/vue-DXEmyXn9.js +3 -3
- package/dist/vue-html-DYXHAJ2G.js +8 -0
- package/dist/vue-vine-D41-N99t.js +4 -4
- package/dist/vue-vine-DiWTpMwZ.js +18 -0
- package/dist/wasm-3y0A1Y71.js +6 -0
- package/dist/wasm-Dm9SFfrx.js +7 -0
- package/dist/web-BbvN_Lei.js +2846 -0
- package/dist/wgsl-SXl3EZUN.js +6 -0
- package/dist/wit-Cw0CTVY0.js +6 -0
- package/dist/xml-CNXGTZ6Z.js +8 -0
- package/dist/xsl-BmSZphgC.js +1 -1
- package/dist/yaml-DZqZ2PBD.js +6 -0
- package/package.json +37 -34
- package/dist/highlighted-body-TPN3WLV5-D6UnKGod.js +0 -19
- package/dist/index-0ioNhtNM.js +0 -10
- package/dist/index-437EL2iq.js +0 -52
- package/dist/index-B695uy69.js +0 -9
- package/dist/index-BEZCAdXQ.js +0 -1568
- package/dist/index-BGQepRFJ.js +0 -27
- package/dist/index-BZPx6jYI.js +0 -8
- package/dist/index-BaLuVb4t.js +0 -70
- package/dist/index-Bw62B28F.js +0 -31
- package/dist/index-By-GFSsC.js +0 -245
- package/dist/index-ByaXH_ih.js +0 -10
- package/dist/index-CCKe-Mpx.js +0 -6
- package/dist/index-Cv867SGx.js +0 -13
- package/dist/index-CvA4FcaC.js +0 -677
- package/dist/index-D2LZVjSn.js +0 -82
- package/dist/index-DFZozV_h.js +0 -68
- package/dist/index-DJQkmo5O.js +0 -49
- package/dist/index-DLohNuco.js +0 -36
- package/dist/index-DrFfdHac.js +0 -144
- package/dist/index-DrlYGDRT.js +0 -119
- package/dist/index-Dz8CQngS.js +0 -181
- package/dist/index-cd1ceFJg.js +0 -6973
- package/dist/index-rKs9bXHr.js +0 -6
- package/dist/mermaid-O7DHMXV3-gUrB-Xs1.js +0 -4
- package/dist/react-resizable-panels.browser-DYl0LXfw.js +0 -1510
- package/dist/web-BwFNdl01.js +0 -697
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { E as c, b as t, u as f } from "./useRenderElement-DNB2vtF1.js";
|
|
3
|
+
import { u as E } from "./useCompositeItem-D00ALGkT.js";
|
|
4
|
+
function A(e) {
|
|
5
|
+
const {
|
|
6
|
+
render: d,
|
|
7
|
+
className: l,
|
|
8
|
+
state: s = c,
|
|
9
|
+
props: o = t,
|
|
10
|
+
refs: r = t,
|
|
11
|
+
metadata: a,
|
|
12
|
+
stateAttributesMapping: m,
|
|
13
|
+
tag: p = "div",
|
|
14
|
+
...i
|
|
15
|
+
} = e, {
|
|
16
|
+
compositeProps: n,
|
|
17
|
+
compositeRef: u
|
|
18
|
+
} = E({
|
|
19
|
+
metadata: a
|
|
20
|
+
});
|
|
21
|
+
return f(p, e, {
|
|
22
|
+
state: s,
|
|
23
|
+
ref: [...r, u],
|
|
24
|
+
props: [n, ...o, i],
|
|
25
|
+
stateAttributesMapping: m
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
A as C
|
|
30
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import { a as T } from "./useRenderElement-DNB2vtF1.js";
|
|
3
|
+
import { u as l } from "./useStableCallback-CudqoENs.js";
|
|
4
|
+
import { u as f } from "./useIsoLayoutEffect-DpJo20by.js";
|
|
5
|
+
import { C as D } from "./useCompositeListItem-CYQrZg5-.js";
|
|
6
|
+
import { jsx as L } from "react/jsx-runtime";
|
|
7
|
+
function k(h) {
|
|
8
|
+
const {
|
|
9
|
+
children: N,
|
|
10
|
+
elementsRef: t,
|
|
11
|
+
labelsRef: o,
|
|
12
|
+
onMapChange: _
|
|
13
|
+
} = h, M = l(_), O = a.useRef(0), d = T(R).current, i = T(P).current, [p, C] = a.useState(0), c = a.useRef(p), E = l((e, u) => {
|
|
14
|
+
i.set(e, u ?? null), c.current += 1, C(c.current);
|
|
15
|
+
}), I = l((e) => {
|
|
16
|
+
i.delete(e), c.current += 1, C(c.current);
|
|
17
|
+
}), r = a.useMemo(() => {
|
|
18
|
+
const e = /* @__PURE__ */ new Map();
|
|
19
|
+
return Array.from(i.keys()).filter((n) => n.isConnected).sort(S).forEach((n, m) => {
|
|
20
|
+
const s = i.get(n) ?? {};
|
|
21
|
+
e.set(n, {
|
|
22
|
+
...s,
|
|
23
|
+
index: m
|
|
24
|
+
});
|
|
25
|
+
}), e;
|
|
26
|
+
}, [i, p]);
|
|
27
|
+
f(() => {
|
|
28
|
+
if (typeof MutationObserver != "function" || r.size === 0)
|
|
29
|
+
return;
|
|
30
|
+
const e = new MutationObserver((u) => {
|
|
31
|
+
const n = /* @__PURE__ */ new Set(), m = (s) => n.has(s) ? n.delete(s) : n.add(s);
|
|
32
|
+
u.forEach((s) => {
|
|
33
|
+
s.removedNodes.forEach(m), s.addedNodes.forEach(m);
|
|
34
|
+
}), n.size === 0 && (c.current += 1, C(c.current));
|
|
35
|
+
});
|
|
36
|
+
return r.forEach((u, n) => {
|
|
37
|
+
n.parentElement && e.observe(n.parentElement, {
|
|
38
|
+
childList: !0
|
|
39
|
+
});
|
|
40
|
+
}), () => {
|
|
41
|
+
e.disconnect();
|
|
42
|
+
};
|
|
43
|
+
}, [r]), f(() => {
|
|
44
|
+
c.current === p && (t.current.length !== r.size && (t.current.length = r.size), o && o.current.length !== r.size && (o.current.length = r.size), O.current = r.size), M(r);
|
|
45
|
+
}, [M, r, t, o, p]), f(() => () => {
|
|
46
|
+
t.current = [];
|
|
47
|
+
}, [t]), f(() => () => {
|
|
48
|
+
o && (o.current = []);
|
|
49
|
+
}, [o]);
|
|
50
|
+
const g = l((e) => (d.add(e), () => {
|
|
51
|
+
d.delete(e);
|
|
52
|
+
}));
|
|
53
|
+
f(() => {
|
|
54
|
+
d.forEach((e) => e(r));
|
|
55
|
+
}, [d, r]);
|
|
56
|
+
const b = a.useMemo(() => ({
|
|
57
|
+
register: E,
|
|
58
|
+
unregister: I,
|
|
59
|
+
subscribeMapChange: g,
|
|
60
|
+
elementsRef: t,
|
|
61
|
+
labelsRef: o,
|
|
62
|
+
nextIndexRef: O
|
|
63
|
+
}), [E, I, g, t, o, O]);
|
|
64
|
+
return /* @__PURE__ */ L(D.Provider, {
|
|
65
|
+
value: b,
|
|
66
|
+
children: N
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
function P() {
|
|
70
|
+
return /* @__PURE__ */ new Map();
|
|
71
|
+
}
|
|
72
|
+
function R() {
|
|
73
|
+
return /* @__PURE__ */ new Set();
|
|
74
|
+
}
|
|
75
|
+
function S(h, N) {
|
|
76
|
+
const t = h.compareDocumentPosition(N);
|
|
77
|
+
return t & Node.DOCUMENT_POSITION_FOLLOWING || t & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : t & Node.DOCUMENT_POSITION_PRECEDING || t & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
k as C
|
|
81
|
+
};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as p from "react";
|
|
3
|
+
import { C as oe } from "./CompositeList-yq5K_yj6.js";
|
|
4
|
+
import { i as se } from "./isElementDisabled-Cbd8W9kH.js";
|
|
5
|
+
import { u as j } from "./useStableCallback-CudqoENs.js";
|
|
6
|
+
import { c as ie, b as q, E as re, u as ae } from "./useRenderElement-DNB2vtF1.js";
|
|
7
|
+
import { s as v, A as le, a as de, i as J, b as P, c as B, H as ce, E as fe, d as $, e as U, V as ue, f as he, g as ge, h as me, M as Ie } from "./composite-BSpUD7nI.js";
|
|
8
|
+
import { g as pe, a as xe, c as Re, b as X, d as Ee, e as ye, f as Ce, h as be, i as Ae } from "./composite-BASdnlNo.js";
|
|
9
|
+
import { C as Ke } from "./useButton-JYPKQKj4.js";
|
|
10
|
+
import { u as Me } from "./DirectionContext-BSOheMwC.js";
|
|
11
|
+
import { jsx as Q } from "react/jsx-runtime";
|
|
12
|
+
const _e = "data-composite-item-active", Se = [];
|
|
13
|
+
function ke(x) {
|
|
14
|
+
const {
|
|
15
|
+
itemSizes: C,
|
|
16
|
+
cols: a = 1,
|
|
17
|
+
loopFocus: R = !0,
|
|
18
|
+
dense: _ = !1,
|
|
19
|
+
orientation: o = "both",
|
|
20
|
+
direction: E,
|
|
21
|
+
highlightedIndex: w,
|
|
22
|
+
onHighlightedIndexChange: z,
|
|
23
|
+
rootRef: D,
|
|
24
|
+
enableHomeAndEndKeys: h = !1,
|
|
25
|
+
stopEventPropagation: S = !1,
|
|
26
|
+
disabledIndices: i,
|
|
27
|
+
modifierKeys: k = Se
|
|
28
|
+
} = x, [N, G] = p.useState(0), b = a > 1, g = p.useRef(null), H = ie(g, D), t = p.useRef([]), A = p.useRef(!1), r = w ?? N, m = j((e, s = !1) => {
|
|
29
|
+
if ((z ?? G)(e), s) {
|
|
30
|
+
const d = t.current[e];
|
|
31
|
+
v(g.current, d, E, o);
|
|
32
|
+
}
|
|
33
|
+
}), O = j((e) => {
|
|
34
|
+
if (e.size === 0 || A.current)
|
|
35
|
+
return;
|
|
36
|
+
A.current = !0;
|
|
37
|
+
const s = Array.from(e.keys()), d = s.find((l) => l?.hasAttribute(_e)) ?? null, c = d ? s.indexOf(d) : -1;
|
|
38
|
+
c !== -1 && m(c), v(g.current, d, E, o);
|
|
39
|
+
}), K = p.useMemo(() => ({
|
|
40
|
+
"aria-orientation": o === "both" ? void 0 : o,
|
|
41
|
+
ref: H,
|
|
42
|
+
onFocus(e) {
|
|
43
|
+
!g.current || !J(e.target) || e.target.setSelectionRange(0, e.target.value.length ?? 0);
|
|
44
|
+
},
|
|
45
|
+
onKeyDown(e) {
|
|
46
|
+
const s = h ? le : de;
|
|
47
|
+
if (!s.has(e.key) || He(e, k) || !g.current)
|
|
48
|
+
return;
|
|
49
|
+
const c = E === "rtl", l = c ? $ : B, W = {
|
|
50
|
+
horizontal: l,
|
|
51
|
+
vertical: P,
|
|
52
|
+
both: l
|
|
53
|
+
}[o], y = c ? B : $, T = {
|
|
54
|
+
horizontal: y,
|
|
55
|
+
vertical: U,
|
|
56
|
+
both: y
|
|
57
|
+
}[o];
|
|
58
|
+
if (J(e.target) && !se(e.target)) {
|
|
59
|
+
const I = e.target.selectionStart, f = e.target.selectionEnd, F = e.target.value ?? "";
|
|
60
|
+
if (I == null || e.shiftKey || I !== f || e.key !== T && I < F.length || e.key !== W && I > 0)
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
let n = r;
|
|
64
|
+
const Y = pe(t, i), L = xe(t, i);
|
|
65
|
+
if (b) {
|
|
66
|
+
const I = C || Array.from({
|
|
67
|
+
length: t.current.length
|
|
68
|
+
}, () => ({
|
|
69
|
+
width: 1,
|
|
70
|
+
height: 1
|
|
71
|
+
})), f = Re(I, a, _), F = f.findIndex((u) => u != null && !X(t, u, i)), te = f.reduce((u, M, ne) => M != null && !X(t, M, i) ? ne : u, -1);
|
|
72
|
+
n = f[Ee({
|
|
73
|
+
current: f.map((u) => u ? t.current[u] : null)
|
|
74
|
+
}, {
|
|
75
|
+
event: e,
|
|
76
|
+
orientation: o,
|
|
77
|
+
loopFocus: R,
|
|
78
|
+
cols: a,
|
|
79
|
+
// treat undefined (empty grid spaces) as disabled indices so we
|
|
80
|
+
// don't end up in them
|
|
81
|
+
disabledIndices: Ce([...i || t.current.map((u, M) => X(t, M) ? M : void 0), void 0], f),
|
|
82
|
+
minIndex: F,
|
|
83
|
+
maxIndex: te,
|
|
84
|
+
prevIndex: ye(
|
|
85
|
+
r > L ? Y : r,
|
|
86
|
+
I,
|
|
87
|
+
f,
|
|
88
|
+
a,
|
|
89
|
+
// use a corner matching the edge closest to the direction we're
|
|
90
|
+
// moving in so we don't end up in the same item. Prefer
|
|
91
|
+
// top/left over bottom/right.
|
|
92
|
+
// eslint-disable-next-line no-nested-ternary
|
|
93
|
+
e.key === P ? "bl" : e.key === B ? "tr" : "tl"
|
|
94
|
+
),
|
|
95
|
+
rtl: c
|
|
96
|
+
})];
|
|
97
|
+
}
|
|
98
|
+
const Z = {
|
|
99
|
+
horizontal: [l],
|
|
100
|
+
vertical: [P],
|
|
101
|
+
both: [l, P]
|
|
102
|
+
}[o], V = {
|
|
103
|
+
horizontal: [y],
|
|
104
|
+
vertical: [U],
|
|
105
|
+
both: [y, U]
|
|
106
|
+
}[o], ee = b ? s : {
|
|
107
|
+
horizontal: h ? ge : me,
|
|
108
|
+
vertical: h ? ue : he,
|
|
109
|
+
both: s
|
|
110
|
+
}[o];
|
|
111
|
+
h && (e.key === ce ? n = Y : e.key === fe && (n = L)), n === r && (Z.includes(e.key) || V.includes(e.key)) && (R && n === L && Z.includes(e.key) ? n = Y : R && n === Y && V.includes(e.key) ? n = L : n = be(t, {
|
|
112
|
+
startingIndex: n,
|
|
113
|
+
decrement: V.includes(e.key),
|
|
114
|
+
disabledIndices: i
|
|
115
|
+
})), n !== r && !Ae(t, n) && (S && e.stopPropagation(), ee.has(e.key) && e.preventDefault(), m(n, !0), queueMicrotask(() => {
|
|
116
|
+
t.current[n]?.focus();
|
|
117
|
+
}));
|
|
118
|
+
}
|
|
119
|
+
}), [a, _, E, i, t, h, r, b, C, R, H, k, m, o, S]);
|
|
120
|
+
return p.useMemo(() => ({
|
|
121
|
+
props: K,
|
|
122
|
+
highlightedIndex: r,
|
|
123
|
+
onHighlightedIndexChange: m,
|
|
124
|
+
elementsRef: t,
|
|
125
|
+
disabledIndices: i,
|
|
126
|
+
onMapChange: O,
|
|
127
|
+
relayKeyboardEvent: K.onKeyDown
|
|
128
|
+
}), [K, r, m, t, i, O]);
|
|
129
|
+
}
|
|
130
|
+
function He(x, C) {
|
|
131
|
+
for (const a of Ie.values())
|
|
132
|
+
if (!C.includes(a) && x.getModifierState(a))
|
|
133
|
+
return !0;
|
|
134
|
+
return !1;
|
|
135
|
+
}
|
|
136
|
+
function Ge(x) {
|
|
137
|
+
const {
|
|
138
|
+
render: C,
|
|
139
|
+
className: a,
|
|
140
|
+
refs: R = q,
|
|
141
|
+
props: _ = q,
|
|
142
|
+
state: o = re,
|
|
143
|
+
stateAttributesMapping: E,
|
|
144
|
+
highlightedIndex: w,
|
|
145
|
+
onHighlightedIndexChange: z,
|
|
146
|
+
orientation: D,
|
|
147
|
+
dense: h,
|
|
148
|
+
itemSizes: S,
|
|
149
|
+
loopFocus: i,
|
|
150
|
+
cols: k,
|
|
151
|
+
enableHomeAndEndKeys: N,
|
|
152
|
+
onMapChange: G,
|
|
153
|
+
stopEventPropagation: b = !0,
|
|
154
|
+
rootRef: g,
|
|
155
|
+
disabledIndices: H,
|
|
156
|
+
modifierKeys: t,
|
|
157
|
+
highlightItemOnHover: A = !1,
|
|
158
|
+
tag: r = "div",
|
|
159
|
+
...m
|
|
160
|
+
} = x, O = Me(), {
|
|
161
|
+
props: K,
|
|
162
|
+
highlightedIndex: e,
|
|
163
|
+
onHighlightedIndexChange: s,
|
|
164
|
+
elementsRef: d,
|
|
165
|
+
onMapChange: c,
|
|
166
|
+
relayKeyboardEvent: l
|
|
167
|
+
} = ke({
|
|
168
|
+
itemSizes: S,
|
|
169
|
+
cols: k,
|
|
170
|
+
loopFocus: i,
|
|
171
|
+
dense: h,
|
|
172
|
+
orientation: D,
|
|
173
|
+
highlightedIndex: w,
|
|
174
|
+
onHighlightedIndexChange: z,
|
|
175
|
+
rootRef: g,
|
|
176
|
+
stopEventPropagation: b,
|
|
177
|
+
enableHomeAndEndKeys: N,
|
|
178
|
+
direction: O,
|
|
179
|
+
disabledIndices: H,
|
|
180
|
+
modifierKeys: t
|
|
181
|
+
}), W = ae(r, x, {
|
|
182
|
+
state: o,
|
|
183
|
+
ref: R,
|
|
184
|
+
props: [K, ..._, m],
|
|
185
|
+
stateAttributesMapping: E
|
|
186
|
+
}), y = p.useMemo(() => ({
|
|
187
|
+
highlightedIndex: e,
|
|
188
|
+
onHighlightedIndexChange: s,
|
|
189
|
+
highlightItemOnHover: A,
|
|
190
|
+
relayKeyboardEvent: l
|
|
191
|
+
}), [e, s, A, l]);
|
|
192
|
+
return /* @__PURE__ */ Q(Ke.Provider, {
|
|
193
|
+
value: y,
|
|
194
|
+
children: /* @__PURE__ */ Q(oe, {
|
|
195
|
+
elementsRef: d,
|
|
196
|
+
onMapChange: (T) => {
|
|
197
|
+
G?.(T), c(T);
|
|
198
|
+
},
|
|
199
|
+
children: W
|
|
200
|
+
})
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
export {
|
|
204
|
+
_e as A,
|
|
205
|
+
Ge as C
|
|
206
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as x from "react";
|
|
3
|
+
import { a as h } from "./useRenderElement-DNB2vtF1.js";
|
|
4
|
+
import { u as P } from "./useOnFirstRender-B4aruaIA.js";
|
|
5
|
+
import { u as R, g as D, h as I, i as O } from "./DialogTrigger-C5WbKc3Z.js";
|
|
6
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
7
|
+
function k(u) {
|
|
8
|
+
const {
|
|
9
|
+
children: o,
|
|
10
|
+
open: t,
|
|
11
|
+
defaultOpen: n = !1,
|
|
12
|
+
onOpenChange: d,
|
|
13
|
+
onOpenChangeComplete: g,
|
|
14
|
+
disablePointerDismissal: r = !1,
|
|
15
|
+
modal: a = !0,
|
|
16
|
+
actionsRef: c,
|
|
17
|
+
handle: f,
|
|
18
|
+
triggerId: s,
|
|
19
|
+
defaultTriggerId: i = null
|
|
20
|
+
} = u, l = R(!0), p = !!l, e = h(() => f?.store ?? new D({
|
|
21
|
+
open: n,
|
|
22
|
+
openProp: t,
|
|
23
|
+
activeTriggerId: i,
|
|
24
|
+
triggerIdProp: s,
|
|
25
|
+
modal: a,
|
|
26
|
+
disablePointerDismissal: r,
|
|
27
|
+
nested: p
|
|
28
|
+
})).current;
|
|
29
|
+
P(() => {
|
|
30
|
+
t === void 0 && e.state.open === !1 && n === !0 && e.update({
|
|
31
|
+
open: !0,
|
|
32
|
+
activeTriggerId: i
|
|
33
|
+
});
|
|
34
|
+
}), e.useControlledProp("openProp", t), e.useControlledProp("triggerIdProp", s), e.useSyncedValues({
|
|
35
|
+
disablePointerDismissal: r,
|
|
36
|
+
nested: p,
|
|
37
|
+
modal: a
|
|
38
|
+
}), e.useContextCallback("onOpenChange", d), e.useContextCallback("onOpenChangeComplete", g);
|
|
39
|
+
const C = e.useState("payload");
|
|
40
|
+
I({
|
|
41
|
+
store: e,
|
|
42
|
+
actionsRef: c,
|
|
43
|
+
parentContext: l?.store.context
|
|
44
|
+
});
|
|
45
|
+
const m = x.useMemo(() => ({
|
|
46
|
+
store: e
|
|
47
|
+
}), [e]);
|
|
48
|
+
return /* @__PURE__ */ v(O.Provider, {
|
|
49
|
+
value: m,
|
|
50
|
+
children: typeof o == "function" ? o({
|
|
51
|
+
payload: C
|
|
52
|
+
}) : o
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
k as D
|
|
57
|
+
};
|