@arcadeai/design-system 3.30.0 → 3.32.0
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/StickToBottom-BGUuEI8O.js +271 -0
- package/dist/abap-Y8Dl9g_6.js +6 -0
- package/dist/actionscript-3-DQVEcJUW.js +6 -0
- package/dist/ada-vP6ak0IW.js +6 -0
- package/dist/andromeeda-BbmzSJq1.js +4 -0
- package/dist/angular-html-DPB4Rf0C.js +32 -0
- package/dist/angular-ts-CTOR2ofC.js +21 -0
- package/dist/apache-BUjz-sD2.js +6 -0
- package/dist/apex-OyTfjCYK.js +6 -0
- package/dist/apl-CjNiDgad.js +16 -0
- package/dist/applescript-BPx7YFFu.js +6 -0
- package/dist/ara-Z2fSOxSw.js +6 -0
- package/dist/asciidoc-C1T9ziH6.js +6 -0
- package/dist/asm-BTWLY5ym.js +6 -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-CFFExE8Q.js +18 -0
- package/dist/aurora-x-BwoVEUWZ.js +4 -0
- package/dist/awk-Fb0P9dkn.js +6 -0
- package/dist/ayu-dark-DJoqd4M9.js +4 -0
- package/dist/ayu-light-BzXEJRJ-.js +4 -0
- package/dist/ayu-mirage-BJ2oZGzi.js +4 -0
- package/dist/ballerina-oZK-YekG.js +6 -0
- package/dist/bat-0FvbqU9S.js +6 -0
- package/dist/beancount-DqJEb89h.js +6 -0
- package/dist/berry-DODBq_Ff.js +6 -0
- package/dist/bibtex-EULQRLY5.js +6 -0
- package/dist/bicep-BorU73w0.js +6 -0
- package/dist/bird2-CIjBSNj3.js +6 -0
- package/dist/blade-D0HyNvCw.js +20 -0
- package/dist/bsl-NkNNwerW.js +8 -0
- package/dist/{utils-CVF2pBPP.js → bundle-mjs-lrpnyDSX.js} +231 -249
- package/dist/c-eeMepfLm.js +6 -0
- package/dist/c3-BY5XW5ym.js +6 -0
- package/dist/cadence-02UX7mW8.js +6 -0
- package/dist/cairo-DM6WF2e3.js +8 -0
- package/dist/{calendar-CjLXktko.js → calendar-DreAgQKY.js} +147 -142
- package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
- package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
- package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
- package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
- package/dist/clarity-PKm5CwqM.js +6 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/cmake-BJz8BOTU.js +6 -0
- package/dist/cobol-HihOMwht.js +10 -0
- package/dist/codeowners-Bt9yU6NX.js +6 -0
- package/dist/codeql-DHkodjjI.js +6 -0
- package/dist/coffee-DGBR_nr_.js +8 -0
- package/dist/common-lisp-EVqT9Zhp.js +6 -0
- package/dist/components/index.js +495 -464
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/alert-dialog.js +1 -1
- package/dist/components/ui/atoms/alert.js +4 -4
- 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 +9 -9
- package/dist/components/ui/atoms/button.js +2 -2
- package/dist/components/ui/atoms/byoc-badge.js +2 -2
- package/dist/components/ui/atoms/calendar.js +2 -2
- package/dist/components/ui/atoms/card.js +23 -23
- package/dist/components/ui/atoms/chart.js +1 -1
- package/dist/components/ui/atoms/chat-container.d.ts +6 -0
- package/dist/components/ui/atoms/chat-container.d.ts.map +1 -0
- package/dist/components/ui/atoms/chat-container.js +55 -0
- package/dist/components/ui/atoms/checkbox.js +22 -22
- package/dist/components/ui/atoms/code-block.d.ts +11 -0
- package/dist/components/ui/atoms/code-block.d.ts.map +1 -0
- package/dist/components/ui/atoms/code-block.js +760 -0
- package/dist/components/ui/atoms/command.js +1 -1
- package/dist/components/ui/atoms/copy-button.d.ts +10 -0
- package/dist/components/ui/atoms/copy-button.d.ts.map +1 -0
- package/dist/components/ui/atoms/copy-button.js +35 -0
- package/dist/components/ui/atoms/dialog.js +1 -1
- package/dist/components/ui/atoms/dropdown-menu.js +1 -1
- package/dist/components/ui/atoms/form.js +1 -1
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/icons/index.d.ts +2 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +158 -154
- package/dist/components/ui/atoms/icons/langchain.d.ts +4 -0
- package/dist/components/ui/atoms/icons/langchain.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/langchain.js +28 -0
- package/dist/components/ui/atoms/icons/mastra.d.ts +4 -0
- package/dist/components/ui/atoms/icons/mastra.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/mastra.js +26 -0
- package/dist/components/ui/atoms/icons/vercel.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/vercel.js +5 -5
- package/dist/components/ui/atoms/index.d.ts +6 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +474 -454
- package/dist/components/ui/atoms/input.js +1 -1
- package/dist/components/ui/atoms/label.js +1 -1
- package/dist/components/ui/atoms/loader.d.ts +11 -0
- package/dist/components/ui/atoms/loader.d.ts.map +1 -0
- package/dist/components/ui/atoms/loader.js +332 -0
- package/dist/components/ui/atoms/markdown.d.ts +11 -0
- package/dist/components/ui/atoms/markdown.d.ts.map +1 -0
- package/dist/components/ui/atoms/markdown.js +6 -0
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/pro-badge.js +2 -2
- 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.d.ts +10 -0
- package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -0
- package/dist/components/ui/atoms/scroll-button.js +33 -0
- 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 +1 -1
- package/dist/components/ui/atoms/sidebar.js +2 -2
- package/dist/components/ui/atoms/skeleton.js +1 -1
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/switch.js +1 -1
- package/dist/components/ui/atoms/table.js +1 -1
- package/dist/components/ui/atoms/tabs.js +1 -1
- package/dist/components/ui/atoms/textarea.js +1 -1
- package/dist/components/ui/atoms/toggle.js +6 -6
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +5 -5
- package/dist/components/ui/index.js +495 -464
- package/dist/components/ui/molecules/date-time-picker.js +1 -1
- package/dist/components/ui/molecules/index.d.ts +4 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +18 -7
- package/dist/components/ui/molecules/message.d.ts +37 -0
- package/dist/components/ui/molecules/message.d.ts.map +1 -0
- package/dist/components/ui/molecules/message.js +65 -0
- package/dist/components/ui/molecules/prompt-input.d.ts +29 -0
- package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -0
- package/dist/components/ui/molecules/prompt-input.js +136 -0
- package/dist/components/ui/molecules/requirement-badges.js +7 -5
- package/dist/components/ui/molecules/tool-card.js +1 -1
- package/dist/components/ui/molecules/toolkit-card.js +3 -3
- package/dist/coq-B0L9upzn.js +6 -0
- package/dist/cpp-Cj177cuW.js +18 -0
- package/dist/crystal-CRJyc4G-.js +18 -0
- package/dist/csharp-CCgA4A09.js +6 -0
- package/dist/css-CECN5uSL.js +6 -0
- package/dist/csv-CmYOceLb.js +6 -0
- package/dist/cue-ZzumE7IT.js +6 -0
- package/dist/cypher-jpdmjtA6.js +6 -0
- package/dist/d-CBagWSwH.js +6 -0
- package/dist/dark-plus-pUHDTVV0.js +4 -0
- package/dist/dart-6ObCrKr9.js +6 -0
- package/dist/dax-CcDT-8dH.js +6 -0
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/docker-CsHqm9tx.js +6 -0
- package/dist/dotenv-BMjVjUL1.js +6 -0
- package/dist/dracula-BtZx2Kac.js +4 -0
- package/dist/dracula-soft-BKa-aqBv.js +4 -0
- package/dist/dream-maker-PAx17jaB.js +6 -0
- package/dist/edge-BYQkOzbF.js +12 -0
- package/dist/elixir-Dh036GMp.js +8 -0
- package/dist/elm-BtNbw_Cd.js +8 -0
- package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
- package/dist/erb-ScVOXVpH.js +10 -0
- package/dist/erlang-DNcDT8Hi.js +8 -0
- package/dist/everforest-dark-DMCBqXCK.js +4 -0
- package/dist/everforest-light-BbXl82Em.js +4 -0
- package/dist/fennel-N4WcXuKx.js +6 -0
- package/dist/fish-BTDEUgqH.js +6 -0
- package/dist/fluent-BMXUxfv1.js +6 -0
- package/dist/fortran-fixed-form-B67KFkXH.js +8 -0
- package/dist/fortran-free-form-CwqYvCLJ.js +6 -0
- package/dist/fsharp-CYOiIVNx.js +8 -0
- package/dist/gdresource-CvCIUjhi.js +10 -0
- package/dist/gdscript-DSAxJ_aS.js +6 -0
- package/dist/gdshader-Bk8fF6yr.js +6 -0
- package/dist/genie-DzUvd7U9.js +6 -0
- package/dist/gherkin-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-rebase-ZWUFO_T4.js +8 -0
- package/dist/github-dark-DenFmJkN.js +4 -0
- package/dist/github-dark-default-BJPUVz4H.js +4 -0
- package/dist/github-dark-dimmed-DUshB20C.js +4 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
- package/dist/github-light-JYsPkUQd.js +4 -0
- package/dist/github-light-default-D99KPAby.js +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
- package/dist/gleam-Bv284lvN.js +6 -0
- package/dist/glimmer-js-DkxNrfPT.js +14 -0
- package/dist/glimmer-ts-D6YZEmK_.js +14 -0
- package/dist/glsl-CkUcVZNK.js +8 -0
- package/dist/gn-XtJxiLa4.js +6 -0
- package/dist/gnuplot-yPG9-sE_.js +6 -0
- package/dist/go-CvFNMTvu.js +6 -0
- package/dist/graphql-CBu2ehBn.js +14 -0
- package/dist/groovy-CJQTphOW.js +6 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
- package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
- package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
- package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
- package/dist/hack-ItRNKiEb.js +10 -0
- package/dist/haml-NZLVzu_R.js +10 -0
- package/dist/handlebars-mxStpSE7.js +14 -0
- package/dist/haskell-WeIwNIP6.js +6 -0
- package/dist/haxe-TztHsm5T.js +6 -0
- package/dist/hcl-D438OF-I.js +6 -0
- package/dist/highlighted-body-B3W2YXNL-Dg7ybfUq.js +19 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL.js +6 -0
- package/dist/horizon-CJQ10nlf.js +4 -0
- package/dist/horizon-bright-CdkBZOMB.js +4 -0
- package/dist/houston-BDYrDoDW.js +4 -0
- package/dist/html-B50bmoVb.js +10 -0
- package/dist/html-derivative-C6bxFbFW.js +8 -0
- package/dist/http-DLvAkeD-.js +14 -0
- package/dist/hurl-CgkFN90t.js +12 -0
- package/dist/hxml-GbqSQCLa.js +8 -0
- package/dist/hy-Brt5EZ7-.js +6 -0
- package/dist/imba-CimUv-Uh.js +6 -0
- package/dist/{index-DBUvnhgM.js → index-UgeK3A8s.js} +1 -1
- package/dist/index-cd1ceFJg.js +6973 -0
- package/dist/ini-BZIuRIvJ.js +6 -0
- package/dist/java-DY6VlHhP.js +6 -0
- package/dist/javascript-C25yR2R2.js +6 -0
- package/dist/jinja-CFW5uAwY.js +11 -0
- package/dist/jison-DdreslRX.js +8 -0
- package/dist/json-DxJze_jm.js +6 -0
- package/dist/json5-BT4Fjg39.js +6 -0
- package/dist/jsonc-CHjZD8gR.js +6 -0
- package/dist/jsonl-BGuvDmy9.js +6 -0
- package/dist/jsonnet-Bx2cfsXg.js +6 -0
- package/dist/jssm-BcADi6EI.js +6 -0
- package/dist/jsx-BtKADgXT.js +6 -0
- package/dist/julia-CZiKXNNP.js +16 -0
- package/dist/just-CEK2SJ_k.js +18 -0
- package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
- package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
- package/dist/kanagawa-wave-CQwozSzG.js +4 -0
- package/dist/kdl-BNOv9TC3.js +6 -0
- package/dist/kotlin-ByBMgTeR.js +6 -0
- package/dist/kusto-DH_XitHS.js +6 -0
- package/dist/laserwave-6a00oqik.js +4 -0
- package/dist/latex-B8Egmqc5.js +8 -0
- package/dist/lean-BnVxaZxY.js +6 -0
- package/dist/less-B1GLI2Di.js +6 -0
- package/dist/lib/utils.js +21 -3
- package/dist/light-plus-CZuVqSLX.js +4 -0
- package/dist/liquid-CHzkx3jT.js +14 -0
- package/dist/llvm-Bk2XctFf.js +6 -0
- package/dist/log-Al8wyEFV.js +6 -0
- package/dist/logo-DBa4JDzV.js +6 -0
- package/dist/lua-Bp3IRv7I.js +8 -0
- package/dist/luau-UQyhudEE.js +6 -0
- package/dist/main.js +517 -486
- package/dist/make-CsMclxtr.js +6 -0
- package/dist/markdown-CSrGIfKB.js +20177 -0
- package/dist/markdown-CrScaQ96.js +6 -0
- package/dist/marko-CJBA24Ri.js +14 -0
- package/dist/material-theme-D6KBX41T.js +4 -0
- package/dist/material-theme-darker-CkRroheE.js +4 -0
- package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
- package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
- package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
- package/dist/matlab-BOAaUVP0.js +6 -0
- package/dist/mdc-C9YSUwVC.js +12 -0
- package/dist/mdx-BOhZZUJ8.js +6 -0
- package/dist/mermaid-3ZIDBTTL-Co7GHGDL.js +4 -0
- package/dist/mermaid-C3rz4dYh.js +6 -0
- package/dist/min-dark-C7ak0t6c.js +4 -0
- package/dist/min-light-CKFxVcPp.js +4 -0
- package/dist/mipsasm-CTx18fBl.js +6 -0
- package/dist/mojo-EIZIZRTQ.js +6 -0
- package/dist/monokai-C1KBYcO0.js +4 -0
- package/dist/moonbit-B1TV0fG3.js +6 -0
- package/dist/move-Db4ltDq1.js +6 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-47kAzSl1.js +8 -0
- package/dist/nextflow-groovy-Drz_2V0j.js +6 -0
- package/dist/nginx-D7O4WoB1.js +8 -0
- package/dist/night-owl-Bm2rzalh.js +4 -0
- package/dist/night-owl-light-CBI5u5kw.js +4 -0
- package/dist/nim-QAjRdh9w.js +20 -0
- package/dist/nix-fTRXMGic.js +9 -0
- package/dist/nord-CC5OiUXg.js +4 -0
- package/dist/nushell-BGCPRlV5.js +6 -0
- package/dist/objective-c-Itk8tzmv.js +6 -0
- package/dist/objective-cpp-DGt5UKRO.js +6 -0
- package/dist/ocaml-eSVK32Eg.js +6 -0
- package/dist/odin-BItnF517.js +6 -0
- package/dist/one-dark-pro-DTA3VF0_.js +4 -0
- package/dist/one-light-LkMrt1Cf.js +4 -0
- package/dist/openscad-Sp5uZ6f2.js +6 -0
- package/dist/pascal-xy8pJNns.js +6 -0
- package/dist/perl-DkVrgJBg.js +16 -0
- package/dist/php-BIzsF_5x.js +18 -0
- package/dist/pkl-C-zSNmaA.js +6 -0
- package/dist/plastic-CSTz3KZp.js +4 -0
- package/dist/plsql-pVbGZfOv.js +6 -0
- package/dist/po-BNfHvqmm.js +6 -0
- package/dist/poimandres-C-VADXHD.js +4 -0
- package/dist/polar-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n.js +6 -0
- package/dist/powerquery-DI9HkTvs.js +6 -0
- package/dist/powershell-Clc4ydu-.js +6 -0
- package/dist/prisma-FZjmVtSl.js +6 -0
- package/dist/prolog-C5-yg4TO.js +6 -0
- package/dist/proto-C7QgialS.js +6 -0
- package/dist/pug-XOw9Q1Ho.js +12 -0
- package/dist/puppet-CUJHmnxV.js +6 -0
- package/dist/purescript-rUfGld-4.js +6 -0
- package/dist/python-BFNSHbwJ.js +6 -0
- package/dist/qml-rTNXsquU.js +8 -0
- package/dist/qmldir-BInDYbpo.js +6 -0
- package/dist/qss-AeJTysr_.js +6 -0
- package/dist/r-CSmzDPi7.js +6 -0
- package/dist/racket-B83wSAja.js +6 -0
- package/dist/raku-nEQ4ZJJ7.js +6 -0
- package/dist/razor-Ci8D0dQK.js +10 -0
- package/dist/red-7y8PH7HH.js +4 -0
- package/dist/reg-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg.js +6 -0
- package/dist/rel-BcRfyd6Q.js +6 -0
- package/dist/riscv-Ce8MAQLP.js +6 -0
- package/dist/ron-DCEEQypA.js +6 -0
- package/dist/rose-pine-BKc3yVeu.js +4 -0
- package/dist/rose-pine-dawn-BulJcPZT.js +4 -0
- package/dist/rose-pine-moon-j6jiXKV8.js +4 -0
- package/dist/rosmsg-Cz0w1km8.js +6 -0
- package/dist/rst-DM32Wy3O.js +22 -0
- package/dist/ruby-BeqCs27h.js +30 -0
- package/dist/rust-CLzF9zIN.js +6 -0
- package/dist/sas-fpEvgATw.js +8 -0
- package/dist/sass-DxHp5rTx.js +6 -0
- package/dist/scala-D4grkFkl.js +6 -0
- package/dist/scheme-BCRWuEm4.js +6 -0
- package/dist/scss-B1FaCqwR.js +8 -0
- package/dist/sdbl-B7T8abf4.js +6 -0
- package/dist/shaderlab-Cr62-Wb4.js +8 -0
- package/dist/shellscript-InADTalH.js +6 -0
- package/dist/shellsession-DiDJNQdy.js +8 -0
- package/dist/slack-dark-i7wN4OET.js +4 -0
- package/dist/slack-ochin-ndHf0LoP.js +4 -0
- package/dist/smalltalk-BlI1_OkM.js +6 -0
- package/dist/snazzy-light-BlSJXAu4.js +4 -0
- package/dist/solarized-dark-UTmkh7lw.js +4 -0
- package/dist/solarized-light-BheCkDPT.js +4 -0
- package/dist/solidity-DUWnFhS6.js +6 -0
- package/dist/soy-C1-6njHa.js +8 -0
- package/dist/sparql-B0KWFEri.js +8 -0
- package/dist/splunk-CRXR8A9s.js +6 -0
- package/dist/sql-Cn_v3PB0.js +6 -0
- package/dist/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-B8c5fTjX.js +8 -0
- package/dist/stylus-CyKEU1Ej.js +6 -0
- package/dist/surrealql-CQi7GQN7.js +8 -0
- package/dist/svelte-rYri41WT.js +14 -0
- package/dist/swift-DJpUqPLg.js +6 -0
- package/dist/synthwave-84-NU3C_KFZ.js +4 -0
- package/dist/system-verilog-BCm7smPJ.js +6 -0
- package/dist/systemd-C-4qm6XH.js +6 -0
- package/dist/talonscript-CFF3LF_O.js +6 -0
- package/dist/tasl-Cg_WBUAe.js +6 -0
- package/dist/tcl-DN7buRTF.js +6 -0
- package/dist/templ-Crs9Ui8q.js +12 -0
- package/dist/terraform-DGvcn9zM.js +6 -0
- package/dist/tex-AHxmLTL0.js +8 -0
- package/dist/tokyo-night-DP4TmcQl.js +4 -0
- package/dist/toml-DY62mUL_.js +6 -0
- package/dist/{toolkit-card-B23qLCqG.js → toolkit-card-Birn0MUI.js} +6 -4
- package/dist/ts-tags-ioVe2PKw.js +41 -0
- package/dist/tsv-BtvSkaG0.js +6 -0
- package/dist/tsx-B8rCNbgL.js +6 -0
- package/dist/turtle-_H59FV7D.js +6 -0
- package/dist/twig-DwV2Fi4L.js +18 -0
- package/dist/typescript-RycA9KXf.js +6 -0
- package/dist/typespec-DWqp-kUU.js +6 -0
- package/dist/typst-D_1QKWns.js +6 -0
- package/dist/v-BPCNiyYe.js +6 -0
- package/dist/vala-uxaPR7d1.js +6 -0
- package/dist/vb-D8_c5-KN.js +6 -0
- package/dist/verilog-B-bybjPF.js +6 -0
- package/dist/vesper-BckBta1U.js +4 -0
- package/dist/vhdl-CUlNa8ac.js +6 -0
- package/dist/viml-DsfA-sWm.js +6 -0
- package/dist/vitesse-black-BoGvW84i.js +4 -0
- package/dist/vitesse-dark-Cym-eLtO.js +4 -0
- package/dist/vitesse-light-CcmG315c.js +4 -0
- package/dist/vue-DXEmyXn9.js +31 -0
- package/dist/vue-html-j9xNEdu3.js +8 -0
- package/dist/vue-vine-D41-N99t.js +18 -0
- package/dist/vyper-CPQuu50u.js +6 -0
- package/dist/wasm-BBXxrAl7.js +6 -0
- package/dist/wasm-DQxwEHae.js +7 -0
- package/dist/wenyan-pbVjoM9_.js +6 -0
- package/dist/wgsl-DY4iK1q1.js +6 -0
- package/dist/wikitext-Z-MoUasO.js +6 -0
- package/dist/wit-CQMQOlTg.js +6 -0
- package/dist/wolfram-Dz4KXISs.js +6 -0
- package/dist/xml-C2J0sS9M.js +8 -0
- package/dist/xsl-BmSZphgC.js +8 -0
- package/dist/yaml-DaO7k5B1.js +6 -0
- package/dist/zenscript-CxBjpf9c.js +6 -0
- package/dist/zig-Vm0PO9wB.js +6 -0
- package/package.json +12 -6
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { ChevronDownIcon as g } from "lucide-react";
|
|
3
3
|
import { useState as k } from "react";
|
|
4
4
|
import { Button as w } from "../atoms/button.js";
|
|
5
|
-
import { f as x, C as N } from "../../../calendar-
|
|
5
|
+
import { f as x, C as N } from "../../../calendar-DreAgQKY.js";
|
|
6
6
|
import { Input as b } from "../atoms/input.js";
|
|
7
7
|
import { Label as s } from "../atoms/label.js";
|
|
8
8
|
import { Popover as D, PopoverTrigger as v, PopoverContent as C } from "../atoms/popover.js";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/** biome-ignore-all lint/performance/noBarrelFile: Barrel files are acceptable for atomic component folders */
|
|
2
2
|
export { DateTimePicker } from './date-time-picker';
|
|
3
3
|
export { EmptyState } from './empty-state';
|
|
4
|
+
export type { MessageActionProps, MessageActionsProps, MessageAvatarProps, MessageContentProps, MessageProps, } from './message';
|
|
5
|
+
export { Message, MessageAction, MessageActions, MessageAvatar, MessageContent, } from './message';
|
|
6
|
+
export type { PromptInputActionProps, PromptInputActionsProps, PromptInputProps, PromptInputTextareaProps, } from './prompt-input';
|
|
7
|
+
export { PromptInput, PromptInputAction, PromptInputActions, PromptInputTextarea, } from './prompt-input';
|
|
4
8
|
export { RequirementBadges } from './requirement-badges';
|
|
5
9
|
export { ToolCard } from './tool-card';
|
|
6
10
|
export { ToolkitCard } from './toolkit-card';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,GACb,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,OAAO,EACP,aAAa,EACb,cAAc,EACd,aAAa,EACb,cAAc,GACf,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
import { DateTimePicker as
|
|
1
|
+
import { DateTimePicker as o } from "./date-time-picker.js";
|
|
2
2
|
import { EmptyState as a } from "./empty-state.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Message as s, MessageAction as m, MessageActions as n, MessageAvatar as i, MessageContent as x } from "./message.js";
|
|
4
|
+
import { PromptInput as g, PromptInputAction as c, PromptInputActions as u, PromptInputTextarea as A } from "./prompt-input.js";
|
|
5
|
+
import { R as P, T } from "../../../toolkit-card-Birn0MUI.js";
|
|
6
|
+
import { ToolCard as d } from "./tool-card.js";
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
o as DateTimePicker,
|
|
7
9
|
a as EmptyState,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
s as Message,
|
|
11
|
+
m as MessageAction,
|
|
12
|
+
n as MessageActions,
|
|
13
|
+
i as MessageAvatar,
|
|
14
|
+
x as MessageContent,
|
|
15
|
+
g as PromptInput,
|
|
16
|
+
c as PromptInputAction,
|
|
17
|
+
u as PromptInputActions,
|
|
18
|
+
A as PromptInputTextarea,
|
|
19
|
+
P as RequirementBadges,
|
|
20
|
+
d as ToolCard,
|
|
21
|
+
T as ToolkitCard
|
|
11
22
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Markdown } from '../atoms/markdown';
|
|
2
|
+
import { Tooltip } from '../atoms/tooltip';
|
|
3
|
+
import type * as React from "react";
|
|
4
|
+
type MessageProps = {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
} & React.ComponentProps<"div">;
|
|
8
|
+
declare function Message({ children, className, ...props }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
type MessageAvatarProps = {
|
|
10
|
+
src: string;
|
|
11
|
+
alt: string;
|
|
12
|
+
fallback?: string;
|
|
13
|
+
delayMs?: number;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
declare function MessageAvatar({ src, alt, fallback, delayMs, className, }: MessageAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
type MessageContentProps = {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
markdown?: boolean;
|
|
20
|
+
className?: string;
|
|
21
|
+
} & React.ComponentProps<typeof Markdown> & React.ComponentProps<"div">;
|
|
22
|
+
declare function MessageContent({ children, markdown, className, ...props }: MessageContentProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
type MessageActionsProps = {
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
className?: string;
|
|
26
|
+
} & React.ComponentProps<"div">;
|
|
27
|
+
declare function MessageActions({ children, className, ...props }: MessageActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
type MessageActionProps = {
|
|
29
|
+
className?: string;
|
|
30
|
+
tooltip: React.ReactNode;
|
|
31
|
+
children: React.ReactNode;
|
|
32
|
+
side?: "top" | "bottom" | "left" | "right";
|
|
33
|
+
} & React.ComponentProps<typeof Tooltip>;
|
|
34
|
+
declare function MessageAction({ tooltip, children, className, side, ...props }: MessageActionProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export { Message, MessageAvatar, MessageContent, MessageActions, MessageAction, };
|
|
36
|
+
export type { MessageProps, MessageAvatarProps, MessageContentProps, MessageActionsProps, MessageActionProps, };
|
|
37
|
+
//# sourceMappingURL=message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EACL,OAAO,EAIR,MAAM,+BAA+B,CAAC;AAGvC,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhC,iBAAS,OAAO,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAM/D;AAED,KAAK,kBAAkB,GAAG;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,aAAa,CAAC,EACrB,GAAG,EACH,GAAG,EACH,QAAQ,EACR,OAAO,EACP,SAAS,GACV,EAAE,kBAAkB,2CASpB;AAED,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GACvC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9B,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,QAAgB,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAerB;AAED,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhC,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,2CASrB;AAED,KAAK,kBAAkB,GAAG;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAEzC,iBAAS,aAAa,CAAC,EACrB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,IAAY,EACZ,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAWpB;AAED,OAAO,EACL,OAAO,EACP,aAAa,EACb,cAAc,EACd,cAAc,EACd,aAAa,GACd,CAAC;AACF,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,GACnB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { Avatar as c, AvatarImage as m, AvatarFallback as l } from "../atoms/avatar.js";
|
|
3
|
+
import { M as d } from "../../../markdown-CSrGIfKB.js";
|
|
4
|
+
import { TooltipProvider as p, Tooltip as u, TooltipTrigger as f, TooltipContent as g } from "../atoms/tooltip.js";
|
|
5
|
+
import { cn as n } from "../../../lib/utils.js";
|
|
6
|
+
function N({ children: e, className: t, ...r }) {
|
|
7
|
+
return /* @__PURE__ */ o("div", { className: n("flex items-start gap-3", t), ...r, children: e });
|
|
8
|
+
}
|
|
9
|
+
function T({
|
|
10
|
+
src: e,
|
|
11
|
+
alt: t,
|
|
12
|
+
fallback: r,
|
|
13
|
+
delayMs: s,
|
|
14
|
+
className: a
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ i(c, { className: n("h-8 w-8 shrink-0", a), children: [
|
|
17
|
+
/* @__PURE__ */ o(m, { alt: t, src: e }),
|
|
18
|
+
r && /* @__PURE__ */ o(l, { delayMs: s, children: r })
|
|
19
|
+
] });
|
|
20
|
+
}
|
|
21
|
+
function w({
|
|
22
|
+
children: e,
|
|
23
|
+
markdown: t = !1,
|
|
24
|
+
className: r,
|
|
25
|
+
...s
|
|
26
|
+
}) {
|
|
27
|
+
const a = n(
|
|
28
|
+
"prose whitespace-normal break-words rounded-lg bg-secondary px-4 py-2 text-foreground",
|
|
29
|
+
r
|
|
30
|
+
);
|
|
31
|
+
return t ? /* @__PURE__ */ o(d, { className: a, ...s, children: e }) : /* @__PURE__ */ o("div", { className: a, ...s, children: e });
|
|
32
|
+
}
|
|
33
|
+
function k({
|
|
34
|
+
children: e,
|
|
35
|
+
className: t,
|
|
36
|
+
...r
|
|
37
|
+
}) {
|
|
38
|
+
return /* @__PURE__ */ o(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: n("flex items-center gap-2 text-muted-foreground", t),
|
|
42
|
+
...r,
|
|
43
|
+
children: e
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
function C({
|
|
48
|
+
tooltip: e,
|
|
49
|
+
children: t,
|
|
50
|
+
className: r,
|
|
51
|
+
side: s = "top",
|
|
52
|
+
...a
|
|
53
|
+
}) {
|
|
54
|
+
return /* @__PURE__ */ o(p, { children: /* @__PURE__ */ i(u, { ...a, children: [
|
|
55
|
+
/* @__PURE__ */ o(f, { asChild: !0, children: t }),
|
|
56
|
+
/* @__PURE__ */ o(g, { className: r, side: s, children: e })
|
|
57
|
+
] }) });
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
N as Message,
|
|
61
|
+
C as MessageAction,
|
|
62
|
+
k as MessageActions,
|
|
63
|
+
T as MessageAvatar,
|
|
64
|
+
w as MessageContent
|
|
65
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Textarea } from '../atoms/textarea';
|
|
3
|
+
import { Tooltip } from '../atoms/tooltip';
|
|
4
|
+
export type PromptInputProps = {
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
value?: string;
|
|
7
|
+
onValueChange?: (value: string) => void;
|
|
8
|
+
maxHeight?: number | string;
|
|
9
|
+
onSubmit?: () => void;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
} & React.ComponentProps<"div">;
|
|
14
|
+
declare function PromptInput({ className, isLoading, maxHeight, value, onValueChange, onSubmit, children, disabled, onClick, ...props }: PromptInputProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export type PromptInputTextareaProps = {
|
|
16
|
+
disableAutosize?: boolean;
|
|
17
|
+
} & React.ComponentProps<typeof Textarea>;
|
|
18
|
+
declare function PromptInputTextarea({ className, onKeyDown, disableAutosize, ...props }: PromptInputTextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export type PromptInputActionsProps = React.ComponentProps<"div">;
|
|
20
|
+
declare function PromptInputActions({ children, className, ...props }: PromptInputActionsProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export type PromptInputActionProps = {
|
|
22
|
+
className?: string;
|
|
23
|
+
tooltip: React.ReactNode;
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
side?: "top" | "bottom" | "left" | "right";
|
|
26
|
+
} & React.ComponentProps<typeof Tooltip>;
|
|
27
|
+
declare function PromptInputAction({ tooltip, children, className, side, ...props }: PromptInputActionProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export { PromptInput, PromptInputTextarea, PromptInputActions, PromptInputAction, };
|
|
29
|
+
//# sourceMappingURL=prompt-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt-input.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/prompt-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EACL,OAAO,EAIR,MAAM,+BAA+B,CAAC;AA6BvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhC,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,SAAiB,EACjB,SAAe,EACf,KAAK,EACL,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,QAAgB,EAChB,OAAO,EACP,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA8ClB;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE1C,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,SAAS,EACT,eAAuB,EACvB,GAAG,KAAK,EACT,EAAE,wBAAwB,2CAmE1B;AAED,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAElE,iBAAS,kBAAkB,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAMzB;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAEzC,iBAAS,iBAAiB,CAAC,EACzB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,IAAY,EACZ,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAiBxB;AAED,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { jsx as a, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import C, { createContext as P, useState as H, useRef as I, useLayoutEffect as R, useContext as T } from "react";
|
|
3
|
+
import { Textarea as k } from "../atoms/textarea.js";
|
|
4
|
+
import { TooltipProvider as w, Tooltip as $, TooltipTrigger as j, TooltipContent as D } from "../atoms/tooltip.js";
|
|
5
|
+
import { cn as x } from "../../../lib/utils.js";
|
|
6
|
+
const y = P({
|
|
7
|
+
isLoading: !1,
|
|
8
|
+
value: "",
|
|
9
|
+
setValue: () => {
|
|
10
|
+
},
|
|
11
|
+
maxHeight: 240,
|
|
12
|
+
onSubmit: void 0,
|
|
13
|
+
disabled: !1,
|
|
14
|
+
textareaRef: C.createRef()
|
|
15
|
+
});
|
|
16
|
+
function b() {
|
|
17
|
+
return T(y);
|
|
18
|
+
}
|
|
19
|
+
function L({
|
|
20
|
+
className: r,
|
|
21
|
+
isLoading: o = !1,
|
|
22
|
+
maxHeight: n = 240,
|
|
23
|
+
value: s,
|
|
24
|
+
onValueChange: i,
|
|
25
|
+
onSubmit: l,
|
|
26
|
+
children: e,
|
|
27
|
+
disabled: u = !1,
|
|
28
|
+
onClick: m,
|
|
29
|
+
...c
|
|
30
|
+
}) {
|
|
31
|
+
const [f, d] = H(s || ""), p = I(null), g = (h) => {
|
|
32
|
+
d(h), i?.(h);
|
|
33
|
+
}, t = (h) => {
|
|
34
|
+
u || p.current?.focus(), m?.(h);
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ a(w, { children: /* @__PURE__ */ a(
|
|
37
|
+
y.Provider,
|
|
38
|
+
{
|
|
39
|
+
value: {
|
|
40
|
+
isLoading: o,
|
|
41
|
+
value: s ?? f,
|
|
42
|
+
setValue: i ?? g,
|
|
43
|
+
maxHeight: n,
|
|
44
|
+
onSubmit: l,
|
|
45
|
+
disabled: u,
|
|
46
|
+
textareaRef: p
|
|
47
|
+
},
|
|
48
|
+
children: /* @__PURE__ */ a(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: x(
|
|
52
|
+
"cursor-text rounded-3xl border border-input bg-background p-2 shadow-xs",
|
|
53
|
+
u && "cursor-not-allowed opacity-60",
|
|
54
|
+
r
|
|
55
|
+
),
|
|
56
|
+
onClick: t,
|
|
57
|
+
...c,
|
|
58
|
+
children: e
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
) });
|
|
63
|
+
}
|
|
64
|
+
function M({
|
|
65
|
+
className: r,
|
|
66
|
+
onKeyDown: o,
|
|
67
|
+
disableAutosize: n = !1,
|
|
68
|
+
...s
|
|
69
|
+
}) {
|
|
70
|
+
const { value: i, setValue: l, maxHeight: e, onSubmit: u, disabled: m, textareaRef: c } = b(), f = (t) => {
|
|
71
|
+
!t || n || (t.style.height = "auto", typeof e == "number" ? t.style.height = `${Math.min(t.scrollHeight, e)}px` : t.style.height = `min(${t.scrollHeight}px, ${e})`);
|
|
72
|
+
}, d = (t) => {
|
|
73
|
+
c.current = t, f(t);
|
|
74
|
+
};
|
|
75
|
+
R(() => {
|
|
76
|
+
if (!c.current || n)
|
|
77
|
+
return;
|
|
78
|
+
const t = c.current;
|
|
79
|
+
t.style.height = "auto", typeof e == "number" ? t.style.height = `${Math.min(t.scrollHeight, e)}px` : t.style.height = `min(${t.scrollHeight}px, ${e})`;
|
|
80
|
+
}, [i, e, n]);
|
|
81
|
+
const p = (t) => {
|
|
82
|
+
f(t.target), l(t.target.value);
|
|
83
|
+
}, g = (t) => {
|
|
84
|
+
t.key === "Enter" && !t.shiftKey && (t.preventDefault(), u?.()), o?.(t);
|
|
85
|
+
};
|
|
86
|
+
return /* @__PURE__ */ a(
|
|
87
|
+
k,
|
|
88
|
+
{
|
|
89
|
+
className: x(
|
|
90
|
+
"min-h-[44px] w-full resize-none border-none bg-transparent text-foreground shadow-none outline-none focus-visible:ring-0 focus-visible:ring-offset-0 dark:bg-transparent",
|
|
91
|
+
r
|
|
92
|
+
),
|
|
93
|
+
disabled: m,
|
|
94
|
+
onChange: p,
|
|
95
|
+
onKeyDown: g,
|
|
96
|
+
ref: d,
|
|
97
|
+
rows: 1,
|
|
98
|
+
value: i,
|
|
99
|
+
...s
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
function _({
|
|
104
|
+
children: r,
|
|
105
|
+
className: o,
|
|
106
|
+
...n
|
|
107
|
+
}) {
|
|
108
|
+
return /* @__PURE__ */ a("div", { className: x("flex items-center gap-2", o), ...n, children: r });
|
|
109
|
+
}
|
|
110
|
+
function q({
|
|
111
|
+
tooltip: r,
|
|
112
|
+
children: o,
|
|
113
|
+
className: n,
|
|
114
|
+
side: s = "top",
|
|
115
|
+
...i
|
|
116
|
+
}) {
|
|
117
|
+
const { disabled: l } = b();
|
|
118
|
+
return /* @__PURE__ */ v($, { ...i, children: [
|
|
119
|
+
/* @__PURE__ */ a(
|
|
120
|
+
j,
|
|
121
|
+
{
|
|
122
|
+
asChild: !0,
|
|
123
|
+
disabled: l,
|
|
124
|
+
onClick: (e) => e.stopPropagation(),
|
|
125
|
+
children: o
|
|
126
|
+
}
|
|
127
|
+
),
|
|
128
|
+
/* @__PURE__ */ a(D, { className: n, side: s, children: r })
|
|
129
|
+
] });
|
|
130
|
+
}
|
|
131
|
+
export {
|
|
132
|
+
L as PromptInput,
|
|
133
|
+
q as PromptInputAction,
|
|
134
|
+
_ as PromptInputActions,
|
|
135
|
+
M as PromptInputTextarea
|
|
136
|
+
};
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "lucide-react";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../../utils
|
|
4
|
+
import "../../../lib/utils.js";
|
|
5
5
|
import "../atoms/badge.js";
|
|
6
6
|
import "../atoms/byoc-badge.js";
|
|
7
7
|
import "../atoms/chart.js";
|
|
8
|
+
import "../../../markdown-CSrGIfKB.js";
|
|
8
9
|
import "../atoms/mobile-tooltip.js";
|
|
9
10
|
import "../atoms/pro-badge.js";
|
|
10
11
|
import "../../../react-resizable-panels.browser-DYl0LXfw.js";
|
|
11
12
|
import "../atoms/sidebar.js";
|
|
12
13
|
import "../atoms/tooltip.js";
|
|
13
14
|
import "./date-time-picker.js";
|
|
14
|
-
import
|
|
15
|
+
import "./prompt-input.js";
|
|
16
|
+
import { O as n, R as q, S as x } from "../../../toolkit-card-Birn0MUI.js";
|
|
15
17
|
import "./tool-card.js";
|
|
16
18
|
import "../utils/memo.js";
|
|
17
19
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
n as OAuthBadge,
|
|
21
|
+
q as RequirementBadges,
|
|
22
|
+
x as SecretsBadge
|
|
21
23
|
};
|
|
@@ -6,7 +6,7 @@ import { Card as I, CardContent as P } from "../atoms/card.js";
|
|
|
6
6
|
import { Checkbox as j } from "../atoms/checkbox.js";
|
|
7
7
|
import { Collapsible as K, CollapsibleTrigger as T, CollapsibleContent as S } from "../atoms/collapsible.js";
|
|
8
8
|
import { useIsTruncated as z } from "../../../hooks/use-is-truncated.js";
|
|
9
|
-
import {
|
|
9
|
+
import { cn as d } from "../../../lib/utils.js";
|
|
10
10
|
import { createPropsComparator as _ } from "../utils/memo.js";
|
|
11
11
|
function R({
|
|
12
12
|
fully_qualified_name: m,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../index-
|
|
2
|
+
import "../../../index-UgeK3A8s.js";
|
|
3
3
|
import "lucide-react";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../atoms/card.js";
|
|
6
6
|
import "../atoms/checkbox.js";
|
|
7
7
|
import "../atoms/view-tools-control.js";
|
|
8
|
-
import "../../../utils
|
|
9
|
-
import { T as k } from "../../../toolkit-card-
|
|
8
|
+
import "../../../lib/utils.js";
|
|
9
|
+
import { T as k } from "../../../toolkit-card-Birn0MUI.js";
|
|
10
10
|
import "../utils/memo.js";
|
|
11
11
|
export {
|
|
12
12
|
k as ToolkitCard
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse(`{"displayName":"Coq","fileTypes":["v"],"name":"coq","patterns":[{"match":"\\\\b(From|Require|Import|Export|Local|Global|Include)\\\\b","name":"keyword.control.import.coq"},{"match":"\\\\b((Open|Close|Delimit|Undelimit|Bind)\\\\s+Scope)\\\\b","name":"keyword.control.import.coq"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"entity.name.function.theorem.coq"}},"match":"\\\\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)"},{"match":"\\\\bGoal\\\\b","name":"keyword.source.coq"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"keyword.source.coq"},"3":{"name":"entity.name.assumption.coq"}},"match":"\\\\b(Parameters?|Axioms?|Conjectures?|Variables?|Hypothesis|Hypotheses)(\\\\s+Inline)?\\\\b\\\\s*\\\\(?\\\\s*(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"3":{"name":"entity.name.assumption.coq"}},"match":"\\\\b(Context)\\\\b\\\\s*\`?\\\\s*([({])?\\\\s*(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"keyword.source.coq"},"3":{"name":"entity.name.function.coq"}},"match":"(\\\\b(?:Program|Local)\\\\s+)?\\\\b(Definition|Fixpoint|CoFixpoint|Function|Example|Let(?:(?:\\\\s+|\\\\s+Co)Fixpoint)?|Instance|Equations|Equations?)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)"},{"captures":{"1":{"name":"keyword.source.coq"}},"match":"\\\\b((Show\\\\s+)?Obligation\\\\s+Tactic|Obligations\\\\s+of|Obligation|Next\\\\s+Obligation(\\\\s+of)?|Solve\\\\s+Obligations(\\\\s+of)?|Solve\\\\s+All\\\\s+Obligations|Admit\\\\s+Obligations(\\\\s+of)?|Instance)\\\\b"},{"captures":{"1":{"name":"keyword.source.coq"},"3":{"name":"entity.name.type.coq"}},"match":"\\\\b(CoInductive|Inductive|Variant|Record|Structure|Class)\\\\s+(>\\\\s*)?(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"entity.name.function.ltac"}},"match":"\\\\b(Ltac)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)"},{"captures":{"1":{"name":"keyword.source.coq"},"2":{"name":"keyword.source.coq"},"3":{"name":"entity.name.function.ltac"}},"match":"\\\\b(Ltac2)\\\\s+(mutable\\\\s+)?(rec\\\\s+)?(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)"},{"match":"\\\\b(Hint(\\\\s+Mode)?|Create\\\\s+HintDb|Constructors|Resolve|Rewrite|Ltac2??|Implicit(\\\\s+Types)?|Set|Unset|Remove\\\\s+Printing|Arguments|((Tactic|Reserved)\\\\s+)?Notation|Infix|Section|Module(\\\\s+Type)?|End|Check|Print(\\\\s+All)?|Eval|Compute|Search|Universe|Coercions|Generalizable(\\\\s+(All|Variable))?|Existing(\\\\s+(Class|Instance))?|Canonical|About|Locate|Collection|Typeclasses\\\\s+(Opaque|Transparent))\\\\b","name":"keyword.source.coq"},{"match":"\\\\b(Proof|Qed|Defined|Save|Abort(\\\\s+All)?|Undo(\\\\s+To)?|Restart|Focus|Unfocus|Unfocused|Show\\\\s+Proof|Show\\\\s+Existentials|Show|Unshelve)\\\\b","name":"keyword.source.coq"},{"match":"\\\\b(Quit|Drop|Time|Redirect|Timeout|Fail)\\\\b","name":"keyword.debug.coq"},{"match":"\\\\b(admit|Admitted)\\\\b","name":"invalid.illegal.admit.coq"},{"match":"[-*+:<=>{|}¬→↔∧∨≠≤≥]","name":"keyword.operator.coq"},{"match":"\\\\b(forall|exists|Type|Set|Prop|nat|bool|option|list|unit|sum|prod|comparison|Empty_set)\\\\b|[∀∃]","name":"support.type.coq"},{"match":"\\\\b(try|repeat|rew|progress|fresh|solve|now|first|tryif|at|once|do|only)\\\\b","name":"keyword.control.ltac"},{"match":"\\\\b(into|with|eqn|by|move|as|using)\\\\b","name":"keyword.control.ltac"},{"match":"\\\\b(match|lazymatch|multimatch|match!|lazy_match!|multi_match!|fun|with|return|end|let|in|if|then|else|fix|for|where|and)\\\\b|λ","name":"keyword.control.gallina"},{"match":"\\\\b(intros??|revert|induction|destruct|auto|eauto|tauto|eassumption|apply|eapply|assumption|constructor|econstructor|reflexivity|inversion|injection|assert|split|esplit|omega|fold|unfold|specialize|rewrite|erewrite|change|symmetry|refine|simpl|intuition|firstorder|generalize|idtac|exists??|eexists|elim|eelim|rename|subst|congruence|trivial|left|right|set|pose|discriminate|clear|clearbody|contradict|contradiction|exact|dependent|remember|case|easy|unshelve|pattern|transitivity|etransitivity|f_equal|exfalso|replace|abstract|cycle|swap|revgoals|shelve|unshelve)\\\\b","name":"support.function.builtin.ltac"},{"applyEndPatternLast":1,"begin":"\\\\(\\\\*(?!#)","end":"\\\\*\\\\)","name":"comment.block.coq","patterns":[{"include":"#block_comment"},{"include":"#block_double_quoted_string"}]},{"match":"\\\\b((0([Xx])\\\\h+)|([0-9]+(\\\\.[0-9]+)?))\\\\b","name":"constant.numeric.gallina"},{"match":"\\\\b(True|False|tt|false|true|Some|None|nil|cons|pair|inl|inr|[OS]|Eq|Lt|Gt|id|ex|all|unique)\\\\b","name":"constant.language.constructor.gallina"},{"match":"\\\\b_\\\\b","name":"constant.language.wildcard.coq"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coq"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coq"}},"name":"string.quoted.double.coq"}],"repository":{"block_comment":{"applyEndPatternLast":1,"begin":"\\\\(\\\\*(?!#)","end":"\\\\*\\\\)","name":"comment.block.coq","patterns":[{"include":"#block_comment"},{"include":"#block_double_quoted_string"}]},"block_double_quoted_string":{"applyEndPatternLast":1,"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.coq"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.coq"}},"name":"string.quoted.double.coq"}},"scopeName":"source.coq"}`)), t = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
t as default
|
|
6
|
+
};
|