@arcadeai/design-system 3.39.1 → 3.39.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-CniPsjzP.js +30 -0
- package/dist/CompositeList-yq5K_yj6.js +81 -0
- package/dist/CompositeRoot-Dy-5A-Je.js +206 -0
- package/dist/DialogRoot-DDokfJcO.js +57 -0
- package/dist/DialogTrigger-CFUE8YsM.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-Df6AJMbs.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-B71Eurda.js} +10329 -8108
- 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-BkplG-MI.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-DhpOY80l.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-N-RCRzo1.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
|
@@ -1,126 +1,127 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
3
|
+
import { c as I } from "../../../index-UgeK3A8s.js";
|
|
4
|
+
import { PanelLeftIcon as T } from "lucide-react";
|
|
5
|
+
import * as o from "react";
|
|
6
|
+
import { Button as C } from "./button.js";
|
|
7
|
+
import { Input as E } from "./input.js";
|
|
7
8
|
import { Separator as D } from "./separator.js";
|
|
8
|
-
import { Sheet as
|
|
9
|
+
import { Sheet as B, SheetContent as A, SheetHeader as O, SheetTitle as R, SheetDescription as H } from "./sheet.js";
|
|
9
10
|
import { Skeleton as _ } from "./skeleton.js";
|
|
10
|
-
import {
|
|
11
|
-
import { useIsMobile as
|
|
11
|
+
import { TooltipTrigger as K, Tooltip as j, TooltipContent as G } from "./tooltip.js";
|
|
12
|
+
import { useIsMobile as L } from "../../../hooks/use-mobile.js";
|
|
12
13
|
import { cn as r } from "../../../lib/utils.js";
|
|
13
|
-
import {
|
|
14
|
-
|
|
14
|
+
import { u as h } from "../../../useRender-BNXBkp2o.js";
|
|
15
|
+
import { m as v } from "../../../useRenderElement-DNB2vtF1.js";
|
|
16
|
+
const $ = "sidebar_state", P = 3600 * 24 * 7, V = "16rem", W = "18rem", q = "3rem", F = "b", k = o.createContext(null);
|
|
15
17
|
function S() {
|
|
16
|
-
const
|
|
17
|
-
if (!
|
|
18
|
+
const e = o.useContext(k);
|
|
19
|
+
if (!e)
|
|
18
20
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
19
|
-
return
|
|
21
|
+
return e;
|
|
20
22
|
}
|
|
21
|
-
function
|
|
22
|
-
defaultOpen:
|
|
23
|
-
open:
|
|
23
|
+
function oe({
|
|
24
|
+
defaultOpen: e = !0,
|
|
25
|
+
open: a,
|
|
24
26
|
onOpenChange: i,
|
|
25
|
-
className:
|
|
26
|
-
style:
|
|
27
|
-
children:
|
|
28
|
-
...
|
|
27
|
+
className: s,
|
|
28
|
+
style: n,
|
|
29
|
+
children: g,
|
|
30
|
+
...c
|
|
29
31
|
}) {
|
|
30
|
-
const
|
|
32
|
+
const l = L(), [b, f] = o.useState(!1), [N, z] = o.useState(e), m = a ?? N, x = o.useCallback(
|
|
31
33
|
(d) => {
|
|
32
|
-
const u = typeof d == "function" ? d(
|
|
33
|
-
i ? i(u) :
|
|
34
|
+
const u = typeof d == "function" ? d(m) : d;
|
|
35
|
+
i ? i(u) : z(u), document.cookie = `${$}=${u}; path=/; max-age=${P}`;
|
|
34
36
|
},
|
|
35
|
-
[i,
|
|
36
|
-
), w =
|
|
37
|
-
|
|
38
|
-
[s, x]
|
|
39
|
-
);
|
|
40
|
-
c.useEffect(() => {
|
|
37
|
+
[i, m]
|
|
38
|
+
), w = o.useCallback(() => l ? f((d) => !d) : x((d) => !d), [l, x]);
|
|
39
|
+
o.useEffect(() => {
|
|
41
40
|
const d = (u) => {
|
|
42
|
-
u.key ===
|
|
41
|
+
u.key === F && (u.metaKey || u.ctrlKey) && (u.preventDefault(), w());
|
|
43
42
|
};
|
|
44
43
|
return window.addEventListener("keydown", d), () => window.removeEventListener("keydown", d);
|
|
45
44
|
}, [w]);
|
|
46
|
-
const
|
|
45
|
+
const y = m ? "expanded" : "collapsed", M = o.useMemo(
|
|
47
46
|
() => ({
|
|
48
|
-
state:
|
|
49
|
-
open:
|
|
47
|
+
state: y,
|
|
48
|
+
open: m,
|
|
50
49
|
setOpen: x,
|
|
51
|
-
isMobile:
|
|
52
|
-
openMobile:
|
|
53
|
-
setOpenMobile:
|
|
50
|
+
isMobile: l,
|
|
51
|
+
openMobile: b,
|
|
52
|
+
setOpenMobile: f,
|
|
54
53
|
toggleSidebar: w
|
|
55
54
|
}),
|
|
56
|
-
[
|
|
55
|
+
[y, m, x, l, b, w]
|
|
57
56
|
);
|
|
58
|
-
return /* @__PURE__ */ t(
|
|
57
|
+
return /* @__PURE__ */ t(k.Provider, { value: M, children: /* @__PURE__ */ t(
|
|
59
58
|
"div",
|
|
60
59
|
{
|
|
61
60
|
className: r(
|
|
62
61
|
"group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
|
|
63
|
-
|
|
62
|
+
s
|
|
64
63
|
),
|
|
65
64
|
"data-slot": "sidebar-wrapper",
|
|
66
65
|
style: {
|
|
67
|
-
"--sidebar-width":
|
|
68
|
-
"--sidebar-width-icon":
|
|
69
|
-
...
|
|
66
|
+
"--sidebar-width": V,
|
|
67
|
+
"--sidebar-width-icon": q,
|
|
68
|
+
...n
|
|
70
69
|
},
|
|
71
|
-
...
|
|
72
|
-
children:
|
|
70
|
+
...c,
|
|
71
|
+
children: g
|
|
73
72
|
}
|
|
74
|
-
) })
|
|
73
|
+
) });
|
|
75
74
|
}
|
|
76
|
-
function
|
|
77
|
-
side:
|
|
78
|
-
variant:
|
|
75
|
+
function le({
|
|
76
|
+
side: e = "left",
|
|
77
|
+
variant: a = "sidebar",
|
|
79
78
|
collapsible: i = "offcanvas",
|
|
80
|
-
className:
|
|
81
|
-
children:
|
|
82
|
-
|
|
79
|
+
className: s,
|
|
80
|
+
children: n,
|
|
81
|
+
dir: g,
|
|
82
|
+
...c
|
|
83
83
|
}) {
|
|
84
|
-
const { isMobile:
|
|
84
|
+
const { isMobile: l, state: b, openMobile: f, setOpenMobile: N } = S();
|
|
85
85
|
return i === "none" ? /* @__PURE__ */ t(
|
|
86
86
|
"div",
|
|
87
87
|
{
|
|
88
88
|
className: r(
|
|
89
89
|
"flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
|
|
90
|
-
|
|
90
|
+
s
|
|
91
91
|
),
|
|
92
92
|
"data-slot": "sidebar",
|
|
93
|
-
...
|
|
94
|
-
children:
|
|
93
|
+
...c,
|
|
94
|
+
children: n
|
|
95
95
|
}
|
|
96
|
-
) :
|
|
97
|
-
|
|
96
|
+
) : l ? /* @__PURE__ */ t(B, { onOpenChange: N, open: f, ...c, children: /* @__PURE__ */ p(
|
|
97
|
+
A,
|
|
98
98
|
{
|
|
99
99
|
className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
|
|
100
100
|
"data-mobile": "true",
|
|
101
101
|
"data-sidebar": "sidebar",
|
|
102
102
|
"data-slot": "sidebar",
|
|
103
|
-
|
|
103
|
+
dir: g,
|
|
104
|
+
side: e,
|
|
104
105
|
style: {
|
|
105
|
-
"--sidebar-width":
|
|
106
|
+
"--sidebar-width": W
|
|
106
107
|
},
|
|
107
108
|
children: [
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */ t(
|
|
110
|
-
/* @__PURE__ */ t(
|
|
109
|
+
/* @__PURE__ */ p(O, { className: "sr-only", children: [
|
|
110
|
+
/* @__PURE__ */ t(R, { children: "Sidebar" }),
|
|
111
|
+
/* @__PURE__ */ t(H, { children: "Displays the mobile sidebar." })
|
|
111
112
|
] }),
|
|
112
|
-
/* @__PURE__ */ t("div", { className: "flex h-full w-full flex-col", children:
|
|
113
|
+
/* @__PURE__ */ t("div", { className: "flex h-full w-full flex-col", children: n })
|
|
113
114
|
]
|
|
114
115
|
}
|
|
115
|
-
) }) : /* @__PURE__ */
|
|
116
|
+
) }) : /* @__PURE__ */ p(
|
|
116
117
|
"div",
|
|
117
118
|
{
|
|
118
119
|
className: "group peer hidden text-sidebar-foreground md:block",
|
|
119
|
-
"data-collapsible":
|
|
120
|
-
"data-side":
|
|
120
|
+
"data-collapsible": b === "collapsed" ? i : "",
|
|
121
|
+
"data-side": e,
|
|
121
122
|
"data-slot": "sidebar",
|
|
122
|
-
"data-state":
|
|
123
|
-
"data-variant":
|
|
123
|
+
"data-state": b,
|
|
124
|
+
"data-variant": a,
|
|
124
125
|
children: [
|
|
125
126
|
/* @__PURE__ */ t(
|
|
126
127
|
"div",
|
|
@@ -129,7 +130,7 @@ function be({
|
|
|
129
130
|
"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
|
|
130
131
|
"group-data-[collapsible=offcanvas]:w-0",
|
|
131
132
|
"group-data-[side=right]:rotate-180",
|
|
132
|
-
|
|
133
|
+
a === "floating" || a === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
|
|
133
134
|
),
|
|
134
135
|
"data-slot": "sidebar-gap"
|
|
135
136
|
}
|
|
@@ -138,21 +139,21 @@ function be({
|
|
|
138
139
|
"div",
|
|
139
140
|
{
|
|
140
141
|
className: r(
|
|
141
|
-
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
142
|
-
a === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
142
|
+
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=right]:right-0 data-[side=left]:left-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] md:flex",
|
|
143
143
|
// Adjust the padding for floating and inset variants.
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
a === "floating" || a === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
|
|
145
|
+
s
|
|
146
146
|
),
|
|
147
|
+
"data-side": e,
|
|
147
148
|
"data-slot": "sidebar-container",
|
|
148
|
-
...
|
|
149
|
+
...c,
|
|
149
150
|
children: /* @__PURE__ */ t(
|
|
150
151
|
"div",
|
|
151
152
|
{
|
|
152
|
-
className: "flex
|
|
153
|
+
className: "flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",
|
|
153
154
|
"data-sidebar": "sidebar",
|
|
154
155
|
"data-slot": "sidebar-inner",
|
|
155
|
-
children:
|
|
156
|
+
children: n
|
|
156
157
|
}
|
|
157
158
|
)
|
|
158
159
|
}
|
|
@@ -161,222 +162,227 @@ function be({
|
|
|
161
162
|
}
|
|
162
163
|
);
|
|
163
164
|
}
|
|
164
|
-
function
|
|
165
|
-
className:
|
|
166
|
-
onClick:
|
|
165
|
+
function ue({
|
|
166
|
+
className: e,
|
|
167
|
+
onClick: a,
|
|
167
168
|
...i
|
|
168
169
|
}) {
|
|
169
|
-
const { toggleSidebar:
|
|
170
|
-
return /* @__PURE__ */
|
|
171
|
-
|
|
170
|
+
const { toggleSidebar: s } = S();
|
|
171
|
+
return /* @__PURE__ */ p(
|
|
172
|
+
C,
|
|
172
173
|
{
|
|
173
|
-
className: r(
|
|
174
|
+
className: r(e),
|
|
174
175
|
"data-sidebar": "trigger",
|
|
175
176
|
"data-slot": "sidebar-trigger",
|
|
176
|
-
onClick: (
|
|
177
|
-
|
|
177
|
+
onClick: (n) => {
|
|
178
|
+
a?.(n), s();
|
|
178
179
|
},
|
|
179
|
-
size: "icon",
|
|
180
|
+
size: "icon-sm",
|
|
180
181
|
variant: "ghost",
|
|
181
182
|
...i,
|
|
182
183
|
children: [
|
|
183
|
-
/* @__PURE__ */ t(
|
|
184
|
+
/* @__PURE__ */ t(T, {}),
|
|
184
185
|
/* @__PURE__ */ t("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
185
186
|
]
|
|
186
187
|
}
|
|
187
188
|
);
|
|
188
189
|
}
|
|
189
|
-
function
|
|
190
|
+
function ce({ className: e, ...a }) {
|
|
190
191
|
const { toggleSidebar: i } = S();
|
|
191
192
|
return /* @__PURE__ */ t(
|
|
192
193
|
"button",
|
|
193
194
|
{
|
|
194
195
|
"aria-label": "Toggle Sidebar",
|
|
195
196
|
className: r(
|
|
196
|
-
"absolute inset-y-0 z-20 hidden w-4
|
|
197
|
+
"absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2",
|
|
197
198
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
198
199
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
199
200
|
"group-data-[collapsible=offcanvas]:translate-x-0 hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:after:left-full",
|
|
200
201
|
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
201
202
|
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
|
|
202
|
-
|
|
203
|
+
e
|
|
203
204
|
),
|
|
204
205
|
"data-sidebar": "rail",
|
|
205
206
|
"data-slot": "sidebar-rail",
|
|
206
207
|
onClick: i,
|
|
207
208
|
tabIndex: -1,
|
|
208
209
|
title: "Toggle Sidebar",
|
|
209
|
-
...
|
|
210
|
+
...a
|
|
210
211
|
}
|
|
211
212
|
);
|
|
212
213
|
}
|
|
213
|
-
function
|
|
214
|
+
function be({ className: e, ...a }) {
|
|
214
215
|
return /* @__PURE__ */ t(
|
|
215
216
|
"main",
|
|
216
217
|
{
|
|
217
218
|
className: r(
|
|
218
|
-
"relative flex w-full flex-1 flex-col bg-background",
|
|
219
|
-
|
|
220
|
-
a
|
|
219
|
+
"relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:peer-data-collapsed:ml-2 md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",
|
|
220
|
+
e
|
|
221
221
|
),
|
|
222
222
|
"data-slot": "sidebar-inset",
|
|
223
|
-
...
|
|
223
|
+
...a
|
|
224
224
|
}
|
|
225
225
|
);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
className:
|
|
229
|
-
...
|
|
227
|
+
function fe({
|
|
228
|
+
className: e,
|
|
229
|
+
...a
|
|
230
230
|
}) {
|
|
231
231
|
return /* @__PURE__ */ t(
|
|
232
|
-
|
|
232
|
+
E,
|
|
233
233
|
{
|
|
234
|
-
className: r("h-8 w-full bg-background shadow-none",
|
|
234
|
+
className: r("h-8 w-full bg-background shadow-none", e),
|
|
235
235
|
"data-sidebar": "input",
|
|
236
236
|
"data-slot": "sidebar-input",
|
|
237
|
-
...
|
|
237
|
+
...a
|
|
238
238
|
}
|
|
239
239
|
);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function pe({ className: e, ...a }) {
|
|
242
242
|
return /* @__PURE__ */ t(
|
|
243
243
|
"div",
|
|
244
244
|
{
|
|
245
|
-
className: r("flex flex-col gap-2 p-2",
|
|
245
|
+
className: r("flex flex-col gap-2 p-2", e),
|
|
246
246
|
"data-sidebar": "header",
|
|
247
247
|
"data-slot": "sidebar-header",
|
|
248
|
-
...
|
|
248
|
+
...a
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function ge({ className: e, ...a }) {
|
|
253
253
|
return /* @__PURE__ */ t(
|
|
254
254
|
"div",
|
|
255
255
|
{
|
|
256
|
-
className: r("flex flex-col gap-2 p-2",
|
|
256
|
+
className: r("flex flex-col gap-2 p-2", e),
|
|
257
257
|
"data-sidebar": "footer",
|
|
258
258
|
"data-slot": "sidebar-footer",
|
|
259
|
-
...
|
|
259
|
+
...a
|
|
260
260
|
}
|
|
261
261
|
);
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
className:
|
|
265
|
-
...
|
|
263
|
+
function me({
|
|
264
|
+
className: e,
|
|
265
|
+
...a
|
|
266
266
|
}) {
|
|
267
267
|
return /* @__PURE__ */ t(
|
|
268
268
|
D,
|
|
269
269
|
{
|
|
270
|
-
className: r("mx-2 w-auto bg-sidebar-border",
|
|
270
|
+
className: r("mx-2 w-auto bg-sidebar-border", e),
|
|
271
271
|
"data-sidebar": "separator",
|
|
272
272
|
"data-slot": "sidebar-separator",
|
|
273
|
-
...
|
|
273
|
+
...a
|
|
274
274
|
}
|
|
275
275
|
);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function he({ className: e, ...a }) {
|
|
278
278
|
return /* @__PURE__ */ t(
|
|
279
279
|
"div",
|
|
280
280
|
{
|
|
281
281
|
className: r(
|
|
282
|
-
"flex min-h-0 flex-1 flex-col gap-
|
|
283
|
-
|
|
282
|
+
"no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
283
|
+
e
|
|
284
284
|
),
|
|
285
285
|
"data-sidebar": "content",
|
|
286
286
|
"data-slot": "sidebar-content",
|
|
287
|
-
...
|
|
287
|
+
...a
|
|
288
288
|
}
|
|
289
289
|
);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ve({ className: e, ...a }) {
|
|
292
292
|
return /* @__PURE__ */ t(
|
|
293
293
|
"div",
|
|
294
294
|
{
|
|
295
|
-
className: r("relative flex w-full min-w-0 flex-col p-2",
|
|
295
|
+
className: r("relative flex w-full min-w-0 flex-col p-2", e),
|
|
296
296
|
"data-sidebar": "group",
|
|
297
297
|
"data-slot": "sidebar-group",
|
|
298
|
-
...
|
|
298
|
+
...a
|
|
299
299
|
}
|
|
300
300
|
);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
className:
|
|
304
|
-
|
|
302
|
+
function xe({
|
|
303
|
+
className: e,
|
|
304
|
+
render: a,
|
|
305
305
|
...i
|
|
306
306
|
}) {
|
|
307
|
-
return
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
307
|
+
return h({
|
|
308
|
+
defaultTagName: "div",
|
|
309
|
+
props: v(
|
|
310
|
+
{
|
|
311
|
+
className: r(
|
|
312
|
+
"flex h-8 shrink-0 items-center rounded-md px-2 font-medium text-sidebar-foreground/70 text-xs outline-hidden ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
313
|
+
e
|
|
314
|
+
)
|
|
315
|
+
},
|
|
316
|
+
i
|
|
317
|
+
),
|
|
318
|
+
render: a,
|
|
319
|
+
state: {
|
|
320
|
+
slot: "sidebar-group-label",
|
|
321
|
+
sidebar: "group-label"
|
|
318
322
|
}
|
|
319
|
-
);
|
|
323
|
+
});
|
|
320
324
|
}
|
|
321
|
-
function
|
|
322
|
-
className:
|
|
323
|
-
|
|
325
|
+
function we({
|
|
326
|
+
className: e,
|
|
327
|
+
render: a,
|
|
324
328
|
...i
|
|
325
329
|
}) {
|
|
326
|
-
return
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
330
|
+
return h({
|
|
331
|
+
defaultTagName: "button",
|
|
332
|
+
props: v(
|
|
333
|
+
{
|
|
334
|
+
className: r(
|
|
335
|
+
"absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 group-data-[collapsible=icon]:hidden md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
|
|
336
|
+
e
|
|
337
|
+
)
|
|
338
|
+
},
|
|
339
|
+
i
|
|
340
|
+
),
|
|
341
|
+
render: a,
|
|
342
|
+
state: {
|
|
343
|
+
slot: "sidebar-group-action",
|
|
344
|
+
sidebar: "group-action"
|
|
339
345
|
}
|
|
340
|
-
);
|
|
346
|
+
});
|
|
341
347
|
}
|
|
342
|
-
function
|
|
343
|
-
className:
|
|
344
|
-
...
|
|
348
|
+
function Se({
|
|
349
|
+
className: e,
|
|
350
|
+
...a
|
|
345
351
|
}) {
|
|
346
352
|
return /* @__PURE__ */ t(
|
|
347
353
|
"div",
|
|
348
354
|
{
|
|
349
|
-
className: r("w-full text-sm",
|
|
355
|
+
className: r("w-full text-sm", e),
|
|
350
356
|
"data-sidebar": "group-content",
|
|
351
357
|
"data-slot": "sidebar-group-content",
|
|
352
|
-
...
|
|
358
|
+
...a
|
|
353
359
|
}
|
|
354
360
|
);
|
|
355
361
|
}
|
|
356
|
-
function
|
|
362
|
+
function Ne({ className: e, ...a }) {
|
|
357
363
|
return /* @__PURE__ */ t(
|
|
358
364
|
"ul",
|
|
359
365
|
{
|
|
360
|
-
className: r("flex w-full min-w-0 flex-col gap-
|
|
366
|
+
className: r("flex w-full min-w-0 flex-col gap-0", e),
|
|
361
367
|
"data-sidebar": "menu",
|
|
362
368
|
"data-slot": "sidebar-menu",
|
|
363
|
-
...
|
|
369
|
+
...a
|
|
364
370
|
}
|
|
365
371
|
);
|
|
366
372
|
}
|
|
367
|
-
function
|
|
373
|
+
function ye({ className: e, ...a }) {
|
|
368
374
|
return /* @__PURE__ */ t(
|
|
369
375
|
"li",
|
|
370
376
|
{
|
|
371
|
-
className: r("group/menu-item relative",
|
|
377
|
+
className: r("group/menu-item relative", e),
|
|
372
378
|
"data-sidebar": "menu-item",
|
|
373
379
|
"data-slot": "sidebar-menu-item",
|
|
374
|
-
...
|
|
380
|
+
...a
|
|
375
381
|
}
|
|
376
382
|
);
|
|
377
383
|
}
|
|
378
|
-
const
|
|
379
|
-
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-
|
|
384
|
+
const U = I(
|
|
385
|
+
"peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&_svg]:size-4 [&_svg]:shrink-0",
|
|
380
386
|
{
|
|
381
387
|
variants: {
|
|
382
388
|
variant: {
|
|
@@ -395,104 +401,103 @@ const Q = M(
|
|
|
395
401
|
}
|
|
396
402
|
}
|
|
397
403
|
);
|
|
398
|
-
function
|
|
399
|
-
|
|
400
|
-
isActive:
|
|
404
|
+
function _e({
|
|
405
|
+
render: e,
|
|
406
|
+
isActive: a = !1,
|
|
401
407
|
variant: i = "default",
|
|
402
|
-
size:
|
|
403
|
-
tooltip:
|
|
404
|
-
className:
|
|
405
|
-
...
|
|
408
|
+
size: s = "default",
|
|
409
|
+
tooltip: n,
|
|
410
|
+
className: g,
|
|
411
|
+
...c
|
|
406
412
|
}) {
|
|
407
|
-
const
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
413
|
+
const { isMobile: l, state: b } = S(), f = h({
|
|
414
|
+
defaultTagName: "button",
|
|
415
|
+
props: v(
|
|
416
|
+
{
|
|
417
|
+
className: r(U({ variant: i, size: s }), g)
|
|
418
|
+
},
|
|
419
|
+
c
|
|
420
|
+
),
|
|
421
|
+
render: n ? /* @__PURE__ */ t(K, { render: e }) : e,
|
|
422
|
+
state: {
|
|
423
|
+
slot: "sidebar-menu-button",
|
|
424
|
+
sidebar: "menu-button",
|
|
425
|
+
size: s,
|
|
426
|
+
active: a
|
|
416
427
|
}
|
|
417
|
-
);
|
|
418
|
-
return
|
|
419
|
-
children:
|
|
420
|
-
}), /* @__PURE__ */
|
|
421
|
-
|
|
428
|
+
});
|
|
429
|
+
return n ? (typeof n == "string" && (n = {
|
|
430
|
+
children: n
|
|
431
|
+
}), /* @__PURE__ */ p(j, { children: [
|
|
432
|
+
f,
|
|
422
433
|
/* @__PURE__ */ t(
|
|
423
|
-
|
|
434
|
+
G,
|
|
424
435
|
{
|
|
425
436
|
align: "center",
|
|
426
|
-
hidden:
|
|
437
|
+
hidden: b !== "collapsed" || l,
|
|
427
438
|
side: "right",
|
|
428
|
-
...
|
|
439
|
+
...n
|
|
429
440
|
}
|
|
430
441
|
)
|
|
431
|
-
] })) :
|
|
442
|
+
] })) : f;
|
|
432
443
|
}
|
|
433
444
|
function ke({
|
|
434
|
-
className:
|
|
435
|
-
|
|
445
|
+
className: e,
|
|
446
|
+
render: a,
|
|
436
447
|
showOnHover: i = !1,
|
|
437
|
-
...
|
|
448
|
+
...s
|
|
438
449
|
}) {
|
|
439
|
-
return
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
...n
|
|
450
|
+
return h({
|
|
451
|
+
defaultTagName: "button",
|
|
452
|
+
props: v(
|
|
453
|
+
{
|
|
454
|
+
className: r(
|
|
455
|
+
"absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground group-data-[collapsible=icon]:hidden peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
|
|
456
|
+
i && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 aria-expanded:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground md:opacity-0",
|
|
457
|
+
e
|
|
458
|
+
)
|
|
459
|
+
},
|
|
460
|
+
s
|
|
461
|
+
),
|
|
462
|
+
render: a,
|
|
463
|
+
state: {
|
|
464
|
+
slot: "sidebar-menu-action",
|
|
465
|
+
sidebar: "menu-action"
|
|
456
466
|
}
|
|
457
|
-
);
|
|
467
|
+
});
|
|
458
468
|
}
|
|
459
|
-
function
|
|
460
|
-
className:
|
|
461
|
-
...
|
|
469
|
+
function ze({
|
|
470
|
+
className: e,
|
|
471
|
+
...a
|
|
462
472
|
}) {
|
|
463
473
|
return /* @__PURE__ */ t(
|
|
464
474
|
"div",
|
|
465
475
|
{
|
|
466
476
|
className: r(
|
|
467
|
-
"pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 font-medium text-sidebar-foreground text-xs tabular-nums",
|
|
468
|
-
|
|
469
|
-
"peer-data-[size=sm]/menu-button:top-1",
|
|
470
|
-
"peer-data-[size=default]/menu-button:top-1.5",
|
|
471
|
-
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
472
|
-
"group-data-[collapsible=icon]:hidden",
|
|
473
|
-
a
|
|
477
|
+
"pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 font-medium text-sidebar-foreground text-xs tabular-nums peer-hover/menu-button:text-sidebar-accent-foreground group-data-[collapsible=icon]:hidden peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground",
|
|
478
|
+
e
|
|
474
479
|
),
|
|
475
480
|
"data-sidebar": "menu-badge",
|
|
476
481
|
"data-slot": "sidebar-menu-badge",
|
|
477
|
-
...
|
|
482
|
+
...a
|
|
478
483
|
}
|
|
479
484
|
);
|
|
480
485
|
}
|
|
481
|
-
function
|
|
482
|
-
className:
|
|
483
|
-
showIcon:
|
|
486
|
+
function Me({
|
|
487
|
+
className: e,
|
|
488
|
+
showIcon: a = !1,
|
|
484
489
|
...i
|
|
485
490
|
}) {
|
|
486
|
-
const
|
|
487
|
-
return /* @__PURE__ */
|
|
491
|
+
const [s] = o.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
|
|
492
|
+
return /* @__PURE__ */ p(
|
|
488
493
|
"div",
|
|
489
494
|
{
|
|
490
|
-
className: r("flex h-8 items-center gap-2 rounded-md px-2",
|
|
495
|
+
className: r("flex h-8 items-center gap-2 rounded-md px-2", e),
|
|
491
496
|
"data-sidebar": "menu-skeleton",
|
|
492
497
|
"data-slot": "sidebar-menu-skeleton",
|
|
493
498
|
...i,
|
|
494
499
|
children: [
|
|
495
|
-
|
|
500
|
+
a && /* @__PURE__ */ t(
|
|
496
501
|
_,
|
|
497
502
|
{
|
|
498
503
|
className: "size-4 rounded-md",
|
|
@@ -505,7 +510,7 @@ function ze({
|
|
|
505
510
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
506
511
|
"data-sidebar": "menu-skeleton-text",
|
|
507
512
|
style: {
|
|
508
|
-
"--skeleton-width":
|
|
513
|
+
"--skeleton-width": s
|
|
509
514
|
}
|
|
510
515
|
}
|
|
511
516
|
)
|
|
@@ -513,84 +518,84 @@ function ze({
|
|
|
513
518
|
}
|
|
514
519
|
);
|
|
515
520
|
}
|
|
516
|
-
function
|
|
521
|
+
function Ie({ className: e, ...a }) {
|
|
517
522
|
return /* @__PURE__ */ t(
|
|
518
523
|
"ul",
|
|
519
524
|
{
|
|
520
525
|
className: r(
|
|
521
|
-
"mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-sidebar-border border-l px-2.5 py-0.5",
|
|
522
|
-
|
|
523
|
-
a
|
|
526
|
+
"mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-sidebar-border border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden",
|
|
527
|
+
e
|
|
524
528
|
),
|
|
525
529
|
"data-sidebar": "menu-sub",
|
|
526
530
|
"data-slot": "sidebar-menu-sub",
|
|
527
|
-
...
|
|
531
|
+
...a
|
|
528
532
|
}
|
|
529
533
|
);
|
|
530
534
|
}
|
|
531
535
|
function Te({
|
|
532
|
-
className:
|
|
533
|
-
...
|
|
536
|
+
className: e,
|
|
537
|
+
...a
|
|
534
538
|
}) {
|
|
535
539
|
return /* @__PURE__ */ t(
|
|
536
540
|
"li",
|
|
537
541
|
{
|
|
538
|
-
className: r("group/menu-sub-item relative",
|
|
542
|
+
className: r("group/menu-sub-item relative", e),
|
|
539
543
|
"data-sidebar": "menu-sub-item",
|
|
540
544
|
"data-slot": "sidebar-menu-sub-item",
|
|
541
|
-
...
|
|
545
|
+
...a
|
|
542
546
|
}
|
|
543
547
|
);
|
|
544
548
|
}
|
|
545
|
-
function
|
|
546
|
-
|
|
547
|
-
size:
|
|
549
|
+
function Ce({
|
|
550
|
+
render: e,
|
|
551
|
+
size: a = "md",
|
|
548
552
|
isActive: i = !1,
|
|
549
|
-
className:
|
|
550
|
-
...
|
|
553
|
+
className: s,
|
|
554
|
+
...n
|
|
551
555
|
}) {
|
|
552
|
-
return
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
"
|
|
566
|
-
|
|
567
|
-
|
|
556
|
+
return h({
|
|
557
|
+
defaultTagName: "a",
|
|
558
|
+
props: v(
|
|
559
|
+
{
|
|
560
|
+
className: r(
|
|
561
|
+
"flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-active:bg-sidebar-accent data-[size=md]:text-sm data-[size=sm]:text-xs data-active:text-sidebar-accent-foreground group-data-[collapsible=icon]:hidden [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
|
|
562
|
+
s
|
|
563
|
+
)
|
|
564
|
+
},
|
|
565
|
+
n
|
|
566
|
+
),
|
|
567
|
+
render: e,
|
|
568
|
+
state: {
|
|
569
|
+
slot: "sidebar-menu-sub-button",
|
|
570
|
+
sidebar: "menu-sub-button",
|
|
571
|
+
size: a,
|
|
572
|
+
active: i
|
|
568
573
|
}
|
|
569
|
-
);
|
|
574
|
+
});
|
|
570
575
|
}
|
|
571
576
|
export {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
577
|
+
le as Sidebar,
|
|
578
|
+
he as SidebarContent,
|
|
579
|
+
ge as SidebarFooter,
|
|
580
|
+
ve as SidebarGroup,
|
|
581
|
+
we as SidebarGroupAction,
|
|
582
|
+
Se as SidebarGroupContent,
|
|
583
|
+
xe as SidebarGroupLabel,
|
|
584
|
+
pe as SidebarHeader,
|
|
585
|
+
fe as SidebarInput,
|
|
586
|
+
be as SidebarInset,
|
|
587
|
+
Ne as SidebarMenu,
|
|
583
588
|
ke as SidebarMenuAction,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
589
|
+
ze as SidebarMenuBadge,
|
|
590
|
+
_e as SidebarMenuButton,
|
|
591
|
+
ye as SidebarMenuItem,
|
|
592
|
+
Me as SidebarMenuSkeleton,
|
|
593
|
+
Ie as SidebarMenuSub,
|
|
594
|
+
Ce as SidebarMenuSubButton,
|
|
590
595
|
Te as SidebarMenuSubItem,
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
596
|
+
oe as SidebarProvider,
|
|
597
|
+
ce as SidebarRail,
|
|
598
|
+
me as SidebarSeparator,
|
|
599
|
+
ue as SidebarTrigger,
|
|
595
600
|
S as useSidebar
|
|
596
601
|
};
|