laif-ds 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/jsx-runtime.js +6 -0
- package/dist/_virtual/jsx-runtime2.js +5 -0
- package/dist/_virtual/react-jsx-runtime.development.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.js +5 -0
- package/dist/components/ui/accordion.js +65 -0
- package/dist/components/ui/alert-dialog.js +147 -0
- package/dist/components/ui/alert.js +67 -0
- package/dist/components/ui/aspect-ratio.js +11 -0
- package/dist/components/ui/async-select.js +172 -0
- package/dist/components/ui/audio-visualizer.js +94 -0
- package/dist/components/ui/avatar.js +54 -0
- package/dist/components/ui/badge.js +41 -0
- package/dist/components/ui/button.js +66 -0
- package/dist/components/ui/calendar.js +62 -0
- package/dist/components/ui/card.js +77 -0
- package/dist/components/ui/carousel.js +178 -0
- package/dist/components/ui/chart.js +216 -0
- package/dist/components/ui/chat-message.js +250 -0
- package/dist/components/ui/chat.js +226 -0
- package/dist/components/ui/checkbox.js +32 -0
- package/dist/components/ui/collapsible.js +35 -0
- package/dist/components/ui/command.js +162 -0
- package/dist/components/ui/context-menu.js +224 -0
- package/dist/components/ui/copy-button.js +45 -0
- package/dist/components/ui/date-picker.js +59 -0
- package/dist/components/ui/dialog.js +123 -0
- package/dist/components/ui/drawer.js +120 -0
- package/dist/components/ui/file-preview.js +120 -0
- package/dist/components/ui/form.js +102 -0
- package/dist/components/ui/hover-card.js +39 -0
- package/dist/components/ui/icon.js +35 -0
- package/dist/components/ui/input-otp.js +62 -0
- package/dist/components/ui/input-selector.js +119 -0
- package/dist/components/ui/input.js +70 -0
- package/dist/components/ui/interrupt-prompt.js +38 -0
- package/dist/components/ui/label.js +23 -0
- package/dist/components/ui/markdown-renderer.js +126 -0
- package/dist/components/ui/menubar.js +252 -0
- package/dist/components/ui/message-input.js +336 -0
- package/dist/components/ui/message-list.js +29 -0
- package/dist/components/ui/multiple-selector.js +350 -0
- package/dist/components/ui/navigation-menu.js +171 -0
- package/dist/components/ui/pagination.js +119 -0
- package/dist/components/ui/popover.js +39 -0
- package/dist/components/ui/progress.js +32 -0
- package/dist/components/ui/prompt-suggestions.js +23 -0
- package/dist/components/ui/radio-group.js +46 -0
- package/dist/components/ui/resizable.js +49 -0
- package/dist/components/ui/scroll-area.js +61 -0
- package/dist/components/ui/select.js +189 -0
- package/dist/components/ui/separator.js +27 -0
- package/dist/components/ui/sheet.js +121 -0
- package/dist/components/ui/sidebar.js +599 -0
- package/dist/components/ui/skeleton.js +16 -0
- package/dist/components/ui/sonner.js +23 -0
- package/dist/components/ui/switch.js +32 -0
- package/dist/components/ui/table.js +115 -0
- package/dist/components/ui/tabs.js +68 -0
- package/dist/components/ui/textarea.js +19 -0
- package/dist/components/ui/toggle-group.js +63 -0
- package/dist/components/ui/toggle.js +44 -0
- package/dist/components/ui/tooltip.js +56 -0
- package/dist/components/ui/typing-indicator.js +13 -0
- package/dist/hooks/use-audio-recording.js +55 -0
- package/dist/hooks/use-auto-scroll.js +37 -0
- package/dist/hooks/use-autosize-textarea.js +22 -0
- package/dist/hooks/use-copy-to-clipboard.js +25 -0
- package/dist/hooks/use-debounce.js +16 -0
- package/dist/hooks/use-mobile.js +17 -0
- package/dist/index.d.ts +1088 -8
- package/dist/index.js +299 -0
- package/dist/lib/audio-utils.js +30 -0
- package/dist/lib/utils.js +9 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +248 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +36 -0
- package/dist/node_modules/react/jsx-runtime.js +11 -0
- package/dist/styles.css +1 -1
- package/package.json +15 -43
- package/dist/abap-BmBUA35e.js +0 -6
- package/dist/actionscript-3-zFUbzQa9.js +0 -6
- package/dist/ada-CBvPkFpZ.js +0 -6
- package/dist/andromeeda-uXNdzNpk.js +0 -4
- package/dist/angular-html-0fTdLuKf.js +0 -32
- package/dist/angular-ts-wkniW60G.js +0 -21
- package/dist/apache-CVNlsSDc.js +0 -6
- package/dist/apex-DFk3KRB1.js +0 -6
- package/dist/apl-TLDHFJX6.js +0 -16
- package/dist/applescript-CYMR_y0g.js +0 -6
- package/dist/ara-4QmU5e04.js +0 -6
- package/dist/asciidoc-v_1bjgUg.js +0 -6
- package/dist/asm-RC0Yh-NZ.js +0 -6
- package/dist/astro-Uf8_VxKJ.js +0 -16
- package/dist/aurora-x-BwoVEUWZ.js +0 -4
- package/dist/awk-gPH8MVMW.js +0 -6
- package/dist/ayu-dark-CxPZkpb2.js +0 -4
- package/dist/ballerina-kvLnRU_e.js +0 -6
- package/dist/bat-BHYy44sT.js +0 -6
- package/dist/beancount-D-MADTs_.js +0 -6
- package/dist/berry-Ci9U0o4h.js +0 -6
- package/dist/bibtex-CX618D15.js +0 -6
- package/dist/bicep-iuYiPopT.js +0 -6
- package/dist/blade-BtR00Gx0.js +0 -18
- package/dist/bsl-BIXPNqL4.js +0 -8
- package/dist/c-DASdrs7p.js +0 -6
- package/dist/cadence-BDALQi26.js +0 -6
- package/dist/cairo-tXZKA2PT.js +0 -8
- package/dist/catppuccin-frappe-BrTOiad2.js +0 -4
- package/dist/catppuccin-latte-D-dc_R4m.js +0 -4
- package/dist/catppuccin-macchiato-DN4jOp0G.js +0 -4
- package/dist/catppuccin-mocha-B8yCE3-3.js +0 -4
- package/dist/clarity-CNgV2Ths.js +0 -6
- package/dist/clojure-CsKKFGwv.js +0 -6
- package/dist/cmake-Dr-A3iJx.js +0 -6
- package/dist/cobol-DMssKNmC.js +0 -10
- package/dist/codeowners-Bt9yU6NX.js +0 -6
- package/dist/codeql-DBNTqJi1.js +0 -6
- package/dist/coffee-D_GzM8k1.js +0 -8
- package/dist/common-lisp-r7ZEOG7T.js +0 -6
- package/dist/components/atoms/index.d.ts +0 -20
- package/dist/components/index.d.ts +0 -3
- package/dist/components/molecules/index.d.ts +0 -29
- package/dist/components/organisms/index.d.ts +0 -14
- package/dist/components/ui/accordion.d.ts +0 -7
- package/dist/components/ui/alert-dialog.d.ts +0 -14
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/aspect-ratio.d.ts +0 -3
- package/dist/components/ui/async-select.d.ts +0 -54
- package/dist/components/ui/audio-visualizer.d.ts +0 -7
- package/dist/components/ui/avatar.d.ts +0 -6
- package/dist/components/ui/badge.d.ts +0 -9
- package/dist/components/ui/button.d.ts +0 -14
- package/dist/components/ui/calendar.d.ts +0 -4
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/carousel.d.ts +0 -19
- package/dist/components/ui/chart.d.ts +0 -40
- package/dist/components/ui/chat-message.d.ts +0 -62
- package/dist/components/ui/chat.d.ts +0 -53
- package/dist/components/ui/checkbox.d.ts +0 -4
- package/dist/components/ui/collapsible.d.ts +0 -5
- package/dist/components/ui/command.d.ts +0 -16
- package/dist/components/ui/context-menu.d.ts +0 -25
- package/dist/components/ui/copy-button.d.ts +0 -6
- package/dist/components/ui/date-picker.d.ts +0 -11
- package/dist/components/ui/dialog.d.ts +0 -13
- package/dist/components/ui/drawer.d.ts +0 -13
- package/dist/components/ui/file-preview.d.ts +0 -7
- package/dist/components/ui/form.d.ts +0 -24
- package/dist/components/ui/hover-card.d.ts +0 -6
- package/dist/components/ui/icon.d.ts +0 -33
- package/dist/components/ui/input-otp.d.ts +0 -11
- package/dist/components/ui/input-selector.d.ts +0 -14
- package/dist/components/ui/input.d.ts +0 -14
- package/dist/components/ui/interrupt-prompt.d.ts +0 -6
- package/dist/components/ui/label.d.ts +0 -4
- package/dist/components/ui/markdown-renderer.d.ts +0 -5
- package/dist/components/ui/menubar.d.ts +0 -26
- package/dist/components/ui/message-input.d.ts +0 -23
- package/dist/components/ui/message-list.d.ts +0 -10
- package/dist/components/ui/multiple-selector.d.ts +0 -75
- package/dist/components/ui/navigation-menu.d.ts +0 -14
- package/dist/components/ui/pagination.d.ts +0 -13
- package/dist/components/ui/popover.d.ts +0 -7
- package/dist/components/ui/progress.d.ts +0 -4
- package/dist/components/ui/prompt-suggestions.d.ts +0 -10
- package/dist/components/ui/radio-group.d.ts +0 -5
- package/dist/components/ui/resizable.d.ts +0 -8
- package/dist/components/ui/scroll-area.d.ts +0 -5
- package/dist/components/ui/select.d.ts +0 -21
- package/dist/components/ui/separator.d.ts +0 -4
- package/dist/components/ui/sheet.d.ts +0 -13
- package/dist/components/ui/sidebar.d.ts +0 -69
- package/dist/components/ui/skeleton.d.ts +0 -2
- package/dist/components/ui/sonner.d.ts +0 -3
- package/dist/components/ui/switch.d.ts +0 -4
- package/dist/components/ui/table.d.ts +0 -10
- package/dist/components/ui/tabs.d.ts +0 -7
- package/dist/components/ui/textarea.d.ts +0 -3
- package/dist/components/ui/toggle-group.d.ts +0 -7
- package/dist/components/ui/toggle.d.ts +0 -9
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/components/ui/typing-indicator.d.ts +0 -1
- package/dist/coq-CB6Pv_W9.js +0 -6
- package/dist/cpp-CJF2i3ah.js +0 -18
- package/dist/crystal-BKWnaU3g.js +0 -18
- package/dist/csharp-CYWRhZ2R.js +0 -6
- package/dist/css-D1aVdRIU.js +0 -6
- package/dist/csv-DvCncUGQ.js +0 -6
- package/dist/cue-BXMrmvay.js +0 -6
- package/dist/cypher-DTm5zNR1.js +0 -6
- package/dist/d-D6ZXmn3l.js +0 -6
- package/dist/dark-plus-pUHDTVV0.js +0 -4
- package/dist/dart-Dz59Is3F.js +0 -6
- package/dist/dax-DTVGzydb.js +0 -6
- package/dist/desktop-Db9vb-dl.js +0 -6
- package/dist/diff-XmNrvgM1.js +0 -6
- package/dist/docker-DWH2onkn.js +0 -6
- package/dist/dotenv-4337wvzu.js +0 -6
- package/dist/dracula-BtZx2Kac.js +0 -4
- package/dist/dracula-soft-BKa-aqBv.js +0 -4
- package/dist/dream-maker-CvvfrJSx.js +0 -6
- package/dist/edge-CgxR-qhM.js +0 -12
- package/dist/elixir-DZkeSPwW.js +0 -8
- package/dist/elm-BKuV1HE1.js +0 -8
- package/dist/emacs-lisp-BAefI874.js +0 -6
- package/dist/erb-BLwkpXUJ.js +0 -10
- package/dist/erlang-CmIiwF3I.js +0 -6
- package/dist/everforest-dark-DMCBqXCK.js +0 -4
- package/dist/everforest-light-BbXl82Em.js +0 -4
- package/dist/fennel-DNqkz9pE.js +0 -6
- package/dist/fish-DIm72t2T.js +0 -6
- package/dist/fluent-BapTxJsC.js +0 -6
- package/dist/fortran-fixed-form-s9Hnb3av.js +0 -8
- package/dist/fortran-free-form-CNDsBFUj.js +0 -6
- package/dist/fsharp-Cv0x43wb.js +0 -8
- package/dist/gdresource-CMcKXvgJ.js +0 -10
- package/dist/gdscript-D7aheHm-.js +0 -6
- package/dist/gdshader-BGJEsM2Z.js +0 -6
- package/dist/genie-C9gPjc6J.js +0 -6
- package/dist/gherkin-bka1Exbx.js +0 -6
- package/dist/git-commit-BspYIY3P.js +0 -8
- package/dist/git-rebase--zLBTjUa.js +0 -8
- package/dist/github-dark-DenFmJkN.js +0 -4
- package/dist/github-dark-default-BJPUVz4H.js +0 -4
- package/dist/github-dark-dimmed-DUshB20C.js +0 -4
- package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
- package/dist/github-light-JYsPkUQd.js +0 -4
- package/dist/github-light-default-D99KPAby.js +0 -4
- package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
- package/dist/gleam-B4k9YFGD.js +0 -6
- package/dist/glimmer-js-DhY9umHJ.js +0 -14
- package/dist/glimmer-ts-CCrHcYH5.js +0 -14
- package/dist/glsl-XLGYNq5B.js +0 -8
- package/dist/gnuplot-DnWoRZt-.js +0 -6
- package/dist/go-BErP6iv1.js +0 -6
- package/dist/graphql-DWpQF4JI.js +0 -14
- package/dist/groovy-IWs5-NIO.js +0 -6
- package/dist/hack-CQrV-ytR.js +0 -10
- package/dist/haml-CMN0hQaL.js +0 -10
- package/dist/handlebars-Cc-7fXX5.js +0 -14
- package/dist/haskell-CtlGos0K.js +0 -6
- package/dist/haxe-CZZ33vZw.js +0 -6
- package/dist/hcl-6hOg9WP4.js +0 -6
- package/dist/hjson-CgwED-oz.js +0 -6
- package/dist/hlsl-3-lv4gi7.js +0 -6
- package/dist/hooks/index.d.ts +0 -6
- package/dist/hooks/use-audio-recording.d.ts +0 -14
- package/dist/hooks/use-auto-scroll.d.ts +0 -7
- package/dist/hooks/use-autosize-textarea.d.ts +0 -8
- package/dist/hooks/use-copy-to-clipboard.d.ts +0 -9
- package/dist/hooks/use-debounce.d.ts +0 -1
- package/dist/hooks/use-mobile.d.ts +0 -1
- package/dist/houston-BDYrDoDW.js +0 -4
- package/dist/html-B0P_v3yU.js +0 -10
- package/dist/html-derivative-D59SHfh8.js +0 -8
- package/dist/http-Dcjm_K1m.js +0 -14
- package/dist/hxml-BNKImryz.js +0 -8
- package/dist/hy-C2xHhR6I.js +0 -6
- package/dist/imba-Drd0AMDo.js +0 -8
- package/dist/index-B3zhPw_i.js +0 -6376
- package/dist/index-CX8WDA1V.js +0 -71798
- package/dist/ini-BUcvsX-U.js +0 -6
- package/dist/java-B7odJ7Ap.js +0 -6
- package/dist/javascript-fa8UlHZE.js +0 -6
- package/dist/jinja-CCSYduCH.js +0 -11
- package/dist/jison-BygvlveW.js +0 -8
- package/dist/json-71t8ZF9g.js +0 -6
- package/dist/json5-Z7F6rA6a.js +0 -6
- package/dist/jsonc-Dphhs4m2.js +0 -6
- package/dist/jsonl-D9jj92Gg.js +0 -6
- package/dist/jsonnet-DEQ7IUoJ.js +0 -6
- package/dist/jssm-j74e88UX.js +0 -6
- package/dist/jsx-Bkesy5tT.js +0 -6
- package/dist/julia-CiahampL.js +0 -16
- package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
- package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
- package/dist/kanagawa-wave-CQwozSzG.js +0 -4
- package/dist/kotlin-DCgZY7Ii.js +0 -6
- package/dist/kusto-Cw029H-v.js +0 -6
- package/dist/laif-ds.es.js +0 -238
- package/dist/laif-ds.umd.js +0 -8032
- package/dist/laserwave-6a00oqik.js +0 -4
- package/dist/latex-LfGCYGw5.js +0 -8
- package/dist/lean-CYSet4vs.js +0 -6
- package/dist/less-DQA4v-Nm.js +0 -6
- package/dist/light-plus-CZuVqSLX.js +0 -4
- package/dist/liquid-CvufO3kO.js +0 -14
- package/dist/log-D2eRfqDn.js +0 -6
- package/dist/logo-QEAtGWZ9.js +0 -6
- package/dist/lua-BVfhNLDr.js +0 -8
- package/dist/luau-BjYGiqID.js +0 -6
- package/dist/make-BjuHP00g.js +0 -6
- package/dist/markdown-B6guhLWd.js +0 -6
- package/dist/marko-CHlMS8w5.js +0 -14
- package/dist/material-theme-D6KBX41T.js +0 -4
- package/dist/material-theme-darker-CkRroheE.js +0 -4
- package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
- package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
- package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
- package/dist/matlab-BpQlIJiw.js +0 -6
- package/dist/mdc-4K6B6lHG.js +0 -12
- package/dist/mdx-DIoECIFU.js +0 -6
- package/dist/mermaid-BZ7WHNIe.js +0 -6
- package/dist/min-dark-C7ak0t6c.js +0 -4
- package/dist/min-light-CKFxVcPp.js +0 -4
- package/dist/mipsasm-DusDYkFc.js +0 -6
- package/dist/mojo-CY9jaezJ.js +0 -6
- package/dist/monokai-C1KBYcO0.js +0 -4
- package/dist/move-ChphFumd.js +0 -6
- package/dist/narrat-Dz4d7OmN.js +0 -6
- package/dist/nextflow-DW0Yq9a2.js +0 -6
- package/dist/nginx-Can2eAjw.js +0 -8
- package/dist/night-owl-Bm2rzalh.js +0 -4
- package/dist/nim-B3r2RtQZ.js +0 -20
- package/dist/nix-Cg5uV_xg.js +0 -6
- package/dist/nord-CC5OiUXg.js +0 -4
- package/dist/nushell-BfRnzRWn.js +0 -6
- package/dist/objective-c-BGg9R27G.js +0 -6
- package/dist/objective-cpp-CJ3y3V_5.js +0 -6
- package/dist/ocaml-BZLsfx_o.js +0 -6
- package/dist/one-dark-pro-D7-kP8fv.js +0 -4
- package/dist/one-light-D9sNaUtq.js +0 -4
- package/dist/pascal-l2bqd7Dz.js +0 -6
- package/dist/perl-DaMQyPwp.js +0 -16
- package/dist/php-BL3EfPBi.js +0 -18
- package/dist/plastic-CSTz3KZp.js +0 -4
- package/dist/plsql-oVq_K_wH.js +0 -6
- package/dist/po-5jaeIyVd.js +0 -6
- package/dist/poimandres-C-VADXHD.js +0 -4
- package/dist/polar-wcLp8ci7.js +0 -6
- package/dist/postcss-BZ3MNRIJ.js +0 -6
- package/dist/powerquery-CgRa2XRw.js +0 -6
- package/dist/powershell-Diwyv8Eh.js +0 -6
- package/dist/prisma-COL_v1x4.js +0 -6
- package/dist/prolog-CuvJOxqT.js +0 -6
- package/dist/proto-o9HLmF90.js +0 -6
- package/dist/pug-HKe4Luo3.js +0 -12
- package/dist/puppet-wpGOnQp5.js +0 -6
- package/dist/purescript-B_1NgE2N.js +0 -6
- package/dist/python-xYxLFJY-.js +0 -6
- package/dist/qml-FlMIyjU9.js +0 -8
- package/dist/qmldir-BInDYbpo.js +0 -6
- package/dist/qss-D-h4NdUG.js +0 -6
- package/dist/r-F-9I-ITZ.js +0 -6
- package/dist/racket-BoD1TBFT.js +0 -6
- package/dist/raku-IaYcw19m.js +0 -6
- package/dist/razor-CeqqNtyB.js +0 -10
- package/dist/red-7y8PH7HH.js +0 -4
- package/dist/reg-CMUdAgIP.js +0 -6
- package/dist/regexp-GiFkbxS-.js +0 -6
- package/dist/rel-BaRn3QX7.js +0 -6
- package/dist/riscv-B9V3SsvW.js +0 -6
- package/dist/rose-pine-DhT-HZE9.js +0 -4
- package/dist/rose-pine-dawn-DiCjL2i4.js +0 -4
- package/dist/rose-pine-moon-BNmGHlcn.js +0 -4
- package/dist/rst-C3D6-dqL.js +0 -22
- package/dist/ruby-DcPLUUK3.js +0 -30
- package/dist/rust-Pc7DCsZD.js +0 -6
- package/dist/sas-tDSYjXcL.js +0 -8
- package/dist/sass-iCyS6eP9.js +0 -6
- package/dist/scala-Cly-fENF.js +0 -6
- package/dist/scheme-Zi24oEYu.js +0 -6
- package/dist/scss-DhHc4lxB.js +0 -8
- package/dist/sdbl-BBamrXFL.js +0 -6
- package/dist/shaderlab-CvqEIoL0.js +0 -8
- package/dist/shellscript-Dn0-btNd.js +0 -6
- package/dist/shellsession-8OLo3sB6.js +0 -8
- package/dist/slack-dark-i7wN4OET.js +0 -4
- package/dist/slack-ochin-ndHf0LoP.js +0 -4
- package/dist/smalltalk-Cns31tKw.js +0 -6
- package/dist/snazzy-light-BlSJXAu4.js +0 -4
- package/dist/solarized-dark-UTmkh7lw.js +0 -4
- package/dist/solarized-light-BheCkDPT.js +0 -4
- package/dist/solidity-BG_k8fA_.js +0 -6
- package/dist/soy-EwHMOVPj.js +0 -8
- package/dist/sparql-DhuelBut.js +0 -8
- package/dist/splunk-CTqDjQdo.js +0 -6
- package/dist/sql-DCkt643-.js +0 -6
- package/dist/ssh-config-DHHGll-v.js +0 -6
- package/dist/stata-Dok6hMw0.js +0 -8
- package/dist/stylus-n_9f0QQ5.js +0 -6
- package/dist/svelte-01qw6Rxm.js +0 -14
- package/dist/swift-BAWqNR8A.js +0 -6
- package/dist/synthwave-84-NU3C_KFZ.js +0 -4
- package/dist/system-verilog-Cui-g-ut.js +0 -6
- package/dist/systemd-CsKYQIQK.js +0 -6
- package/dist/talonscript-D2dGh8FO.js +0 -6
- package/dist/tasl-D3W8HMV6.js +0 -6
- package/dist/tcl-2y0Fuc4S.js +0 -6
- package/dist/templ-Hmy8U0DD.js +0 -12
- package/dist/terraform-BGW6Oerf.js +0 -6
- package/dist/tex-mHs7a43s.js +0 -8
- package/dist/tokyo-night-LhP3hHhi.js +0 -4
- package/dist/toml-CQSfOn0e.js +0 -6
- package/dist/ts-tags-DYZ4SGcN.js +0 -41
- package/dist/tsv-BtvSkaG0.js +0 -6
- package/dist/tsx-DiGsgWT8.js +0 -6
- package/dist/turtle-BJ2wmjPc.js +0 -6
- package/dist/twig-BmytkGQV.js +0 -18
- package/dist/typescript-buWNZFwO.js +0 -6
- package/dist/typespec-bLbdsxJL.js +0 -6
- package/dist/typst-Y9_SmXTs.js +0 -6
- package/dist/v-wa8Orrdd.js +0 -6
- package/dist/vala-DRdriFr_.js +0 -6
- package/dist/vb-E2_-jk4M.js +0 -6
- package/dist/verilog-B1iBoR5_.js +0 -6
- package/dist/vesper-CJsaOsSM.js +0 -4
- package/dist/vhdl-CRVaAhXk.js +0 -6
- package/dist/viml-B-zWOd7Z.js +0 -6
- package/dist/vitesse-black-BoGvW84i.js +0 -4
- package/dist/vitesse-dark-Cym-eLtO.js +0 -4
- package/dist/vitesse-light-CcmG315c.js +0 -4
- package/dist/vue-Bl1uVNsA.js +0 -31
- package/dist/vue-html-DHr5wjBG.js +0 -10
- package/dist/vyper-DWutKXpa.js +0 -6
- package/dist/wasm-Bv5f0gKv.js +0 -6
- package/dist/wasm-DQxwEHae.js +0 -7
- package/dist/wenyan-BMYnfus1.js +0 -6
- package/dist/wgsl-DnPoPGDU.js +0 -6
- package/dist/wikitext-CntM04PE.js +0 -6
- package/dist/wolfram-Ws5qPlX9.js +0 -6
- package/dist/xml-ChBsf5uy.js +0 -8
- package/dist/xsl-BefjlXrd.js +0 -8
- package/dist/yaml-Bbg74JKr.js +0 -6
- package/dist/zenscript-C0RKE4nU.js +0 -6
- package/dist/zig-D6SXBGNm.js +0 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,1088 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
4
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
5
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
6
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
7
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
8
|
+
import { Command as Command_2 } from 'cmdk';
|
|
9
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
10
|
+
import { ControllerProps } from 'react-hook-form';
|
|
11
|
+
import { DayPicker } from 'react-day-picker';
|
|
12
|
+
import { default as default_2 } from 'embla-carousel-react';
|
|
13
|
+
import { default as default_3 } from 'react';
|
|
14
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
15
|
+
import { Drawer as Drawer_2 } from 'vaul';
|
|
16
|
+
import { FieldError } from 'react-hook-form';
|
|
17
|
+
import { FieldPath } from 'react-hook-form';
|
|
18
|
+
import { FieldValues } from 'react-hook-form';
|
|
19
|
+
import { FormProviderProps } from 'react-hook-form';
|
|
20
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
21
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
22
|
+
import { HTMLAttributes } from 'react';
|
|
23
|
+
import { JSX } from 'react/jsx-runtime';
|
|
24
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
25
|
+
import * as LucideIcons from 'lucide-react';
|
|
26
|
+
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
27
|
+
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
28
|
+
import { OTPInput } from 'input-otp';
|
|
29
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
30
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
31
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
32
|
+
import * as React_2 from 'react';
|
|
33
|
+
import { ReactElement } from 'react';
|
|
34
|
+
import * as RechartsPrimitive from 'recharts';
|
|
35
|
+
import { RefAttributes } from 'react';
|
|
36
|
+
import { RefObject } from 'react';
|
|
37
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
38
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
39
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
40
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
41
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
42
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
43
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
44
|
+
import { ToasterProps } from 'sonner';
|
|
45
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
46
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
47
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
48
|
+
import { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
49
|
+
import { VariantProps } from 'class-variance-authority';
|
|
50
|
+
|
|
51
|
+
export declare function Accordion({ ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Root>): JSX.Element;
|
|
52
|
+
|
|
53
|
+
export declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Content>): JSX.Element;
|
|
54
|
+
|
|
55
|
+
export declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Item>): JSX.Element;
|
|
56
|
+
|
|
57
|
+
export declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Trigger>): JSX.Element;
|
|
58
|
+
|
|
59
|
+
declare type AdditionalMessageOptions = Omit<ChatMessageProps, keyof Message>;
|
|
60
|
+
|
|
61
|
+
export declare function Alert({ className, variant, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof alertVariants>): JSX.Element;
|
|
62
|
+
|
|
63
|
+
export declare function AlertDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
64
|
+
|
|
65
|
+
export declare function AlertDialog({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Root>): JSX.Element;
|
|
66
|
+
|
|
67
|
+
export declare function AlertDialogAction({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Action>): JSX.Element;
|
|
68
|
+
|
|
69
|
+
export declare function AlertDialogCancel({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Cancel>): JSX.Element;
|
|
70
|
+
|
|
71
|
+
export declare function AlertDialogContent({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Content>): JSX.Element;
|
|
72
|
+
|
|
73
|
+
export declare function AlertDialogDescription({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Description>): JSX.Element;
|
|
74
|
+
|
|
75
|
+
export declare function AlertDialogFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
76
|
+
|
|
77
|
+
export declare function AlertDialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
78
|
+
|
|
79
|
+
export declare function AlertDialogTitle({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Title>): JSX.Element;
|
|
80
|
+
|
|
81
|
+
export declare function AlertDialogTrigger({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Trigger>): JSX.Element;
|
|
82
|
+
|
|
83
|
+
export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
84
|
+
|
|
85
|
+
declare const alertVariants: (props?: ({
|
|
86
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
87
|
+
} & ClassProp) | undefined) => string;
|
|
88
|
+
|
|
89
|
+
declare type Animation_2 = VariantProps<typeof chatBubbleVariants>["animation"];
|
|
90
|
+
|
|
91
|
+
export declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): JSX.Element;
|
|
92
|
+
|
|
93
|
+
export declare function AsyncSelect<T>({ fetcher, preload, filterFn, renderOption, getOptionValue, getDisplayValue, notFound, loadingSkeleton, label, labelClassName, placeholder, value, onChange, disabled, width, className, triggerClassName, noResultsMessage, clearable, size, }: AsyncSelectProps<T>): JSX.Element;
|
|
94
|
+
|
|
95
|
+
declare interface AsyncSelectProps<T> extends VariantProps<typeof asyncSelectTriggerVariants> {
|
|
96
|
+
/** Async function to fetch options */
|
|
97
|
+
fetcher: (query?: string) => Promise<T[]>;
|
|
98
|
+
/** Preload all data ahead of time */
|
|
99
|
+
preload?: boolean;
|
|
100
|
+
/** Function to filter options */
|
|
101
|
+
filterFn?: (option: T, query: string) => boolean;
|
|
102
|
+
/** Function to render each option */
|
|
103
|
+
renderOption: (option: T) => React_2.ReactNode;
|
|
104
|
+
/** Function to get the value from an option */
|
|
105
|
+
getOptionValue: (option: T) => string;
|
|
106
|
+
/** Function to get the display value for the selected option */
|
|
107
|
+
getDisplayValue: (option: T) => React_2.ReactNode;
|
|
108
|
+
/** Custom not found message */
|
|
109
|
+
notFound?: React_2.ReactNode;
|
|
110
|
+
/** Custom loading skeleton */
|
|
111
|
+
loadingSkeleton?: React_2.ReactNode;
|
|
112
|
+
/** Currently selected value */
|
|
113
|
+
value: string;
|
|
114
|
+
/** Callback when selection changes */
|
|
115
|
+
onChange: (value: string) => void;
|
|
116
|
+
/** Label for the select field */
|
|
117
|
+
label?: string | React_2.ReactNode;
|
|
118
|
+
/** Custom class name for the label */
|
|
119
|
+
labelClassName?: string;
|
|
120
|
+
/** Placeholder text when no selection */
|
|
121
|
+
placeholder?: string;
|
|
122
|
+
/** Disable the entire select */
|
|
123
|
+
disabled?: boolean;
|
|
124
|
+
/** Custom width for the popover */
|
|
125
|
+
width?: string | number;
|
|
126
|
+
/** Custom class names */
|
|
127
|
+
className?: string;
|
|
128
|
+
/** Custom trigger button class names */
|
|
129
|
+
triggerClassName?: string;
|
|
130
|
+
/** Custom no results message */
|
|
131
|
+
noResultsMessage?: string;
|
|
132
|
+
/** Allow clearing the selection */
|
|
133
|
+
clearable?: boolean;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
declare const asyncSelectTriggerVariants: (props?: ({
|
|
137
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
138
|
+
} & ClassProp) | undefined) => string;
|
|
139
|
+
|
|
140
|
+
declare interface Attachment {
|
|
141
|
+
name?: string;
|
|
142
|
+
contentType?: string;
|
|
143
|
+
url: string;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export declare function AudioVisualizer({ stream, isRecording, onClick, }: AudioVisualizerProps): JSX.Element;
|
|
147
|
+
|
|
148
|
+
declare interface AudioVisualizerProps {
|
|
149
|
+
stream: MediaStream | null;
|
|
150
|
+
isRecording: boolean;
|
|
151
|
+
onClick: () => void;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export declare function Avatar({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Root>): JSX.Element;
|
|
155
|
+
|
|
156
|
+
export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Fallback>): JSX.Element;
|
|
157
|
+
|
|
158
|
+
export declare function AvatarImage({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Image>): JSX.Element;
|
|
159
|
+
|
|
160
|
+
export declare interface AvatarItem {
|
|
161
|
+
src: string;
|
|
162
|
+
alt?: string;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
166
|
+
asChild?: boolean;
|
|
167
|
+
}): JSX.Element;
|
|
168
|
+
|
|
169
|
+
export declare const badgeVariants: (props?: ({
|
|
170
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
171
|
+
} & ClassProp) | undefined) => string;
|
|
172
|
+
|
|
173
|
+
export declare function Button({ className, variant, size, asChild, iconLeft, iconRight, ...props }: ButtonProps): JSX.Element;
|
|
174
|
+
|
|
175
|
+
declare interface ButtonProps extends React_2.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
176
|
+
asChild?: boolean;
|
|
177
|
+
iconLeft?: IconName;
|
|
178
|
+
iconRight?: IconName;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export declare const buttonVariants: (props?: ({
|
|
182
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
183
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
184
|
+
} & ClassProp) | undefined) => string;
|
|
185
|
+
|
|
186
|
+
export declare function Calendar({ className, classNames, showOutsideDays, ...props }: React_2.ComponentProps<typeof DayPicker>): JSX.Element;
|
|
187
|
+
|
|
188
|
+
export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
189
|
+
|
|
190
|
+
export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
191
|
+
|
|
192
|
+
export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
193
|
+
|
|
194
|
+
export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
195
|
+
|
|
196
|
+
export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
197
|
+
|
|
198
|
+
export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
199
|
+
|
|
200
|
+
export declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React_2.ComponentProps<"div"> & CarouselProps): JSX.Element;
|
|
201
|
+
|
|
202
|
+
declare type CarouselApi = UseEmblaCarouselType[1];
|
|
203
|
+
|
|
204
|
+
export declare function CarouselContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
205
|
+
|
|
206
|
+
export declare function CarouselItem({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
207
|
+
|
|
208
|
+
export declare function CarouselNext({ className, variant, size, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
209
|
+
|
|
210
|
+
declare type CarouselOptions = UseCarouselParameters[0];
|
|
211
|
+
|
|
212
|
+
declare type CarouselPlugin = UseCarouselParameters[1];
|
|
213
|
+
|
|
214
|
+
export declare function CarouselPrevious({ className, variant, size, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
215
|
+
|
|
216
|
+
declare type CarouselProps = {
|
|
217
|
+
opts?: CarouselOptions;
|
|
218
|
+
plugins?: CarouselPlugin;
|
|
219
|
+
orientation?: "horizontal" | "vertical";
|
|
220
|
+
setApi?: (api: CarouselApi) => void;
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
export declare type ChartConfig = {
|
|
224
|
+
[k in string]: {
|
|
225
|
+
label?: React_2.ReactNode;
|
|
226
|
+
icon?: React_2.ComponentType;
|
|
227
|
+
} & ({
|
|
228
|
+
color?: string;
|
|
229
|
+
theme?: never;
|
|
230
|
+
} | {
|
|
231
|
+
color?: never;
|
|
232
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
233
|
+
});
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
export declare function ChartContainer({ id, className, children, config, ...props }: React_2.ComponentProps<"div"> & {
|
|
237
|
+
config: ChartConfig;
|
|
238
|
+
children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
239
|
+
}): JSX.Element;
|
|
240
|
+
|
|
241
|
+
export declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
242
|
+
|
|
243
|
+
export declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React_2.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
244
|
+
hideIcon?: boolean;
|
|
245
|
+
nameKey?: string;
|
|
246
|
+
}): JSX.Element | null;
|
|
247
|
+
|
|
248
|
+
export declare const ChartStyle: ({ id, config }: {
|
|
249
|
+
id: string;
|
|
250
|
+
config: ChartConfig;
|
|
251
|
+
}) => JSX.Element | null;
|
|
252
|
+
|
|
253
|
+
export declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
254
|
+
|
|
255
|
+
export declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React_2.ComponentProps<typeof RechartsPrimitive.Tooltip> & React_2.ComponentProps<"div"> & {
|
|
256
|
+
hideLabel?: boolean;
|
|
257
|
+
hideIndicator?: boolean;
|
|
258
|
+
indicator?: "line" | "dot" | "dashed";
|
|
259
|
+
nameKey?: string;
|
|
260
|
+
labelKey?: string;
|
|
261
|
+
}): JSX.Element | null;
|
|
262
|
+
|
|
263
|
+
export declare function Chat({ messages, handleSubmit, input, handleInputChange, stop, isGenerating, append, suggestions, className, onRateResponse, setMessages, transcribeAudio, }: ChatProps): JSX.Element;
|
|
264
|
+
|
|
265
|
+
export declare namespace Chat {
|
|
266
|
+
var displayName: string;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
declare const chatBubbleVariants: (props?: ({
|
|
270
|
+
isUser?: boolean | null | undefined;
|
|
271
|
+
animation?: "none" | "scale" | "slide" | "fade" | null | undefined;
|
|
272
|
+
} & ClassProp) | undefined) => string;
|
|
273
|
+
|
|
274
|
+
export declare const ChatContainer: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
|
|
275
|
+
|
|
276
|
+
export declare const ChatForm: ForwardRefExoticComponent<ChatFormProps & RefAttributes<HTMLFormElement>>;
|
|
277
|
+
|
|
278
|
+
declare interface ChatFormProps {
|
|
279
|
+
className?: string;
|
|
280
|
+
isPending: boolean;
|
|
281
|
+
handleSubmit: (event?: {
|
|
282
|
+
preventDefault?: () => void;
|
|
283
|
+
}, options?: {
|
|
284
|
+
experimental_attachments?: FileList;
|
|
285
|
+
}) => void;
|
|
286
|
+
children: (props: {
|
|
287
|
+
files: File[] | null;
|
|
288
|
+
setFiles: React.Dispatch<React.SetStateAction<File[] | null>>;
|
|
289
|
+
}) => ReactElement;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export declare const ChatMessage: default_3.FC<ChatMessageProps>;
|
|
293
|
+
|
|
294
|
+
export declare interface ChatMessageProps extends Message {
|
|
295
|
+
showTimeStamp?: boolean;
|
|
296
|
+
animation?: Animation_2;
|
|
297
|
+
actions?: default_3.ReactNode;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export declare function ChatMessages({ messages, children, }: React.PropsWithChildren<{
|
|
301
|
+
messages: Message[];
|
|
302
|
+
}>): JSX.Element;
|
|
303
|
+
|
|
304
|
+
declare type ChatProps = ChatPropsWithoutSuggestions | ChatPropsWithSuggestions;
|
|
305
|
+
|
|
306
|
+
declare interface ChatPropsBase {
|
|
307
|
+
handleSubmit: (event?: {
|
|
308
|
+
preventDefault?: () => void;
|
|
309
|
+
}, options?: {
|
|
310
|
+
experimental_attachments?: FileList;
|
|
311
|
+
}) => void;
|
|
312
|
+
messages: Array<Message>;
|
|
313
|
+
input: string;
|
|
314
|
+
className?: string;
|
|
315
|
+
handleInputChange: React.ChangeEventHandler<HTMLTextAreaElement>;
|
|
316
|
+
isGenerating: boolean;
|
|
317
|
+
stop?: () => void;
|
|
318
|
+
onRateResponse?: (messageId: string, rating: "thumbs-up" | "thumbs-down") => void;
|
|
319
|
+
setMessages?: (messages: any[]) => void;
|
|
320
|
+
transcribeAudio?: (blob: Blob) => Promise<string>;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare interface ChatPropsWithoutSuggestions extends ChatPropsBase {
|
|
324
|
+
append?: never;
|
|
325
|
+
suggestions?: never;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
declare interface ChatPropsWithSuggestions extends ChatPropsBase {
|
|
329
|
+
append: (message: {
|
|
330
|
+
role: "user";
|
|
331
|
+
content: string;
|
|
332
|
+
}) => void;
|
|
333
|
+
suggestions: string[];
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export declare function Checkbox({ className, ...props }: React_2.ComponentProps<typeof CheckboxPrimitive.Root>): JSX.Element;
|
|
337
|
+
|
|
338
|
+
export declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): JSX.Element;
|
|
339
|
+
|
|
340
|
+
export declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): JSX.Element;
|
|
341
|
+
|
|
342
|
+
export declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): JSX.Element;
|
|
343
|
+
|
|
344
|
+
export declare function Command({ className, ...props }: React_2.ComponentProps<typeof Command_2>): JSX.Element;
|
|
345
|
+
|
|
346
|
+
export declare function CommandDialog({ title, description, children, ...props }: React_2.ComponentProps<typeof Dialog> & {
|
|
347
|
+
title?: string;
|
|
348
|
+
description?: string;
|
|
349
|
+
}): JSX.Element;
|
|
350
|
+
|
|
351
|
+
export declare function CommandEmpty({ ...props }: React_2.ComponentProps<typeof Command_2.Empty>): JSX.Element;
|
|
352
|
+
|
|
353
|
+
export declare function CommandGroup({ className, ...props }: React_2.ComponentProps<typeof Command_2.Group>): JSX.Element;
|
|
354
|
+
|
|
355
|
+
export declare function CommandInput({ className, ...props }: React_2.ComponentProps<typeof Command_2.Input>): JSX.Element;
|
|
356
|
+
|
|
357
|
+
export declare function CommandItem({ className, ...props }: React_2.ComponentProps<typeof Command_2.Item>): JSX.Element;
|
|
358
|
+
|
|
359
|
+
export declare function CommandList({ className, ...props }: React_2.ComponentProps<typeof Command_2.List>): JSX.Element;
|
|
360
|
+
|
|
361
|
+
export declare function CommandSeparator({ className, ...props }: React_2.ComponentProps<typeof Command_2.Separator>): JSX.Element;
|
|
362
|
+
|
|
363
|
+
export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
364
|
+
|
|
365
|
+
export declare function ContextMenu({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Root>): JSX.Element;
|
|
366
|
+
|
|
367
|
+
export declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): JSX.Element;
|
|
368
|
+
|
|
369
|
+
export declare function ContextMenuContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Content>): JSX.Element;
|
|
370
|
+
|
|
371
|
+
export declare function ContextMenuGroup({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Group>): JSX.Element;
|
|
372
|
+
|
|
373
|
+
export declare function ContextMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
374
|
+
inset?: boolean;
|
|
375
|
+
variant?: "default" | "destructive";
|
|
376
|
+
}): JSX.Element;
|
|
377
|
+
|
|
378
|
+
export declare function ContextMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
379
|
+
inset?: boolean;
|
|
380
|
+
}): JSX.Element;
|
|
381
|
+
|
|
382
|
+
export declare function ContextMenuPortal({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Portal>): JSX.Element;
|
|
383
|
+
|
|
384
|
+
export declare function ContextMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): JSX.Element;
|
|
385
|
+
|
|
386
|
+
export declare function ContextMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): JSX.Element;
|
|
387
|
+
|
|
388
|
+
export declare function ContextMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Separator>): JSX.Element;
|
|
389
|
+
|
|
390
|
+
export declare function ContextMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
391
|
+
|
|
392
|
+
export declare function ContextMenuSub({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Sub>): JSX.Element;
|
|
393
|
+
|
|
394
|
+
export declare function ContextMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.SubContent>): JSX.Element;
|
|
395
|
+
|
|
396
|
+
export declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
397
|
+
inset?: boolean;
|
|
398
|
+
}): JSX.Element;
|
|
399
|
+
|
|
400
|
+
export declare function ContextMenuTrigger({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Trigger>): JSX.Element;
|
|
401
|
+
|
|
402
|
+
export declare function CopyButton({ content, copyMessage }: CopyButtonProps): JSX.Element;
|
|
403
|
+
|
|
404
|
+
declare type CopyButtonProps = {
|
|
405
|
+
content: string;
|
|
406
|
+
copyMessage?: string;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
export declare function DatePicker({ value, onChange, placeholder, dateFormat, className, buttonVariant, disabled, size, }: DatePickerProps): JSX.Element;
|
|
410
|
+
|
|
411
|
+
declare interface DatePickerProps {
|
|
412
|
+
value?: Date;
|
|
413
|
+
onChange?: (date: Date | undefined) => void;
|
|
414
|
+
placeholder?: string;
|
|
415
|
+
dateFormat?: string;
|
|
416
|
+
className?: string;
|
|
417
|
+
buttonVariant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
418
|
+
disabled?: boolean;
|
|
419
|
+
size?: "sm" | "default" | "lg";
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
|
|
423
|
+
|
|
424
|
+
export declare function DialogContent({ className, children, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content>): JSX.Element;
|
|
425
|
+
|
|
426
|
+
export declare function DialogDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
|
|
427
|
+
|
|
428
|
+
export declare function DialogFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
429
|
+
|
|
430
|
+
export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
431
|
+
|
|
432
|
+
export declare function DialogTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): JSX.Element;
|
|
433
|
+
|
|
434
|
+
export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
|
|
435
|
+
|
|
436
|
+
export declare function Drawer({ ...props }: React_2.ComponentProps<typeof Drawer_2.Root>): JSX.Element;
|
|
437
|
+
|
|
438
|
+
export declare function DrawerContent({ className, children, ...props }: React_2.ComponentProps<typeof Drawer_2.Content>): JSX.Element;
|
|
439
|
+
|
|
440
|
+
export declare function DrawerDescription({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Description>): JSX.Element;
|
|
441
|
+
|
|
442
|
+
export declare function DrawerFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
443
|
+
|
|
444
|
+
export declare function DrawerHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
445
|
+
|
|
446
|
+
export declare function DrawerTitle({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Title>): JSX.Element;
|
|
447
|
+
|
|
448
|
+
export declare function DrawerTrigger({ ...props }: React_2.ComponentProps<typeof Drawer_2.Trigger>): JSX.Element;
|
|
449
|
+
|
|
450
|
+
export declare const FilePreview: default_3.ForwardRefExoticComponent<FilePreviewProps & default_3.RefAttributes<HTMLDivElement>>;
|
|
451
|
+
|
|
452
|
+
declare interface FilePreviewProps {
|
|
453
|
+
file: File;
|
|
454
|
+
onRemove?: () => void;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
|
|
458
|
+
|
|
459
|
+
export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): JSX.Element;
|
|
460
|
+
|
|
461
|
+
export declare function FormDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
|
|
462
|
+
|
|
463
|
+
export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX.Element;
|
|
464
|
+
|
|
465
|
+
export declare function FormItem({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
466
|
+
|
|
467
|
+
export declare function FormLabel({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
|
|
468
|
+
|
|
469
|
+
export declare function FormMessage({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element | null;
|
|
470
|
+
|
|
471
|
+
export declare function HoverCard({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Root>): JSX.Element;
|
|
472
|
+
|
|
473
|
+
export declare function HoverCardContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Content>): JSX.Element;
|
|
474
|
+
|
|
475
|
+
export declare function HoverCardTrigger({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Trigger>): JSX.Element;
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Componente Icon che renderizza un'icona da lucide-react
|
|
479
|
+
*
|
|
480
|
+
* @example
|
|
481
|
+
* ```tsx
|
|
482
|
+
* <Icon name="Check" size="md" />
|
|
483
|
+
* <Icon name="AlertCircle" size="lg" className="text-destructive" />
|
|
484
|
+
* <Icon name="ArrowRight" size="sm" color="#FF0000" />
|
|
485
|
+
* ```
|
|
486
|
+
*/
|
|
487
|
+
export declare function Icon({ name, size, className, color, ...props }: IconProps): JSX.Element | null;
|
|
488
|
+
|
|
489
|
+
declare type IconName = keyof typeof LucideIcons;
|
|
490
|
+
|
|
491
|
+
declare interface IconProps {
|
|
492
|
+
name: IconName;
|
|
493
|
+
/** Dimensione dell'icona (xs, sm, md, lg, xl) */
|
|
494
|
+
size?: IconSize;
|
|
495
|
+
/** Classe CSS personalizzata */
|
|
496
|
+
className?: string;
|
|
497
|
+
/** Colore dell'icona (sovrascrive la classe) */
|
|
498
|
+
color?: string;
|
|
499
|
+
/** Attributi aggiuntivi */
|
|
500
|
+
[key: string]: any;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
declare type IconSize = keyof typeof sizeMap;
|
|
504
|
+
|
|
505
|
+
export declare function Input({ className, type, label, labelClassName, id, iconLeft, iconRight, size, ...props }: InputProps): JSX.Element;
|
|
506
|
+
|
|
507
|
+
export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
|
|
508
|
+
containerClassName?: string;
|
|
509
|
+
}): JSX.Element;
|
|
510
|
+
|
|
511
|
+
export declare function InputOTPGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
512
|
+
|
|
513
|
+
export declare function InputOTPSlot({ index, className, ...props }: React_2.ComponentProps<"div"> & {
|
|
514
|
+
index: number;
|
|
515
|
+
}): JSX.Element;
|
|
516
|
+
|
|
517
|
+
declare interface InputProps extends Omit<React_2.ComponentProps<"input">, "label" | "size">, VariantProps<typeof inputVariants> {
|
|
518
|
+
label?: string | React_2.ReactNode;
|
|
519
|
+
labelClassName?: string;
|
|
520
|
+
iconLeft?: IconName;
|
|
521
|
+
iconRight?: IconName;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export declare function InputSelector({ value, onChange, min, max, className, buttonClassName, counterClassName, }: InputSelectorProps): JSX.Element;
|
|
525
|
+
|
|
526
|
+
export declare interface InputSelectorProps {
|
|
527
|
+
value: number;
|
|
528
|
+
onChange?: (value: number) => void;
|
|
529
|
+
min?: number;
|
|
530
|
+
max?: number;
|
|
531
|
+
className?: string;
|
|
532
|
+
buttonClassName?: string;
|
|
533
|
+
counterClassName?: string;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
declare const inputVariants: (props?: ({
|
|
537
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
538
|
+
} & ClassProp) | undefined) => string;
|
|
539
|
+
|
|
540
|
+
export declare function InterruptPrompt({ isOpen, close }: InterruptPromptProps): JSX.Element;
|
|
541
|
+
|
|
542
|
+
declare interface InterruptPromptProps {
|
|
543
|
+
isOpen: boolean;
|
|
544
|
+
close: () => void;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
|
|
548
|
+
|
|
549
|
+
export declare function MarkdownRenderer({ children }: MarkdownRendererProps): JSX.Element;
|
|
550
|
+
|
|
551
|
+
declare interface MarkdownRendererProps {
|
|
552
|
+
children: string;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export declare function Menubar({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Root>): JSX.Element;
|
|
556
|
+
|
|
557
|
+
export declare function MenubarCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): JSX.Element;
|
|
558
|
+
|
|
559
|
+
export declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Content>): JSX.Element;
|
|
560
|
+
|
|
561
|
+
export declare function MenubarGroup({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Group>): JSX.Element;
|
|
562
|
+
|
|
563
|
+
export declare function MenubarItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
564
|
+
inset?: boolean;
|
|
565
|
+
variant?: "default" | "destructive";
|
|
566
|
+
}): JSX.Element;
|
|
567
|
+
|
|
568
|
+
export declare function MenubarLabel({ className, inset, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
569
|
+
inset?: boolean;
|
|
570
|
+
}): JSX.Element;
|
|
571
|
+
|
|
572
|
+
export declare function MenubarMenu({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Menu>): JSX.Element;
|
|
573
|
+
|
|
574
|
+
export declare function MenubarPortal({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Portal>): JSX.Element;
|
|
575
|
+
|
|
576
|
+
export declare function MenubarRadioGroup({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.RadioGroup>): JSX.Element;
|
|
577
|
+
|
|
578
|
+
export declare function MenubarRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.RadioItem>): JSX.Element;
|
|
579
|
+
|
|
580
|
+
export declare function MenubarSeparator({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Separator>): JSX.Element;
|
|
581
|
+
|
|
582
|
+
export declare function MenubarShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
583
|
+
|
|
584
|
+
export declare function MenubarSub({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Sub>): JSX.Element;
|
|
585
|
+
|
|
586
|
+
export declare function MenubarSubContent({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.SubContent>): JSX.Element;
|
|
587
|
+
|
|
588
|
+
export declare function MenubarSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
589
|
+
inset?: boolean;
|
|
590
|
+
}): JSX.Element;
|
|
591
|
+
|
|
592
|
+
export declare function MenubarTrigger({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Trigger>): JSX.Element;
|
|
593
|
+
|
|
594
|
+
export declare interface Message {
|
|
595
|
+
id: string;
|
|
596
|
+
role: "user" | "assistant" | (string & {});
|
|
597
|
+
content: string;
|
|
598
|
+
createdAt?: Date;
|
|
599
|
+
experimental_attachments?: Attachment[];
|
|
600
|
+
toolInvocations?: ToolInvocation[];
|
|
601
|
+
parts?: MessagePart[];
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export declare function MessageInput({ placeholder, className, onKeyDown: onKeyDownProp, submitOnEnter, stop, isGenerating, enableInterrupt, transcribeAudio, ...props }: MessageInputProps): JSX.Element;
|
|
605
|
+
|
|
606
|
+
export declare namespace MessageInput {
|
|
607
|
+
var displayName: string;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
declare interface MessageInputBaseProps extends default_3.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
611
|
+
value: string;
|
|
612
|
+
submitOnEnter?: boolean;
|
|
613
|
+
stop?: () => void;
|
|
614
|
+
isGenerating: boolean;
|
|
615
|
+
enableInterrupt?: boolean;
|
|
616
|
+
transcribeAudio?: (blob: Blob) => Promise<string>;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
declare type MessageInputProps = MessageInputWithoutAttachmentProps | MessageInputWithAttachmentsProps;
|
|
620
|
+
|
|
621
|
+
declare interface MessageInputWithAttachmentsProps extends MessageInputBaseProps {
|
|
622
|
+
allowAttachments: true;
|
|
623
|
+
files: File[] | null;
|
|
624
|
+
setFiles: default_3.Dispatch<default_3.SetStateAction<File[] | null>>;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
declare interface MessageInputWithoutAttachmentProps extends MessageInputBaseProps {
|
|
628
|
+
allowAttachments?: false;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export declare function MessageList({ messages, showTimeStamps, isTyping, messageOptions, }: MessageListProps): JSX.Element;
|
|
632
|
+
|
|
633
|
+
declare interface MessageListProps {
|
|
634
|
+
messages: Message[];
|
|
635
|
+
showTimeStamps?: boolean;
|
|
636
|
+
isTyping?: boolean;
|
|
637
|
+
messageOptions?: AdditionalMessageOptions | ((message: Message) => AdditionalMessageOptions);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
declare type MessagePart = TextPart | ReasoningPart | ToolInvocationPart | SourcePart;
|
|
641
|
+
|
|
642
|
+
export declare const MultipleSelector: React_2.ForwardRefExoticComponent<MultipleSelectorProps & React_2.RefAttributes<MultipleSelectorRef>>;
|
|
643
|
+
|
|
644
|
+
declare interface MultipleSelectorProps {
|
|
645
|
+
value?: Option_2[];
|
|
646
|
+
defaultOptions?: Option_2[];
|
|
647
|
+
/** manually controlled options */
|
|
648
|
+
options?: Option_2[];
|
|
649
|
+
placeholder?: string;
|
|
650
|
+
/** Loading component. */
|
|
651
|
+
loadingIndicator?: React_2.ReactNode;
|
|
652
|
+
/** Empty component. */
|
|
653
|
+
emptyIndicator?: React_2.ReactNode;
|
|
654
|
+
/** Debounce time for async search. Only work with `onSearch`. */
|
|
655
|
+
delay?: number;
|
|
656
|
+
/**
|
|
657
|
+
* Only work with `onSearch` prop. Trigger search when `onFocus`.
|
|
658
|
+
* For example, when user click on the input, it will trigger the search to get initial options.
|
|
659
|
+
**/
|
|
660
|
+
triggerSearchOnFocus?: boolean;
|
|
661
|
+
/** async search */
|
|
662
|
+
onSearch?: (value: string) => Promise<Option_2[]>;
|
|
663
|
+
/**
|
|
664
|
+
* sync search. This search will not showing loadingIndicator.
|
|
665
|
+
* The rest props are the same as async search.
|
|
666
|
+
* i.e.: creatable, groupBy, delay.
|
|
667
|
+
**/
|
|
668
|
+
onSearchSync?: (value: string) => Option_2[];
|
|
669
|
+
onChange?: (options: Option_2[]) => void;
|
|
670
|
+
/** Limit the maximum number of selected options. */
|
|
671
|
+
maxSelected?: number;
|
|
672
|
+
/** When the number of selected options exceeds the limit, the onMaxSelected will be called. */
|
|
673
|
+
onMaxSelected?: (maxLimit: number) => void;
|
|
674
|
+
/** Hide the placeholder when there are options selected. */
|
|
675
|
+
hidePlaceholderWhenSelected?: boolean;
|
|
676
|
+
disabled?: boolean;
|
|
677
|
+
/** Group the options base on provided key. */
|
|
678
|
+
groupBy?: string;
|
|
679
|
+
className?: string;
|
|
680
|
+
badgeClassName?: string;
|
|
681
|
+
/**
|
|
682
|
+
* First item selected is a default behavior by cmdk. That is why the default is true.
|
|
683
|
+
* This is a workaround solution by add a dummy item.
|
|
684
|
+
*
|
|
685
|
+
* @reference: https://github.com/pacocoursey/cmdk/issues/171
|
|
686
|
+
*/
|
|
687
|
+
selectFirstItem?: boolean;
|
|
688
|
+
/** Allow user to create option when there is no option matched. */
|
|
689
|
+
creatable?: boolean;
|
|
690
|
+
/** Props of `Command` */
|
|
691
|
+
commandProps?: React_2.ComponentPropsWithoutRef<typeof Command>;
|
|
692
|
+
/** Props of `CommandInput` */
|
|
693
|
+
inputProps?: Omit<React_2.ComponentPropsWithoutRef<typeof Command_2.Input>, 'value' | 'placeholder' | 'disabled'>;
|
|
694
|
+
label?: string | React_2.ReactNode;
|
|
695
|
+
/** hide the clear all button. */
|
|
696
|
+
hideClearAllButton?: boolean;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export declare interface MultipleSelectorRef {
|
|
700
|
+
selectedValue: Option_2[];
|
|
701
|
+
input: HTMLInputElement;
|
|
702
|
+
focus: () => void;
|
|
703
|
+
reset: () => void;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export declare function NavigationMenu({ className, children, viewport, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
707
|
+
viewport?: boolean;
|
|
708
|
+
}): JSX.Element;
|
|
709
|
+
|
|
710
|
+
export declare function NavigationMenuContent({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Content>): JSX.Element;
|
|
711
|
+
|
|
712
|
+
export declare function NavigationMenuIndicator({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): JSX.Element;
|
|
713
|
+
|
|
714
|
+
export declare function NavigationMenuItem({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Item>): JSX.Element;
|
|
715
|
+
|
|
716
|
+
export declare function NavigationMenuLink({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Link>): JSX.Element;
|
|
717
|
+
|
|
718
|
+
export declare function NavigationMenuList({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.List>): JSX.Element;
|
|
719
|
+
|
|
720
|
+
export declare function NavigationMenuTrigger({ className, children, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): JSX.Element;
|
|
721
|
+
|
|
722
|
+
export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): JSX.Element;
|
|
723
|
+
|
|
724
|
+
declare interface Option_2 {
|
|
725
|
+
value: string;
|
|
726
|
+
label: string;
|
|
727
|
+
disable?: boolean;
|
|
728
|
+
/** fixed option that can't be removed. */
|
|
729
|
+
fixed?: boolean;
|
|
730
|
+
/** Group the options by providing key. */
|
|
731
|
+
[key: string]: string | boolean | undefined;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export declare function Pagination({ className, ...props }: React_2.ComponentProps<"nav">): JSX.Element;
|
|
735
|
+
|
|
736
|
+
export declare function PaginationContent({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
737
|
+
|
|
738
|
+
export declare function PaginationEllipsis({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
739
|
+
|
|
740
|
+
export declare function PaginationItem({ ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
741
|
+
|
|
742
|
+
export declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): JSX.Element;
|
|
743
|
+
|
|
744
|
+
declare type PaginationLinkProps = {
|
|
745
|
+
isActive?: boolean;
|
|
746
|
+
} & Pick<React_2.ComponentProps<typeof Button>, "size"> & React_2.ComponentProps<"a">;
|
|
747
|
+
|
|
748
|
+
export declare function PaginationNext({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
749
|
+
|
|
750
|
+
export declare function PaginationPrevious({ className, ...props }: React_2.ComponentProps<typeof PaginationLink>): JSX.Element;
|
|
751
|
+
|
|
752
|
+
declare interface PartialToolCall {
|
|
753
|
+
state: "partial-call";
|
|
754
|
+
toolName: string;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
export declare function Popover({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Root>): JSX.Element;
|
|
758
|
+
|
|
759
|
+
export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Content>): JSX.Element;
|
|
760
|
+
|
|
761
|
+
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
|
|
762
|
+
|
|
763
|
+
export declare function Progress({ className, value, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root>): JSX.Element;
|
|
764
|
+
|
|
765
|
+
export declare function PromptSuggestions({ label, append, suggestions, }: PromptSuggestionsProps): JSX.Element;
|
|
766
|
+
|
|
767
|
+
declare interface PromptSuggestionsProps {
|
|
768
|
+
label: string;
|
|
769
|
+
append: (message: {
|
|
770
|
+
role: "user";
|
|
771
|
+
content: string;
|
|
772
|
+
}) => void;
|
|
773
|
+
suggestions: string[];
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
export declare function RadioGroup({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Root>): JSX.Element;
|
|
777
|
+
|
|
778
|
+
export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
|
|
779
|
+
|
|
780
|
+
declare interface ReasoningPart {
|
|
781
|
+
type: "reasoning";
|
|
782
|
+
reasoning: string;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export declare function ResizableHandle({ withHandle, className, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
786
|
+
withHandle?: boolean;
|
|
787
|
+
}): JSX.Element;
|
|
788
|
+
|
|
789
|
+
export declare function ResizablePanel({ ...props }: React_2.ComponentProps<typeof ResizablePrimitive.Panel>): JSX.Element;
|
|
790
|
+
|
|
791
|
+
export declare function ResizablePanelGroup({ className, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.PanelGroup>): JSX.Element;
|
|
792
|
+
|
|
793
|
+
export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
|
|
794
|
+
|
|
795
|
+
export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
|
|
796
|
+
|
|
797
|
+
export declare function Select({ size, label, labelClassName, ...props }: SelectProps): JSX.Element;
|
|
798
|
+
|
|
799
|
+
export declare function SelectContent({ className, children, position, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Content>): JSX.Element;
|
|
800
|
+
|
|
801
|
+
export declare function SelectGroup({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Group>): JSX.Element;
|
|
802
|
+
|
|
803
|
+
export declare function SelectItem({ className, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Item>): JSX.Element;
|
|
804
|
+
|
|
805
|
+
export declare function SelectLabel({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Label>): JSX.Element;
|
|
806
|
+
|
|
807
|
+
declare interface SelectProps extends React_2.ComponentProps<typeof SelectPrimitive.Root> {
|
|
808
|
+
size?: SelectSizeType;
|
|
809
|
+
label?: string | React_2.ReactNode;
|
|
810
|
+
labelClassName?: string;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export declare function SelectSeparator({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Separator>): JSX.Element;
|
|
814
|
+
|
|
815
|
+
declare type SelectSizeType = "sm" | "default" | "lg";
|
|
816
|
+
|
|
817
|
+
export declare function SelectTrigger({ className, size: sizeProp, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
818
|
+
size?: SelectSizeType;
|
|
819
|
+
}): JSX.Element;
|
|
820
|
+
|
|
821
|
+
export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Value>): JSX.Element;
|
|
822
|
+
|
|
823
|
+
export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
|
|
824
|
+
|
|
825
|
+
export declare function Sheet({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
|
|
826
|
+
|
|
827
|
+
export declare function SheetContent({ className, children, side, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
828
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
829
|
+
}): JSX.Element;
|
|
830
|
+
|
|
831
|
+
export declare function SheetDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
|
|
832
|
+
|
|
833
|
+
export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
834
|
+
|
|
835
|
+
export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
836
|
+
|
|
837
|
+
export declare function SheetTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): JSX.Element;
|
|
838
|
+
|
|
839
|
+
export declare function SheetTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
|
|
840
|
+
|
|
841
|
+
export declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
842
|
+
side?: "left" | "right";
|
|
843
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
844
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
845
|
+
}): JSX.Element;
|
|
846
|
+
|
|
847
|
+
export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
848
|
+
|
|
849
|
+
declare type SidebarContextProps = {
|
|
850
|
+
state: "expanded" | "collapsed";
|
|
851
|
+
open: boolean;
|
|
852
|
+
setOpen: (open: boolean) => void;
|
|
853
|
+
openMobile: boolean;
|
|
854
|
+
setOpenMobile: (open: boolean) => void;
|
|
855
|
+
isMobile: boolean;
|
|
856
|
+
toggleSidebar: () => void;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
860
|
+
|
|
861
|
+
export declare function SidebarGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
862
|
+
|
|
863
|
+
export declare function SidebarGroupAction({ className, asChild, ...props }: React_2.ComponentProps<"button"> & {
|
|
864
|
+
asChild?: boolean;
|
|
865
|
+
}): JSX.Element;
|
|
866
|
+
|
|
867
|
+
export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
868
|
+
|
|
869
|
+
export declare function SidebarGroupLabel({ className, asChild, ...props }: React_2.ComponentProps<"div"> & {
|
|
870
|
+
asChild?: boolean;
|
|
871
|
+
}): JSX.Element;
|
|
872
|
+
|
|
873
|
+
export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
874
|
+
|
|
875
|
+
export declare function SidebarInput({ className, ...props }: React_2.ComponentProps<typeof Input>): JSX.Element;
|
|
876
|
+
|
|
877
|
+
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<"main">): JSX.Element;
|
|
878
|
+
|
|
879
|
+
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
880
|
+
|
|
881
|
+
export declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<"button"> & {
|
|
882
|
+
asChild?: boolean;
|
|
883
|
+
showOnHover?: boolean;
|
|
884
|
+
}): JSX.Element;
|
|
885
|
+
|
|
886
|
+
export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
887
|
+
|
|
888
|
+
export declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React_2.ComponentProps<"button"> & {
|
|
889
|
+
asChild?: boolean;
|
|
890
|
+
isActive?: boolean;
|
|
891
|
+
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
892
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
|
|
893
|
+
|
|
894
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
895
|
+
variant?: "default" | "outline" | null | undefined;
|
|
896
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
897
|
+
} & ClassProp) | undefined) => string;
|
|
898
|
+
|
|
899
|
+
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
900
|
+
|
|
901
|
+
export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<"div"> & {
|
|
902
|
+
showIcon?: boolean;
|
|
903
|
+
}): JSX.Element;
|
|
904
|
+
|
|
905
|
+
export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
906
|
+
|
|
907
|
+
export declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React_2.ComponentProps<"a"> & {
|
|
908
|
+
asChild?: boolean;
|
|
909
|
+
size?: "sm" | "md";
|
|
910
|
+
isActive?: boolean;
|
|
911
|
+
}): JSX.Element;
|
|
912
|
+
|
|
913
|
+
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
914
|
+
|
|
915
|
+
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
916
|
+
defaultOpen?: boolean;
|
|
917
|
+
open?: boolean;
|
|
918
|
+
onOpenChange?: (open: boolean) => void;
|
|
919
|
+
}): JSX.Element;
|
|
920
|
+
|
|
921
|
+
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<"button">): JSX.Element;
|
|
922
|
+
|
|
923
|
+
export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
924
|
+
|
|
925
|
+
export declare function SidebarTrigger({ className, onClick, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
926
|
+
|
|
927
|
+
declare const sizeMap: {
|
|
928
|
+
xs: number;
|
|
929
|
+
sm: number;
|
|
930
|
+
md: number;
|
|
931
|
+
lg: number;
|
|
932
|
+
xl: number;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
936
|
+
|
|
937
|
+
declare interface SourcePart {
|
|
938
|
+
type: "source";
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export declare function Switch({ className, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root>): JSX.Element;
|
|
942
|
+
|
|
943
|
+
export declare function Table({ className, ...props }: React_2.ComponentProps<"table">): JSX.Element;
|
|
944
|
+
|
|
945
|
+
export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
|
|
946
|
+
|
|
947
|
+
export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX.Element;
|
|
948
|
+
|
|
949
|
+
export declare function TableCell({ className, ...props }: React_2.ComponentProps<"td">): JSX.Element;
|
|
950
|
+
|
|
951
|
+
export declare function TableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): JSX.Element;
|
|
952
|
+
|
|
953
|
+
export declare function TableHead({ className, ...props }: React_2.ComponentProps<"th">): JSX.Element;
|
|
954
|
+
|
|
955
|
+
export declare function TableHeader({ className, ...props }: React_2.ComponentProps<"thead">): JSX.Element;
|
|
956
|
+
|
|
957
|
+
export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
958
|
+
|
|
959
|
+
export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): JSX.Element;
|
|
960
|
+
|
|
961
|
+
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX.Element;
|
|
962
|
+
|
|
963
|
+
export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.List>): JSX.Element;
|
|
964
|
+
|
|
965
|
+
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
|
|
966
|
+
|
|
967
|
+
export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
968
|
+
|
|
969
|
+
declare interface TextPart {
|
|
970
|
+
type: "text";
|
|
971
|
+
text: string;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
declare const THEMES: {
|
|
975
|
+
readonly light: "";
|
|
976
|
+
readonly dark: ".dark";
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
export declare const Toaster: ({ ...props }: ToasterProps) => JSX.Element;
|
|
980
|
+
|
|
981
|
+
export declare function Toggle({ className, variant, size, ...props }: React_2.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
982
|
+
|
|
983
|
+
export declare function ToggleGroup({ className, variant, size, children, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
984
|
+
|
|
985
|
+
export declare function ToggleGroupItem({ className, children, variant, size, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
986
|
+
|
|
987
|
+
export declare const toggleVariants: (props?: ({
|
|
988
|
+
variant?: "default" | "outline" | null | undefined;
|
|
989
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
990
|
+
} & ClassProp) | undefined) => string;
|
|
991
|
+
|
|
992
|
+
declare function ToolCall({ toolInvocations, }: Pick<ChatMessageProps, "toolInvocations">): JSX.Element | null;
|
|
993
|
+
|
|
994
|
+
declare interface ToolCall {
|
|
995
|
+
state: "call";
|
|
996
|
+
toolName: string;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
declare type ToolInvocation = PartialToolCall | ToolCall | ToolResult;
|
|
1000
|
+
|
|
1001
|
+
declare interface ToolInvocationPart {
|
|
1002
|
+
type: "tool-invocation";
|
|
1003
|
+
toolInvocation: ToolInvocation;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
declare interface ToolResult {
|
|
1007
|
+
state: "result";
|
|
1008
|
+
toolName: string;
|
|
1009
|
+
result: {
|
|
1010
|
+
__cancelled?: boolean;
|
|
1011
|
+
[key: string]: any;
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
|
|
1016
|
+
|
|
1017
|
+
export declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element;
|
|
1018
|
+
|
|
1019
|
+
export declare function TooltipProvider({ delayDuration, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Provider>): JSX.Element;
|
|
1020
|
+
|
|
1021
|
+
export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element;
|
|
1022
|
+
|
|
1023
|
+
export declare function TypingIndicator(): JSX.Element;
|
|
1024
|
+
|
|
1025
|
+
export declare function useAudioRecording({ transcribeAudio, onTranscriptionComplete, }: UseAudioRecordingOptions): {
|
|
1026
|
+
isListening: boolean;
|
|
1027
|
+
isSpeechSupported: boolean;
|
|
1028
|
+
isRecording: boolean;
|
|
1029
|
+
isTranscribing: boolean;
|
|
1030
|
+
audioStream: MediaStream | null;
|
|
1031
|
+
toggleListening: () => Promise<void>;
|
|
1032
|
+
stopRecording: () => Promise<void>;
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
declare interface UseAudioRecordingOptions {
|
|
1036
|
+
transcribeAudio?: (blob: Blob) => Promise<string>;
|
|
1037
|
+
onTranscriptionComplete?: (text: string) => void;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export declare function useAutoScroll(dependencies: React.DependencyList): {
|
|
1041
|
+
containerRef: RefObject<HTMLDivElement | null>;
|
|
1042
|
+
scrollToBottom: () => void;
|
|
1043
|
+
handleScroll: () => void;
|
|
1044
|
+
shouldAutoScroll: boolean;
|
|
1045
|
+
handleTouchStart: () => void;
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
export declare function useAutosizeTextArea({ ref, maxHeight, borderWidth, dependencies, }: UseAutosizeTextAreaProps): void;
|
|
1049
|
+
|
|
1050
|
+
declare interface UseAutosizeTextAreaProps {
|
|
1051
|
+
ref: React.RefObject<HTMLTextAreaElement>;
|
|
1052
|
+
maxHeight?: number;
|
|
1053
|
+
borderWidth?: number;
|
|
1054
|
+
dependencies: React.DependencyList;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
declare type UseCarouselParameters = Parameters<typeof default_2>;
|
|
1058
|
+
|
|
1059
|
+
export declare function useCopyToClipboard({ text, copyMessage, }: UseCopyToClipboardProps): {
|
|
1060
|
+
isCopied: boolean;
|
|
1061
|
+
handleCopy: () => void;
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
declare type UseCopyToClipboardProps = {
|
|
1065
|
+
text: string;
|
|
1066
|
+
copyMessage?: string;
|
|
1067
|
+
};
|
|
1068
|
+
|
|
1069
|
+
export declare function useDebounce<T>(value: T, delay: number): T;
|
|
1070
|
+
|
|
1071
|
+
export declare const useFormField: () => {
|
|
1072
|
+
invalid: boolean;
|
|
1073
|
+
isDirty: boolean;
|
|
1074
|
+
isTouched: boolean;
|
|
1075
|
+
isValidating: boolean;
|
|
1076
|
+
error?: FieldError;
|
|
1077
|
+
id: string;
|
|
1078
|
+
name: string;
|
|
1079
|
+
formItemId: string;
|
|
1080
|
+
formDescriptionId: string;
|
|
1081
|
+
formMessageId: string;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
export declare function useIsMobile(): boolean;
|
|
1085
|
+
|
|
1086
|
+
export declare function useSidebar(): SidebarContextProps;
|
|
1087
|
+
|
|
1088
|
+
export { }
|