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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as r } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
import * as s from "@radix-ui/react-progress";
|
|
4
|
+
import { cn as l } from "../../lib/utils.js";
|
|
5
|
+
function n({
|
|
6
|
+
className: o,
|
|
7
|
+
value: t,
|
|
8
|
+
...e
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ r.jsx(
|
|
11
|
+
s.Root,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "progress",
|
|
14
|
+
className: l(
|
|
15
|
+
"bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
|
|
16
|
+
o
|
|
17
|
+
),
|
|
18
|
+
...e,
|
|
19
|
+
children: /* @__PURE__ */ r.jsx(
|
|
20
|
+
s.Indicator,
|
|
21
|
+
{
|
|
22
|
+
"data-slot": "progress-indicator",
|
|
23
|
+
className: "bg-primary h-full w-full flex-1 transition-all",
|
|
24
|
+
style: { transform: `translateX(-${100 - (t || 0)}%)` }
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
n as Progress
|
|
32
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as e } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
function c({
|
|
4
|
+
label: t,
|
|
5
|
+
append: s,
|
|
6
|
+
suggestions: l
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-6 grow", children: [
|
|
9
|
+
/* @__PURE__ */ e.jsx("h2", { className: "text-center text-2xl font-bold", children: t }),
|
|
10
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex gap-6 text-sm", children: l.map((r) => /* @__PURE__ */ e.jsx(
|
|
11
|
+
"button",
|
|
12
|
+
{
|
|
13
|
+
onClick: () => s({ role: "user", content: r }),
|
|
14
|
+
className: "h-max flex-1 rounded-xl border bg-background p-4 hover:bg-muted",
|
|
15
|
+
children: /* @__PURE__ */ e.jsx("p", { children: r })
|
|
16
|
+
},
|
|
17
|
+
r
|
|
18
|
+
)) })
|
|
19
|
+
] });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
c as PromptSuggestions
|
|
23
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as r } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
import * as a from "@radix-ui/react-radio-group";
|
|
4
|
+
import { CircleIcon as t } from "lucide-react";
|
|
5
|
+
import { cn as e } from "../../lib/utils.js";
|
|
6
|
+
function l({
|
|
7
|
+
className: i,
|
|
8
|
+
...o
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ r.jsx(
|
|
11
|
+
a.Root,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "radio-group",
|
|
14
|
+
className: e("grid gap-3", i),
|
|
15
|
+
...o
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
function u({
|
|
20
|
+
className: i,
|
|
21
|
+
...o
|
|
22
|
+
}) {
|
|
23
|
+
return /* @__PURE__ */ r.jsx(
|
|
24
|
+
a.Item,
|
|
25
|
+
{
|
|
26
|
+
"data-slot": "radio-group-item",
|
|
27
|
+
className: e(
|
|
28
|
+
"border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
29
|
+
i
|
|
30
|
+
),
|
|
31
|
+
...o,
|
|
32
|
+
children: /* @__PURE__ */ r.jsx(
|
|
33
|
+
a.Indicator,
|
|
34
|
+
{
|
|
35
|
+
"data-slot": "radio-group-indicator",
|
|
36
|
+
className: "relative flex items-center justify-center",
|
|
37
|
+
children: /* @__PURE__ */ r.jsx(t, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
l as RadioGroup,
|
|
45
|
+
u as RadioGroupItem
|
|
46
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as a } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
import { GripVerticalIcon as n } from "lucide-react";
|
|
4
|
+
import * as t from "react-resizable-panels";
|
|
5
|
+
import { cn as i } from "../../lib/utils.js";
|
|
6
|
+
function d({
|
|
7
|
+
className: e,
|
|
8
|
+
...r
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ a.jsx(
|
|
11
|
+
t.PanelGroup,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "resizable-panel-group",
|
|
14
|
+
className: i(
|
|
15
|
+
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
16
|
+
e
|
|
17
|
+
),
|
|
18
|
+
...r
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
function f({
|
|
23
|
+
...e
|
|
24
|
+
}) {
|
|
25
|
+
return /* @__PURE__ */ a.jsx(t.Panel, { "data-slot": "resizable-panel", ...e });
|
|
26
|
+
}
|
|
27
|
+
function u({
|
|
28
|
+
withHandle: e,
|
|
29
|
+
className: r,
|
|
30
|
+
...l
|
|
31
|
+
}) {
|
|
32
|
+
return /* @__PURE__ */ a.jsx(
|
|
33
|
+
t.PanelResizeHandle,
|
|
34
|
+
{
|
|
35
|
+
"data-slot": "resizable-handle",
|
|
36
|
+
className: i(
|
|
37
|
+
"bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
38
|
+
r
|
|
39
|
+
),
|
|
40
|
+
...l,
|
|
41
|
+
children: e && /* @__PURE__ */ a.jsx("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border", children: /* @__PURE__ */ a.jsx(n, { className: "size-2.5" }) })
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
u as ResizableHandle,
|
|
47
|
+
f as ResizablePanel,
|
|
48
|
+
d as ResizablePanelGroup
|
|
49
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as r } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
import * as o from "@radix-ui/react-scroll-area";
|
|
4
|
+
import { cn as s } from "../../lib/utils.js";
|
|
5
|
+
function n({
|
|
6
|
+
className: e,
|
|
7
|
+
children: l,
|
|
8
|
+
...a
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ r.jsxs(
|
|
11
|
+
o.Root,
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "scroll-area",
|
|
14
|
+
className: s("relative", e),
|
|
15
|
+
...a,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ r.jsx(
|
|
18
|
+
o.Viewport,
|
|
19
|
+
{
|
|
20
|
+
"data-slot": "scroll-area-viewport",
|
|
21
|
+
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
22
|
+
children: l
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ r.jsx(t, {}),
|
|
26
|
+
/* @__PURE__ */ r.jsx(o.Corner, {})
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
function t({
|
|
32
|
+
className: e,
|
|
33
|
+
orientation: l = "vertical",
|
|
34
|
+
...a
|
|
35
|
+
}) {
|
|
36
|
+
return /* @__PURE__ */ r.jsx(
|
|
37
|
+
o.ScrollAreaScrollbar,
|
|
38
|
+
{
|
|
39
|
+
"data-slot": "scroll-area-scrollbar",
|
|
40
|
+
orientation: l,
|
|
41
|
+
className: s(
|
|
42
|
+
"flex touch-none p-px transition-colors select-none",
|
|
43
|
+
l === "vertical" && "h-full w-2.5 border-l border-l-transparent",
|
|
44
|
+
l === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
|
|
45
|
+
e
|
|
46
|
+
),
|
|
47
|
+
...a,
|
|
48
|
+
children: /* @__PURE__ */ r.jsx(
|
|
49
|
+
o.ScrollAreaThumb,
|
|
50
|
+
{
|
|
51
|
+
"data-slot": "scroll-area-thumb",
|
|
52
|
+
className: "bg-border relative flex-1 rounded-full"
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
n as ScrollArea,
|
|
60
|
+
t as ScrollBar
|
|
61
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as e } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
import * as i from "react";
|
|
4
|
+
import * as a from "@radix-ui/react-select";
|
|
5
|
+
import { ChevronDownIcon as d, CheckIcon as p, ChevronUpIcon as x } from "lucide-react";
|
|
6
|
+
import { cn as o } from "../../lib/utils.js";
|
|
7
|
+
import { Label as f } from "./label.js";
|
|
8
|
+
function y({
|
|
9
|
+
size: t = "default",
|
|
10
|
+
label: s,
|
|
11
|
+
labelClassName: r,
|
|
12
|
+
...n
|
|
13
|
+
}) {
|
|
14
|
+
const l = i.useId();
|
|
15
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-1.5", children: [
|
|
16
|
+
s && /* @__PURE__ */ e.jsx(
|
|
17
|
+
f,
|
|
18
|
+
{
|
|
19
|
+
htmlFor: l,
|
|
20
|
+
className: r,
|
|
21
|
+
children: s
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ e.jsx(c.Provider, { value: { size: t, id: l }, children: /* @__PURE__ */ e.jsx(a.Root, { "data-slot": "select", ...n }) })
|
|
25
|
+
] });
|
|
26
|
+
}
|
|
27
|
+
const c = i.createContext({ size: "default" }), g = () => i.useContext(c);
|
|
28
|
+
function S({
|
|
29
|
+
...t
|
|
30
|
+
}) {
|
|
31
|
+
return /* @__PURE__ */ e.jsx(a.Group, { "data-slot": "select-group", ...t });
|
|
32
|
+
}
|
|
33
|
+
function N({
|
|
34
|
+
...t
|
|
35
|
+
}) {
|
|
36
|
+
return /* @__PURE__ */ e.jsx(a.Value, { "data-slot": "select-value", ...t });
|
|
37
|
+
}
|
|
38
|
+
function C({
|
|
39
|
+
className: t,
|
|
40
|
+
size: s,
|
|
41
|
+
children: r,
|
|
42
|
+
...n
|
|
43
|
+
}) {
|
|
44
|
+
const { size: l, id: u } = g(), m = s || l;
|
|
45
|
+
return /* @__PURE__ */ e.jsxs(
|
|
46
|
+
a.Trigger,
|
|
47
|
+
{
|
|
48
|
+
id: u,
|
|
49
|
+
"data-slot": "select-trigger",
|
|
50
|
+
"data-size": m,
|
|
51
|
+
className: o(
|
|
52
|
+
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=default]:py-1 data-[size=default]:text-sm data-[size=sm]:h-8 data-[size=sm]:py-1 data-[size=sm]:text-xs data-[size=lg]:h-10 data-[size=lg]:py-2 data-[size=lg]:text-lg *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
53
|
+
t
|
|
54
|
+
),
|
|
55
|
+
...n,
|
|
56
|
+
children: [
|
|
57
|
+
r,
|
|
58
|
+
/* @__PURE__ */ e.jsx(a.Icon, { asChild: !0, children: /* @__PURE__ */ e.jsx(d, { className: "size-4 opacity-50" }) })
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
function I({
|
|
64
|
+
className: t,
|
|
65
|
+
children: s,
|
|
66
|
+
position: r = "popper",
|
|
67
|
+
...n
|
|
68
|
+
}) {
|
|
69
|
+
return /* @__PURE__ */ e.jsx(a.Portal, { children: /* @__PURE__ */ e.jsxs(
|
|
70
|
+
a.Content,
|
|
71
|
+
{
|
|
72
|
+
"data-slot": "select-content",
|
|
73
|
+
className: o(
|
|
74
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
|
|
75
|
+
r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
76
|
+
t
|
|
77
|
+
),
|
|
78
|
+
position: r,
|
|
79
|
+
...n,
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ e.jsx(h, {}),
|
|
82
|
+
/* @__PURE__ */ e.jsx(
|
|
83
|
+
a.Viewport,
|
|
84
|
+
{
|
|
85
|
+
className: o(
|
|
86
|
+
"p-1",
|
|
87
|
+
r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
|
|
88
|
+
),
|
|
89
|
+
children: s
|
|
90
|
+
}
|
|
91
|
+
),
|
|
92
|
+
/* @__PURE__ */ e.jsx(v, {})
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
) });
|
|
96
|
+
}
|
|
97
|
+
function _({
|
|
98
|
+
className: t,
|
|
99
|
+
...s
|
|
100
|
+
}) {
|
|
101
|
+
return /* @__PURE__ */ e.jsx(
|
|
102
|
+
a.Label,
|
|
103
|
+
{
|
|
104
|
+
"data-slot": "select-label",
|
|
105
|
+
className: o("text-muted-foreground px-2 py-1.5 text-xs", t),
|
|
106
|
+
...s
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
function k({
|
|
111
|
+
className: t,
|
|
112
|
+
children: s,
|
|
113
|
+
...r
|
|
114
|
+
}) {
|
|
115
|
+
return /* @__PURE__ */ e.jsxs(
|
|
116
|
+
a.Item,
|
|
117
|
+
{
|
|
118
|
+
"data-slot": "select-item",
|
|
119
|
+
className: o(
|
|
120
|
+
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
121
|
+
t
|
|
122
|
+
),
|
|
123
|
+
...r,
|
|
124
|
+
children: [
|
|
125
|
+
/* @__PURE__ */ e.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(a.ItemIndicator, { children: /* @__PURE__ */ e.jsx(p, { className: "size-4" }) }) }),
|
|
126
|
+
/* @__PURE__ */ e.jsx(a.ItemText, { children: s })
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
function B({
|
|
132
|
+
className: t,
|
|
133
|
+
...s
|
|
134
|
+
}) {
|
|
135
|
+
return /* @__PURE__ */ e.jsx(
|
|
136
|
+
a.Separator,
|
|
137
|
+
{
|
|
138
|
+
"data-slot": "select-separator",
|
|
139
|
+
className: o("bg-border pointer-events-none -mx-1 my-1 h-px", t),
|
|
140
|
+
...s
|
|
141
|
+
}
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
function h({
|
|
145
|
+
className: t,
|
|
146
|
+
...s
|
|
147
|
+
}) {
|
|
148
|
+
return /* @__PURE__ */ e.jsx(
|
|
149
|
+
a.ScrollUpButton,
|
|
150
|
+
{
|
|
151
|
+
"data-slot": "select-scroll-up-button",
|
|
152
|
+
className: o(
|
|
153
|
+
"flex cursor-default items-center justify-center py-1",
|
|
154
|
+
t
|
|
155
|
+
),
|
|
156
|
+
...s,
|
|
157
|
+
children: /* @__PURE__ */ e.jsx(x, { className: "size-4" })
|
|
158
|
+
}
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
function v({
|
|
162
|
+
className: t,
|
|
163
|
+
...s
|
|
164
|
+
}) {
|
|
165
|
+
return /* @__PURE__ */ e.jsx(
|
|
166
|
+
a.ScrollDownButton,
|
|
167
|
+
{
|
|
168
|
+
"data-slot": "select-scroll-down-button",
|
|
169
|
+
className: o(
|
|
170
|
+
"flex cursor-default items-center justify-center py-1",
|
|
171
|
+
t
|
|
172
|
+
),
|
|
173
|
+
...s,
|
|
174
|
+
children: /* @__PURE__ */ e.jsx(d, { className: "size-4" })
|
|
175
|
+
}
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
export {
|
|
179
|
+
y as Select,
|
|
180
|
+
I as SelectContent,
|
|
181
|
+
S as SelectGroup,
|
|
182
|
+
k as SelectItem,
|
|
183
|
+
_ as SelectLabel,
|
|
184
|
+
v as SelectScrollDownButton,
|
|
185
|
+
h as SelectScrollUpButton,
|
|
186
|
+
B as SelectSeparator,
|
|
187
|
+
C as SelectTrigger,
|
|
188
|
+
N as SelectValue
|
|
189
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as i } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
import * as e from "@radix-ui/react-separator";
|
|
4
|
+
import { cn as n } from "../../lib/utils.js";
|
|
5
|
+
function p({
|
|
6
|
+
className: t,
|
|
7
|
+
orientation: o = "horizontal",
|
|
8
|
+
decorative: r = !0,
|
|
9
|
+
...a
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ i.jsx(
|
|
12
|
+
e.Root,
|
|
13
|
+
{
|
|
14
|
+
"data-slot": "separator-root",
|
|
15
|
+
decorative: r,
|
|
16
|
+
orientation: o,
|
|
17
|
+
className: n(
|
|
18
|
+
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
19
|
+
t
|
|
20
|
+
),
|
|
21
|
+
...a
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
p as Separator
|
|
27
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as e } from "../../_virtual/jsx-runtime.js";
|
|
3
|
+
import * as a from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as i } from "lucide-react";
|
|
5
|
+
import { cn as s } from "../../lib/utils.js";
|
|
6
|
+
function m({ ...t }) {
|
|
7
|
+
return /* @__PURE__ */ e.jsx(a.Root, { "data-slot": "sheet", ...t });
|
|
8
|
+
}
|
|
9
|
+
function h({
|
|
10
|
+
...t
|
|
11
|
+
}) {
|
|
12
|
+
return /* @__PURE__ */ e.jsx(a.Trigger, { "data-slot": "sheet-trigger", ...t });
|
|
13
|
+
}
|
|
14
|
+
function l({
|
|
15
|
+
...t
|
|
16
|
+
}) {
|
|
17
|
+
return /* @__PURE__ */ e.jsx(a.Portal, { "data-slot": "sheet-portal", ...t });
|
|
18
|
+
}
|
|
19
|
+
function d({
|
|
20
|
+
className: t,
|
|
21
|
+
...o
|
|
22
|
+
}) {
|
|
23
|
+
return /* @__PURE__ */ e.jsx(
|
|
24
|
+
a.Overlay,
|
|
25
|
+
{
|
|
26
|
+
"data-slot": "sheet-overlay",
|
|
27
|
+
className: s(
|
|
28
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
29
|
+
t
|
|
30
|
+
),
|
|
31
|
+
...o
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
function p({
|
|
36
|
+
className: t,
|
|
37
|
+
children: o,
|
|
38
|
+
side: n = "right",
|
|
39
|
+
...r
|
|
40
|
+
}) {
|
|
41
|
+
return /* @__PURE__ */ e.jsxs(l, { children: [
|
|
42
|
+
/* @__PURE__ */ e.jsx(d, {}),
|
|
43
|
+
/* @__PURE__ */ e.jsxs(
|
|
44
|
+
a.Content,
|
|
45
|
+
{
|
|
46
|
+
"data-slot": "sheet-content",
|
|
47
|
+
className: s(
|
|
48
|
+
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
49
|
+
n === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
50
|
+
n === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
51
|
+
n === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
52
|
+
n === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
53
|
+
t
|
|
54
|
+
),
|
|
55
|
+
...r,
|
|
56
|
+
children: [
|
|
57
|
+
o,
|
|
58
|
+
/* @__PURE__ */ e.jsxs(a.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
59
|
+
/* @__PURE__ */ e.jsx(i, { className: "size-4" }),
|
|
60
|
+
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close" })
|
|
61
|
+
] })
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
] });
|
|
66
|
+
}
|
|
67
|
+
function x({ className: t, ...o }) {
|
|
68
|
+
return /* @__PURE__ */ e.jsx(
|
|
69
|
+
"div",
|
|
70
|
+
{
|
|
71
|
+
"data-slot": "sheet-header",
|
|
72
|
+
className: s("flex flex-col gap-1.5 p-4", t),
|
|
73
|
+
...o
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
function g({ className: t, ...o }) {
|
|
78
|
+
return /* @__PURE__ */ e.jsx(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
"data-slot": "sheet-footer",
|
|
82
|
+
className: s("mt-auto flex flex-col gap-2 p-4", t),
|
|
83
|
+
...o
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
function b({
|
|
88
|
+
className: t,
|
|
89
|
+
...o
|
|
90
|
+
}) {
|
|
91
|
+
return /* @__PURE__ */ e.jsx(
|
|
92
|
+
a.Title,
|
|
93
|
+
{
|
|
94
|
+
"data-slot": "sheet-title",
|
|
95
|
+
className: s("text-foreground font-semibold", t),
|
|
96
|
+
...o
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
function j({
|
|
101
|
+
className: t,
|
|
102
|
+
...o
|
|
103
|
+
}) {
|
|
104
|
+
return /* @__PURE__ */ e.jsx(
|
|
105
|
+
a.Description,
|
|
106
|
+
{
|
|
107
|
+
"data-slot": "sheet-description",
|
|
108
|
+
className: s("text-muted-foreground text-sm", t),
|
|
109
|
+
...o
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
export {
|
|
114
|
+
m as Sheet,
|
|
115
|
+
p as SheetContent,
|
|
116
|
+
j as SheetDescription,
|
|
117
|
+
g as SheetFooter,
|
|
118
|
+
x as SheetHeader,
|
|
119
|
+
b as SheetTitle,
|
|
120
|
+
h as SheetTrigger
|
|
121
|
+
};
|